From: Timo Heister Date: Wed, 5 Jun 2013 23:35:02 +0000 (+0000) Subject: fix test X-Git-Tag: v8.0.0~120^2~36 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d2f1b99a51a58b8648bca649da3784b8b1a3b3f;p=dealii.git fix test git-svn-id: https://svn.dealii.org/branches/branch_unify_linear_algebra@29777 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/gla/mat_02.cc b/tests/gla/mat_02.cc index 9c3f08a744..c3292fb59b 100644 --- a/tests/gla/mat_02.cc +++ b/tests/gla/mat_02.cc @@ -14,7 +14,7 @@ // create LA::MPI::SparseMatrix where one CPU has no DoFs -// this is a bug in PETScWrappers right now! +// this bug got fixed in PETScWrappers in r29776 #include "../tests.h" #include @@ -59,6 +59,8 @@ void test () mat.set(0,0,0.1); mat.set(1,1,0.1); + + MPI_Barrier(MPI_COMM_WORLD); mat.compress(VectorOperation::insert); diff --git a/tests/gla/mat_02/ncpu_2/cmp/generic b/tests/gla/mat_02/ncpu_2/cmp/generic index 88d363c606..8a5f9a6b39 100644 --- a/tests/gla/mat_02/ncpu_2/cmp/generic +++ b/tests/gla/mat_02/ncpu_2/cmp/generic @@ -1,11 +1,11 @@ -DEAL:0:PETSc::numproc=4 -DEAL:0:PETSc::0: 0 -DEAL:0:PETSc::1: 1.000 -DEAL:0:PETSc::0,1 : 4.000 +DEAL:0:PETSc::numproc=2 +DEAL:0:PETSc::1,1 : 0.100000 +DEAL:0:PETSc::0,1 : 2.00000 DEAL:0:PETSc::OK -DEAL:0:Trilinos::numproc=4 -DEAL:0:Trilinos::0: 0 -DEAL:0:Trilinos::1: 1.000 -DEAL:0:Trilinos::0,1 : 4.000 +DEAL:0:Trilinos::numproc=2 +DEAL:0:Trilinos::1,1 : 0.100000 +DEAL:0:Trilinos::0,1 : 2.00000 DEAL:0:Trilinos::OK + +