]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
update test
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 15 Feb 2013 05:23:40 +0000 (05:23 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 15 Feb 2013 05:23:40 +0000 (05:23 +0000)
git-svn-id: https://svn.dealii.org/trunk@28403 0785d39b-7218-0410-832d-ea1e28bc413d

tests/mpi/ghost_01.cc

index 6cc3258d989d22fc7b58e4e17103389df390421a..fed18c92fcaf8f7b6130976b708fa3d836555a65 100644 (file)
@@ -77,7 +77,7 @@ void test ()
 
 int main (int argc, char **argv)
 {
-  PetscInitialize(&argc,&argv,0,0);
+  Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv);
   unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
 
   deallog.push(Utilities::int_to_string(myid));
@@ -94,6 +94,4 @@ int main (int argc, char **argv)
     }
   else
     test();
-  
-  PetscFinalize();
 }

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.