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
committerIan Hinder <ian.hinder@aei.mpg.de>2012-04-28 19:55:36 +0200
commit1a79bb8b9a826ec29a1351642d398d764925e6d2 (patch)
treee68bff7563703b8706a66c18e34b3b41d670ed43 /Carpet/Carpet/param.ccl
parent213366afdfe9b676035e7997d8515dfef26015bc (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"