From 9b633d4cbcb0b67369fdfc06ac39fbd25bc32111 Mon Sep 17 00:00:00 2001 From: allen Date: Tue, 7 Mar 2000 13:10:56 +0000 Subject: 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 --- param.ccl | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'param.ccl') 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" +{ +.* +} "" -- cgit v1.2.3