diff options
author | tradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2006-08-03 11:41:58 +0000 |
---|---|---|
committer | tradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2006-08-03 11:41:58 +0000 |
commit | b0c513753be019934554b6dc3ff2e5d4de3a3f00 (patch) | |
tree | 2d8815c8ea5dc2fb5184aa133451b1a131d085f6 | |
parent | 76b3a2e2a78ca40cd12a97ff989bd61cdcf25ad3 (diff) |
Check that the user-specified the number of processors sums up to the total
number of processors available only for topology dimensions > 1.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@485 b61c5cb5-eaca-4651-9a7a-d64986f99364
-rw-r--r-- | src/Topology.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Topology.c b/src/Topology.c index 048140a..e9b5592 100644 --- a/src/Topology.c +++ b/src/Topology.c @@ -153,7 +153,7 @@ static int TraditionalTopology(int dim, /* if the user specified the number of processors for each dimension check that they sum up to the total number of processors available */ - if (dim > 0 && retval == 0 && free_dims == 0 && used_procs != total_procs) + if (dim > 1 && retval == 0 && free_dims == 0 && used_procs != total_procs) { CCTK_WARN(0, "Inconsistent PUGH topology"); } |