[SCore-users] PBS, MAUI, and SCore

James O'Dell James_ODell at Brown.edu
Wed Apr 9 00:14:39 JST 2003


Maui Users:

I am trying to get Maui and PBS to properly schedule jobs for SCore (www.pccluster.org)
My main problem seems to be that SCore depends on some node properties that
MAUI doesn't pass on before trying to start the job. I made a fix as outlined below but
I don't believe that I have properly parsed NeedNodes in all of its full glory 
(4:ppn=2:score+2:ppn=4+1=ppn=8) Does the erst of Maui handle a full resource specification?
If so, is there a more elegant (and correct) way to do what I am trying to do below?

Thanks,
Jim

In file server/PBSI I make the following changes:

Declare:

char        *NodeAttributes;
   
Set NodeAttributes:

NodeAttributes = J->NeedNodes;
while (*NodeAttributes != '\0' && (*NodeAttributes == ':' ||
 isdigit(*NodeAttributes))) NodeAttributes++;
   DBG(7,fPBS) DPrint("NODE ATTRIBUTES: %s\n", NodeAttributes);
 
 
 Remove:
 
       /*    if (J->NodeList[tindex].TC == 1)
       {
 	MUStrCat(HostList,tmpHostName,sizeof(HostList));
       }
     else
       {
       sprintf(HostList,"%s%s:ppn=%d",
         HostList,
         tmpHostName,
         J->NodeList[tindex].TC);
 	} */
     }  /* END for (tindex) */

 
 and 
 
 Add
Affix Attributes to each node:

       sprintf(HostList,"%s%s", HostList, tmpHostName);
       if (*NodeAttributes != '\0') sprintf(HostList, "%s:%s", HostList,
 NodeAttributes);
  
 



More information about the SCore-users mailing list