From 1670d47759e17fa577f9941429786fb686c6f479 Mon Sep 17 00:00:00 2001 From: musson Date: Thu, 4 Aug 2005 18:35:07 +0000 Subject: [PATCH] MAX_MNODE_PER_JOB stuffs git-svn-id: svn://opensvn.adaptivecomputing.com/maui/trunk@17 3f5042e3-fb1d-0410-be18-d6ca2573e517 --- src/moab/MSched.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/moab/MSched.c b/src/moab/MSched.c index bbfb44d..c40dcab 100644 --- a/src/moab/MSched.c +++ b/src/moab/MSched.c @@ -6186,7 +6186,7 @@ int MJobDistributeTasks( for (nindex = 0;RQ->NodeList[nindex].N != NULL;nindex++) { - if (nindex >= MMAX_NODE_PER_JOB) + if (nindex >= MAX_MNODE_PER_JOB) break; MaxTPN = MAX(MaxTPN,RQ->NodeList[nindex].TC); @@ -6200,7 +6200,7 @@ int MJobDistributeTasks( for (nindex = 0;RQ->NodeList[nindex].N != NULL;nindex++) { - if (nindex >= MMAX_NODE_PER_JOB) + if (nindex >= MAX_MNODE_PER_JOB) break; if (Overflow == 0) @@ -6229,7 +6229,7 @@ int MJobDistributeTasks( for (nindex = 0;RQ->NodeList[nindex].N != NULL;nindex++) { - if (nindex >= MMAX_NODE_PER_JOB) + if (nindex >= MAX_MNODE_PER_JOB) break; if (index == RQ->NodeCount) @@ -6299,7 +6299,7 @@ int MJobDistributeTasks( for (nindex = sindex;RQ->NodeList[nindex].N != NULL;nindex++) { - if (nindex >= MMAX_NODE_PER_JOB) + if (nindex >= MAX_MNODE_PER_JOB) break; if ((int)RQ->NodeList[nindex].TC > MaxTPN) @@ -6326,7 +6326,7 @@ int MJobDistributeTasks( for (nindex = 0;nindex < AllocIndex;nindex++) { - if (nindex >= MMAX_NODE_PER_JOB) + if (nindex >= MAX_MNODE_PER_JOB) break; if (RQ->BlockingFactor != 1) @@ -6366,7 +6366,7 @@ int MJobDistributeTasks( for (nindex = AllocIndex - 1;nindex > 0;nindex--) { - if (nindex >= MMAX_NODE_PER_JOB) + if (nindex >= MAX_MNODE_PER_JOB) break; if (tmpNodeList[nindex].TC != tmpNodeList[nindex - 1].TC) @@ -6387,7 +6387,7 @@ int MJobDistributeTasks( for (nindex = AllocIndex - 1;nindex >= 0;nindex--) { - if (nindex >= MMAX_NODE_PER_JOB) + if (nindex >= MAX_MNODE_PER_JOB) break; tmpNodeList[nindex].TC--; @@ -6424,7 +6424,7 @@ int MJobDistributeTasks( for (nindex = 0;RQ->NodeList[nindex].N != NULL;nindex++) { - if (nindex >= MMAX_NODE_PER_JOB) + if (nindex >= MAX_MNODE_PER_JOB) break; if (RQ->NodeList[nindex].TC >= TPN) @@ -6456,7 +6456,7 @@ int MJobDistributeTasks( for (nindex = 0;RQ->NodeList[nindex].N != NULL;nindex++) { - if (nindex >= MMAX_NODE_PER_JOB) + if (nindex >= MAX_MNODE_PER_JOB) break; tmpNodeList[index].N = RQ->NodeList[nindex].N; @@ -6651,7 +6651,7 @@ int MJobDistributeTasks( for (nindex1 = 0;NodeList[nindex1].N != NULL;nindex1++) { - if (nindex >= MMAX_NODE_PER_JOB) + if (nindex >= MAX_MNODE_PER_JOB) break; if (NodeList[nindex1].TC == 0)