[SCore-users-jp] [SCore-users] PBS, MAUI, and SCore

James O'Dell James_ODell @ Brown.edu
2003年 4月 9日 (水) 00:14:39 JST


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);
  
 
_______________________________________________
SCore-users mailing list
SCore-users @ pccluster.org
http://www.pccluster.org/mailman/listinfo/score-users



SCore-users-jp メーリングリストの案内