[cig-commits] [commit] devel: added a more precise comment about the new option BROADCAST_SAME_MESH_AND_MODEL (69d1a6f)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Sep 24 10:39:56 PDT 2014


Repository : https://github.com/geodynamics/specfem3d

On branch  : devel
Link       : https://github.com/geodynamics/specfem3d/compare/705302c37445c942b0bc92a6fb33dacb0db40336...69d1a6fe5d756c2d8d122dd4521d96ddd99b5671

>---------------------------------------------------------------

commit 69d1a6fe5d756c2d8d122dd4521d96ddd99b5671
Author: Dimitri Komatitsch <komatits at users.noreply.github.com>
Date:   Wed Sep 24 19:40:29 2014 +0200

    added a more precise comment about the new option BROADCAST_SAME_MESH_AND_MODEL


>---------------------------------------------------------------

69d1a6fe5d756c2d8d122dd4521d96ddd99b5671
 setup/constants.h.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/setup/constants.h.in b/setup/constants.h.in
index b2e21a6..7302d02 100644
--- a/setup/constants.h.in
+++ b/setup/constants.h.in
@@ -91,6 +91,9 @@
 !! DK DK runs for instance when solving inverse problems iteratively this can DRASTICALLY reduce I/Os to disk in the solver
 !! DK DK (by a factor equal to NUMBER_OF_SIMULTANEOUS_RUNS), and reducing I/Os is crucial in the case of huge runs.
 !! DK DK Thus, always set this option to .true. if the mesh and the model are the same for all simultaneous runs.
+!! DK DK In that case there is no need to duplicate the mesh and model file database (the content of the DATABASES_MPI
+!! DK DK directories) in each of the run0001, run0002,... directories, it is sufficient to have one in run0001
+!! DK DK and the code will broadcast it to the others)
   logical, parameter :: BROADCAST_SAME_MESH_AND_MODEL = .false.
 
 ! set to .false.  if running on a Beowulf-type machine with local disks



More information about the CIG-COMMITS mailing list