aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
authorallen <allen@b61c5cb5-eaca-4651-9a7a-d64986f99364>2000-03-07 13:10:56 +0000
committerallen <allen@b61c5cb5-eaca-4651-9a7a-d64986f99364>2000-03-07 13:10:56 +0000
commit9b633d4cbcb0b67369fdfc06ac39fbd25bc32111 (patch)
tree486c31360429aca5b15a2a00b1a6cb4b403c69d2 /param.ccl
parentf5ece95737b176d55fa7d62bdb8729e140975ea0 (diff)
Load balancing grid decomposition for PUGH.
Contributed by Matei Ripeneau Here are his notes (hopefully there will soon be PUGH docs to add them to): 1. Purpose Allow manual (user specified) grid partitioning 2. Parameters I've added the following parameters to ./PUGH/param.ccl KEYWORD partition "Is the partition manual/automatic" { "automatic" :: "even implicit partition" "manual" :: "specified by partition_#d_XYZ .." } "automatic" STRING partition_1d_X "Tells how to partition on direction X" ... STRING partition_2d_X "Tells how to partition on direction X" ... STRING partition_2d_Y "Tells how to partition on direction Y" ... STRING partition_3d_X "Tells how to partition on direction X" ... STRING partition_3d_Y "Tells how to partition on direction Y" ... STRING partition_3d_Z "Tells how to partition on direction Z" ... (all these strings have default "") How to specify a manual partition? Simpler to explain using an example: partitioning a grid space with 30 x 30 x 30 points for a configuration with 8 processors can be specified as: PUGH::partition = "manual" PUGH::partition_1d_X = "" // uses default PUGH::partition_2d_X = "16:14" PUGH::partition_2d_Y = "7:9:5:9" PUGH::partition_3d_X = "16:14" PUGH::partition_3d_Y = "12:18" PUGH::partition_3d_Z = "17:13" Even if PUGH::partition = "manual" an empty string like PUGH::partition_1d_X = "" will lead to default (even) partition on that direction git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@174 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'param.ccl')
-rw-r--r--param.ccl35
1 files changed, 35 insertions, 0 deletions
diff --git a/param.ccl b/param.ccl
index d4d9db7..66e7751 100644
--- a/param.ccl
+++ b/param.ccl
@@ -159,3 +159,38 @@ BOOLEAN zero_memory "Zero memory for GF's at allocation time ?"
} yes
+KEYWORD partition "Is the partition manual"
+{
+ "automatic" :: "even"
+ "manual" :: "specified by partition_XYZ .."
+} "automatic"
+
+STRING partition_1d_X "Tells how to partition on direction X"
+{
+.*
+} ""
+
+STRING partition_2d_X "Tells how to partition on direction X"
+{
+.*
+} ""
+
+STRING partition_2d_Y "Tells how to partition on direction X"
+{
+.*
+} ""
+
+STRING partition_3d_X "Tells how to partition on direction X"
+{
+.*
+} ""
+
+STRING partition_3d_Y "Tells how to partition on direction X"
+{
+.*
+} ""
+
+STRING partition_3d_Z "Tells how to partition on direction X"
+{
+.*
+} ""