]> https://gitweb.dealii.org/ - dealii.git/commitdiff
No need to initialize MPI for a program that neither uses MPI nor Trilinos.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 9 Jan 2015 07:26:10 +0000 (01:26 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 9 Jan 2015 19:03:20 +0000 (13:03 -0600)
examples/step-44/step-44.cc

index 5e32942af65b6a9eaad481145edb8ab1ea3c7738..a5e4a0ee91d7b613bf00a0b1007f2a8293341df2 100644 (file)
@@ -1,6 +1,6 @@
 /* ---------------------------------------------------------------------
  *
- * Copyright (C) 2010 - 2013 by the deal.II authors and
+ * Copyright (C) 2010 - 2013, 2015 by the deal.II authors and
  *                              & Jean-Paul Pelteret and Andrew McBride
  *
  * This file is part of the deal.II library.
@@ -3166,14 +3166,11 @@ namespace Step44
 // @sect3{Main function}
 // Lastly we provide the main driver function which appears
 // no different to the other tutorials.
-int main (int argc, char *argv[])
+int main ()
 {
   using namespace dealii;
   using namespace Step44;
 
-  Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv,
-                                                       dealii::numbers::invalid_unsigned_int);
-
   try
     {
       deallog.depth_console(0);

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.