From: bangerth Date: Wed, 24 Jul 2013 18:23:20 +0000 (+0000) Subject: Do not execute tutorial programs with mpirun -np 2. It violates the element of least... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3c98ac6cbddbc85df7683e6a611d075dba0cb1a;p=dealii-svn.git Do not execute tutorial programs with mpirun -np 2. It violates the element of least surprise rule. git-svn-id: https://svn.dealii.org/trunk@30152 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/news/changes.h b/deal.II/doc/news/changes.h index 4d6d651461..e7a29282fd 100644 --- a/deal.II/doc/news/changes.h +++ b/deal.II/doc/news/changes.h @@ -44,6 +44,15 @@ inconvenience this causes.

Specific improvements

    +
  1. Fixed: When typing make run in the step-32 directory, + the program was executed with mpirun -np 2 ./step-32. This + assumes that a program mpirun exists, but also does that + deal.II was in fact compiled with MPI support on. Neither was intended. + This is now fixed. +
    + (Wolfgang Bangerth, 2013/07/24) +
  2. +
  3. New: The DataOut, DataOutFaces, and DataOutRotation classes now allow the output of data vectors using different DoFHandler objects (based on the same triangulation), by new functions add_data_vector. This is used in the diff --git a/deal.II/examples/step-32/CMakeLists.txt b/deal.II/examples/step-32/CMakeLists.txt index 4e68fdb217..7c2a49993b 100644 --- a/deal.II/examples/step-32/CMakeLists.txt +++ b/deal.II/examples/step-32/CMakeLists.txt @@ -11,9 +11,6 @@ SET(TARGET_SRC # You can specify additional files here! ) -# A custom command line to run the program -SET(TARGET_RUN mpirun -np 2 ${TARGET}) - # Define the output that should be cleaned: SET(CLEAN_UP_FILES *.vtu *.pvtu *.visit) diff --git a/deal.II/examples/step-42/CMakeLists.txt b/deal.II/examples/step-42/CMakeLists.txt index dc468213e4..dafd2369e9 100644 --- a/deal.II/examples/step-42/CMakeLists.txt +++ b/deal.II/examples/step-42/CMakeLists.txt @@ -11,9 +11,6 @@ SET(TARGET_SRC # You can specify additional files here! ) -# A custom command line to run the program -SET(TARGET_RUN mpirun -np 2 ${TARGET}) - # Define the output that should be cleaned: SET(CLEAN_UP_FILES *.vtu *.pvtu *.visit) diff --git a/deal.II/examples/step-50/CMakeLists.txt b/deal.II/examples/step-50/CMakeLists.txt index babcd817e0..b8a02313a8 100644 --- a/deal.II/examples/step-50/CMakeLists.txt +++ b/deal.II/examples/step-50/CMakeLists.txt @@ -11,9 +11,6 @@ SET(TARGET_SRC # You can specify additional files here! ) -# A custom command line to run the program -SET(TARGET_RUN mpirun -np 2 ${TARGET}) - # Define the output that should be cleaned: SET(CLEAN_UP_FILES *.vtu *.pvtu *.visit)