aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/param.ccl
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2012-04-28 19:55:36 +0200
committerBarry Wardell <barry.wardell@gmail.com>2012-09-11 18:23:15 +0100
commit0f599eb6bee8949ca356186dbbbdf7623902052e (patch)
treed26bf67ae0652bfdd0e22957f01ed7f6d0fa580a /Carpet/Carpet/param.ccl
parent4e8d66f62882f5f3596d8f10762d6ac399d86ef1 (diff)
Add parameter sync_barriers to insert an MPI barrier before every sync
This causes each process to wait for all the others to reach this point in the execution. This will happen anyway (for most of the processes) during the sync, and adding this barrier means that this time is not included in the sync timer. Also add a new timer to time this barrier.
Diffstat (limited to 'Carpet/Carpet/param.ccl')
-rw-r--r--Carpet/Carpet/param.ccl4
1 files changed, 4 insertions, 0 deletions
diff --git a/Carpet/Carpet/param.ccl b/Carpet/Carpet/param.ccl
index c681072ca..5970b688e 100644
--- a/Carpet/Carpet/param.ccl
+++ b/Carpet/Carpet/param.ccl
@@ -353,6 +353,10 @@ BOOLEAN schedule_barriers "Insert barriers between scheduled items, so that time
{
} "no"
+BOOLEAN sync_barriers "Insert barriers before syncs, so that the sync timer is more reliable" STEERABLE=always
+{
+} "no"
+
BOOLEAN output_internal_data "Periodically print internal data to the screen for debugging purposes"
{
} "no"