[cig-commits] [commit] devel: committed a change I had forgotten to make in my previous commit (a4d3a42)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Tue Sep 23 16:17:45 PDT 2014
Repository : https://github.com/geodynamics/specfem3d
On branch : devel
Link : https://github.com/geodynamics/specfem3d/compare/f69391023886e2173d4e185197e649e04b9580f0...a4d3a420ff47e8ba4905b2df3d6c59ee91e129bf
>---------------------------------------------------------------
commit a4d3a420ff47e8ba4905b2df3d6c59ee91e129bf
Author: Dimitri Komatitsch <komatitsch at lma.cnrs-mrs.fr>
Date: Wed Sep 24 01:10:15 2014 +0200
committed a change I had forgotten to make in my previous commit
>---------------------------------------------------------------
a4d3a420ff47e8ba4905b2df3d6c59ee91e129bf
setup/constants.h.in | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/setup/constants.h.in b/setup/constants.h.in
index f43bd86..b2e21a6 100644
--- a/setup/constants.h.in
+++ b/setup/constants.h.in
@@ -85,6 +85,14 @@
!!
integer, parameter :: NUMBER_OF_SIMULTANEOUS_RUNS = 1
+!! DK DK if we perform simultaneous runs in parallel, in only the source and receivers vary between these runs
+!! DK DK but not the mesh nor the model (velocity and density) then we can also read the mesh and model files
+!! DK DK from a single run in the beginning and broadcast them to all the others; for a large number of simultaneous
+!! 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.
+ logical, parameter :: BROADCAST_SAME_MESH_AND_MODEL = .false.
+
! set to .false. if running on a Beowulf-type machine with local disks
! set to .true. if running on a shared-memory machine with common file system
! if running on a Beowulf, also modify name of nodes in filter_machine_file.f90
More information about the CIG-COMMITS
mailing list