]> https://gitweb.dealii.org/ - dealii.git/commitdiff
do not print-out iteration counts for GHEP SLEPc unit tests 2097/head
authorDenis Davydov <davydden@gmail.com>
Thu, 21 Jan 2016 21:15:48 +0000 (22:15 +0100)
committerDenis Davydov <davydden@gmail.com>
Fri, 22 Jan 2016 07:36:39 +0000 (08:36 +0100)
tests/slepc/solve_01.cc
tests/slepc/solve_01.output
tests/slepc/solve_01.output.2 [deleted file]
tests/slepc/step-36_parallel.cc
tests/slepc/step-36_parallel.with_mpi=true.with_petsc=true.with_slepc=true.mpirun=3.output
tests/slepc/step-36_parallel.with_mpi=true.with_petsc=true.with_slepc=true.mpirun=3.output.2 [deleted file]
tests/slepc/step-36_parallel.with_mpi=true.with_petsc=true.with_slepc=true.mpirun=3.output.3 [deleted file]

index eaacd3949c6f01fbd50796a5652015ba4651ac57..93bcc4277afe8e51b305a9814e5027ef4b6fcd7d 100644 (file)
@@ -62,8 +62,10 @@ check_solve( SolverType &solver,
       deallog << "Exception: " << e.get_exc_name() << std::endl;
     }
 
-  deallog << "Solver stopped after " << solver_control.last_step()
-          << " iterations" << std::endl;
+  // TODO make this robust on different platforms. Seems related to GHEP
+  // as solve_04 works ok.
+  //deallog << "Solver stopped after " << solver_control.last_step()
+  //        << " iterations" << std::endl;
 
   deallog << "Eigenvalues:";
   for (unsigned int i = 0; i < v.size(); i++)
index 9208eccc98929852ea605b20663cf3646b9300af..b84705831f916566fde1e83a27ee4e53cc329c9c 100644 (file)
@@ -2,26 +2,20 @@
 DEAL::Size 46 Unknowns 2025
 DEAL::
 DEAL::Solver type: N6dealii13SLEPcWrappers17SolverKrylovSchurE
-DEAL::Solver stopped after 18 iterations
 DEAL::Eigenvalues: 29.73524, 29.67536, 29.58873, 29.46785
 DEAL::
 DEAL::Solver type: N6dealii13SLEPcWrappers13SolverArnoldiE
-DEAL::Solver stopped after 63 iterations
 DEAL::Eigenvalues: 29.73524, 29.67536, 29.58873, 29.46785
 DEAL::
 DEAL::Solver type: N6dealii13SLEPcWrappers13SolverLanczosE
-DEAL::Solver stopped after 60 iterations
 DEAL::Eigenvalues: 29.73524, 29.67536, 29.58873, 29.46785
 DEAL::
 DEAL::Solver type: N6dealii13SLEPcWrappers25SolverGeneralizedDavidsonE
-DEAL::Solver stopped after 334 iterations
 DEAL::Eigenvalues: 29.73524, 29.67536, 29.58873, 29.46785
 DEAL::
 DEAL::Solver type: N6dealii13SLEPcWrappers25SolverGeneralizedDavidsonE
-DEAL::Solver stopped after 504 iterations
 DEAL::Eigenvalues: 29.73524, 29.67536, 29.58873, 29.46785
 DEAL::
 DEAL::Solver type: N6dealii13SLEPcWrappers20SolverJacobiDavidsonE
-DEAL::Solver stopped after 58 iterations
 DEAL::Eigenvalues: 29.73524, 29.67536, 29.58873, 29.46785
 DEAL::
diff --git a/tests/slepc/solve_01.output.2 b/tests/slepc/solve_01.output.2
deleted file mode 100644 (file)
index 3108abf..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-
-DEAL::Size 46 Unknowns 2025
-DEAL::
-DEAL::Solver type: N6dealii13SLEPcWrappers17SolverKrylovSchurE
-DEAL::Solver stopped after 18 iterations
-DEAL::Eigenvalues: 29.73524, 29.67536, 29.58873, 29.46785
-DEAL::
-DEAL::Solver type: N6dealii13SLEPcWrappers13SolverArnoldiE
-DEAL::Solver stopped after 61 iterations
-DEAL::Eigenvalues: 29.73524, 29.67536, 29.58873, 29.46785
-DEAL::
-DEAL::Solver type: N6dealii13SLEPcWrappers13SolverLanczosE
-DEAL::Solver stopped after 60 iterations
-DEAL::Eigenvalues: 29.73524, 29.67536, 29.58873, 29.46785
-DEAL::
-DEAL::Solver type: N6dealii13SLEPcWrappers25SolverGeneralizedDavidsonE
-DEAL::Solver stopped after 334 iterations
-DEAL::Eigenvalues: 29.73524, 29.67536, 29.58873, 29.46785
-DEAL::
-DEAL::Solver type: N6dealii13SLEPcWrappers25SolverGeneralizedDavidsonE
-DEAL::Solver stopped after 504 iterations
-DEAL::Eigenvalues: 29.73524, 29.67536, 29.58873, 29.46785
-DEAL::
-DEAL::Solver type: N6dealii13SLEPcWrappers20SolverJacobiDavidsonE
-DEAL::Solver stopped after 58 iterations
-DEAL::Eigenvalues: 29.73524, 29.67536, 29.58873, 29.46785
-DEAL::
index c7764521db42a88b86395794e4da37e311eb1cef..beb9b3b0665492c150c71e7505ea748a7ff89499 100644 (file)
@@ -283,8 +283,10 @@ void test (std::string solver_name,
                         eigenfunctions,
                         eigenfunctions.size());
 
-    dealii::deallog << "outer iterations: "<< solver_control.last_step ()<<std::endl;
-    dealii::deallog << "last inner iterations: "<<linear_solver_control.last_step()<<std::endl;
+    // TODO make this robust on different platforms. Seems related to GHEP
+    // as solve_04 works ok.
+    //dealii::deallog << "outer iterations: "<< solver_control.last_step ()<<std::endl;
+    //dealii::deallog << "last inner iterations: "<<linear_solver_control.last_step()<<std::endl;
     for (unsigned int i=0; i < eigenvalues.size(); i++)
       dealii::deallog << eigenvalues[i] << std::endl;
 
index 0b44ab8366e8cf0b5f0c3ac9f1ba687e72438959..74b097ad40d16e9e824e020e1257703afb699304 100644 (file)
@@ -1,7 +1,5 @@
 DEAL::Jacobi
 DEAL::KrylovSchur
-DEAL::outer iterations: 3
-DEAL::last inner iterations: 33
 DEAL::4.93877
 DEAL::12.3707
 DEAL::12.3707
@@ -10,8 +8,6 @@ DEAL::24.8370
 DEAL::Ok
 DEAL::BlockJacobi
 DEAL::KrylovSchur
-DEAL::outer iterations: 3
-DEAL::last inner iterations: 58
 DEAL::4.93877
 DEAL::12.3707
 DEAL::12.3707
@@ -20,8 +16,6 @@ DEAL::24.8370
 DEAL::Ok
 DEAL::Boomer
 DEAL::KrylovSchur
-DEAL::outer iterations: 3
-DEAL::last inner iterations: 13
 DEAL::4.93877
 DEAL::12.3707
 DEAL::12.3707
diff --git a/tests/slepc/step-36_parallel.with_mpi=true.with_petsc=true.with_slepc=true.mpirun=3.output.2 b/tests/slepc/step-36_parallel.with_mpi=true.with_petsc=true.with_slepc=true.mpirun=3.output.2
deleted file mode 100644 (file)
index fa3f55b..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-DEAL::Jacobi
-DEAL::KrylovSchur
-DEAL::outer iterations: 3
-DEAL::last inner iterations: 28
-DEAL::4.93877
-DEAL::12.3707
-DEAL::12.3707
-DEAL::19.8027
-DEAL::24.8370
-DEAL::Ok
-DEAL::BlockJacobi
-DEAL::KrylovSchur
-DEAL::outer iterations: 3
-DEAL::last inner iterations: 58
-DEAL::4.93877
-DEAL::12.3707
-DEAL::12.3707
-DEAL::19.8027
-DEAL::24.8370
-DEAL::Ok
-DEAL::Boomer
-DEAL::KrylovSchur
-DEAL::outer iterations: 2
-DEAL::last inner iterations: 13
-DEAL::4.93877
-DEAL::12.3707
-DEAL::12.3707
-DEAL::19.8027
-DEAL::24.8370
-DEAL::Ok
\ No newline at end of file
diff --git a/tests/slepc/step-36_parallel.with_mpi=true.with_petsc=true.with_slepc=true.mpirun=3.output.3 b/tests/slepc/step-36_parallel.with_mpi=true.with_petsc=true.with_slepc=true.mpirun=3.output.3
deleted file mode 100644 (file)
index 196810f..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-DEAL::Jacobi
-DEAL::KrylovSchur
-DEAL::outer iterations: 2
-DEAL::last inner iterations: 35
-DEAL::4.93877
-DEAL::12.3707
-DEAL::12.3707
-DEAL::19.8027
-DEAL::24.8370
-DEAL::Ok
-DEAL::BlockJacobi
-DEAL::KrylovSchur
-DEAL::outer iterations: 2
-DEAL::last inner iterations: 57
-DEAL::4.93877
-DEAL::12.3707
-DEAL::12.3707
-DEAL::19.8027
-DEAL::24.8370
-DEAL::Ok
-DEAL::Boomer
-DEAL::KrylovSchur
-DEAL::outer iterations: 2
-DEAL::last inner iterations: 13
-DEAL::4.93877
-DEAL::12.3707
-DEAL::12.3707
-DEAL::19.8027
-DEAL::24.8370
-DEAL::Ok

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.