aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
authorrhaas <rhaas@40f6ab95-0e4f-0410-8daa-ee8d7420be1d>2012-08-24 15:35:29 +0000
committerrhaas <rhaas@40f6ab95-0e4f-0410-8daa-ee8d7420be1d>2012-08-24 15:35:29 +0000
commit2bdeee53593aabd2aae95c03bd0326a267068405 (patch)
treec8740d29feb376b8a135e5e6c265d17b7da7d3f7 /param.ccl
parent780a156ce1e151ee0115bc2378028e73445ec36f (diff)
do not attempt reductions in local mode unless auto_res[n] is setHEADsvnmaster
currently SphericalSurface_SetupRes will attempt a reduction in local mode even if all auto_res values are false, ie if there are no spheres whose resolution is to be set automatically. This causes MPI hangs if different processors own different numbers of components, as produced by the recursive load balancer and carpet::same_number_of_components_on_each_process = false (true by default but might change). This patch ameliorates the situation by only attempting a reduction if auto_res[n] is set, thus at least allowing SphericalSurface to be used when all ntheta, nphi are giving explicitly. It also adds a comment warning about auto_res. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/SphericalSurface/trunk@51 40f6ab95-0e4f-0410-8daa-ee8d7420be1d
Diffstat (limited to 'param.ccl')
-rw-r--r--param.ccl2
1 files changed, 2 insertions, 0 deletions
diff --git a/param.ccl b/param.ccl
index 4217adf..231cb0b 100644
--- a/param.ccl
+++ b/param.ccl
@@ -19,6 +19,8 @@ CCTK_STRING name[42] "User friendly name of spherical surface" STEERABLE=always
} ""
+# Warning: this will MPI hang when the number of components per refinement
+# level differs between processors
BOOLEAN auto_res[42] "Automatically determine resolution according to radius and Cartesian resolution"
{
} no