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 /src/make.code.defn | |
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 'src/make.code.defn')
-rw-r--r-- | src/make.code.defn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/make.code.defn b/src/make.code.defn index fd3c2c3..30f1c6c 100644 --- a/src/make.code.defn +++ b/src/make.code.defn @@ -1,7 +1,7 @@ # Main make.code.defn file for thorn pugh # : /usr/users/cactus/CCTK/lib/make/new_thorn.pl,v 1.1 1999/02/03 17:00:50 goodale Exp n # Source files in this directory -SRCS = pugh_BoundingBox.c pugh_ProcTop.c Startup.c GHExtension.c Comm.c SetupPGH.c SetupGroup.c SetupPGF.c pGF_PostSend.c pGF_PostRecv.c pGF_FinishRecv.c Reduction.c PughUtils.c SetupPGV.c PostSendGA.c PostReceiveGA.c FinishReceiveGA.c +SRCS = pugh_BoundingBox.c pugh_ProcTop.c Startup.c GHExtension.c Comm.c SetupPGH.c SetupGroup.c SetupPGF.c pGF_PostSend.c pGF_PostRecv.c pGF_FinishRecv.c Reduction.c PughUtils.c SetupPGV.c PostSendGA.c PostReceiveGA.c FinishReceiveGA.c LoadAware.c # Subdirectories containing source files SUBDIRS = |