aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364>2004-04-29 22:20:31 +0000
committertradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364>2004-04-29 22:20:31 +0000
commit2f928fc2c89ce8946fc2300f97a9412530540d55 (patch)
treef84bc81d471ce51b6d8f0d7dbfef187dbf1724cc
parenta702d706f668d927dfac0e817f538b0bb09536d8 (diff)
Apply manual topology settings also to the distribution of grid arrays.
This fixes PR CactusPUGH/1661: "the manual processor topology settings are not respected for a 3D array." git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@437 b61c5cb5-eaca-4651-9a7a-d64986f99364
-rw-r--r--src/SetupGroup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SetupGroup.c b/src/SetupGroup.c
index cb2e969..19b8752 100644
--- a/src/SetupGroup.c
+++ b/src/SetupGroup.c
@@ -140,6 +140,8 @@ static int PUGH_SetupGAGroup (pGH *newGH,
CCTK_WARN (0, "Memory allocation error in PUGH_SetupGAGroup");
}
+ PUGH_SetupDefaultTopology (dim, nprocs);
+
/* Check that there are enough grid points in this dimension
* to make parallelising it worthwhile
*/