From: kronbichler Date: Tue, 7 May 2013 19:34:21 +0000 (+0000) Subject: Different BLAS versions apparently produce different stopping residuals with Bicgstab... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d39e5d61738b6d8befe28f39e39b2f7f22984d2;p=dealii-svn.git Different BLAS versions apparently produce different stopping residuals with Bicgstab. Use tighter tolerance. git-svn-id: https://svn.dealii.org/trunk@29478 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/petsc/deal_solver_02.cc b/tests/petsc/deal_solver_02.cc index 664815a62e..84d275611c 100644 --- a/tests/petsc/deal_solver_02.cc +++ b/tests/petsc/deal_solver_02.cc @@ -69,7 +69,7 @@ int main(int argc, char **argv) Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1); { - SolverControl control(100, 1.e-3); + SolverControl control(100, 1.e-10); const unsigned int size = 32; unsigned int dim = (size-1)*(size-1); diff --git a/tests/petsc/deal_solver_02/cmp/generic b/tests/petsc/deal_solver_02/cmp/generic index d79a37c605..cd4f267710 100644 --- a/tests/petsc/deal_solver_02/cmp/generic +++ b/tests/petsc/deal_solver_02/cmp/generic @@ -2,5 +2,5 @@ DEAL::Size 32 Unknowns 961 DEAL::Solver type: N6dealii14SolverBicgstabINS_13PETScWrappers6VectorEEE DEAL:Bicgstab::Starting value 31.00 -DEAL:Bicgstab::Convergence step 35 value 0.0005391 -DEAL::Solver stopped after 35 iterations +DEAL:Bicgstab::Convergence step 50 value 0 +DEAL::Solver stopped after 50 iterations diff --git a/tests/trilinos/deal_solver_02.cc b/tests/trilinos/deal_solver_02.cc index f294c944b8..bb75c1b9af 100644 --- a/tests/trilinos/deal_solver_02.cc +++ b/tests/trilinos/deal_solver_02.cc @@ -72,7 +72,7 @@ int main(int argc, char **argv) { - SolverControl control(200, 1.e-3); + SolverControl control(200, 1.e-10); const unsigned int size = 32; unsigned int dim = (size-1)*(size-1); diff --git a/tests/trilinos/deal_solver_02/cmp/generic b/tests/trilinos/deal_solver_02/cmp/generic index 9bead2f43a..a60db791fb 100644 --- a/tests/trilinos/deal_solver_02/cmp/generic +++ b/tests/trilinos/deal_solver_02/cmp/generic @@ -2,5 +2,5 @@ DEAL::Size 32 Unknowns 961 DEAL::Solver type: N6dealii14SolverBicgstabINS_16TrilinosWrappers6VectorEEE DEAL:Bicgstab::Starting value 31.00 -DEAL:Bicgstab::Convergence step 35 value 0.0005391 -DEAL::Solver stopped after 35 iterations +DEAL:Bicgstab::Convergence step 50 value 0 +DEAL::Solver stopped after 50 iterations