]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Don't throw an exception recommanding to use mpirun -np 1 in the tutorials. 883/head
authorBruno Turcksin <bruno.turcksin@gmail.com>
Tue, 5 May 2015 18:57:33 +0000 (13:57 -0500)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Tue, 5 May 2015 19:17:30 +0000 (14:17 -0500)
examples/step-31/step-31.cc
examples/step-36/step-36.cc
examples/step-41/step-41.cc
examples/step-43/step-43.cc
include/deal.II/lac/trilinos_vector.h

index be44f33ef529928db6b5912a84aa364ec078c1a1..697e36439b0c799fd3d0c8bd4da5a76eac0bcd44 100644 (file)
@@ -2215,7 +2215,7 @@ int main (int argc, char *argv[])
 
       // This program can only be run in serial. Otherwise, throw an exception.
       AssertThrow(Utilities::MPI::n_mpi_processes(MPI_COMM_WORLD)==1,
-                  ExcMessage("This program can only be run in serial, use mpirun -np 1 ./step-31"));
+                  ExcMessage("This program can only be run in serial, use ./step-31"));
 
       BoussinesqFlowProblem<2> flow_problem;
       flow_problem.run ();
index 8456556e0868401fcc46b61d69bbcc6b6d74e36a..7482a29c15d03566aa34bac3148a2fbeae0ec5a6 100644 (file)
@@ -481,7 +481,7 @@ int main (int argc, char **argv)
 
       // This program can only be run in serial. Otherwise, throw an exception.
       AssertThrow(Utilities::MPI::n_mpi_processes(MPI_COMM_WORLD)==1,
-                  ExcMessage("This program can only be run in serial, use mpirun -np 1 ./step-36"));
+                  ExcMessage("This program can only be run in serial, use ./step-36"));
 
       {
         deallog.depth_console (0);
index 842d38f2ca8cb3a701153db1f5a1c37653150bcf..cc804370d95192df9eb3921b102c6aed992defb5 100644 (file)
@@ -674,7 +674,7 @@ int main (int argc, char *argv[])
 
       // This program can only be run in serial. Otherwise, throw an exception.
       AssertThrow(Utilities::MPI::n_mpi_processes(MPI_COMM_WORLD)==1,
-                  ExcMessage("This program can only be run in serial, use mpirun -np 1 ./step-41"));
+                  ExcMessage("This program can only be run in serial, use ./step-41"));
 
       ObstacleProblem<2> obstacle_problem;
       obstacle_problem.run ();
index d17e8db85b0091e7e5bdf8813580d979be2df95c..8fc3d5b1128b7caea60044dd85cb98700d72eeb0 100644 (file)
@@ -2253,7 +2253,7 @@ int main (int argc, char *argv[])
 
       // This program can only be run in serial. Otherwise, throw an exception.
       AssertThrow(Utilities::MPI::n_mpi_processes(MPI_COMM_WORLD)==1,
-                  ExcMessage("This program can only be run in serial, use mpirun -np 1 ./step-43"));
+                  ExcMessage("This program can only be run in serial, use ./step-43"));
 
       TwoPhaseFlowProblem<2> two_phase_flow_problem(1);
       two_phase_flow_problem.run ();
index c02d502127b97ac36d9086a5da7639090d836343..9571613ddb4a7c6326ab953be74afdbc3f1a0a10 100644 (file)
@@ -757,7 +757,7 @@ namespace TrilinosWrappers
      * ignored, the only thing that matters is the size of the index space
      * described by this argument.
      */
-    explicit Vector (Const Epetra_Map &partitioning) DEAL_II_DEPRECATED;
+    explicit Vector (const Epetra_Map &partitioning) DEAL_II_DEPRECATED;
 
     /**
      * This constructor takes as input the number of elements in the vector.

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.