diff options
author | allen <allen@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2000-03-07 13:10:56 +0000 |
---|---|---|
committer | allen <allen@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2000-03-07 13:10:56 +0000 |
commit | 9b633d4cbcb0b67369fdfc06ac39fbd25bc32111 (patch) | |
tree | 486c31360429aca5b15a2a00b1a6cb4b403c69d2 /param.ccl | |
parent | f5ece95737b176d55fa7d62bdb8729e140975ea0 (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.ccl | 35 |
1 files changed, 35 insertions, 0 deletions
@@ -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" +{ +.* +} "" |