[Mauiusers] Patch for nodeaccespolicy SINGLEJOB and MAXPS for SMP machines

Bas van der Vlies basv at sara.nl
Mon Feb 14 09:45:06 MST 2005


At our side we run one job per nodes and have an MAXPS setting of 600 
hours and max walltime 120 hours. Our nodes have 2 processors. When the 
user submits
an job for eg:
   1) qsub -I -lnodes=60:ppn=1 -lwalltime=10:00:00 ( will run )
   2) qsub -I -lnodes=60:ppn=2 -lwalltime=10:00:00 ( wil not run MAXPS
                                                     violation)

Now when job 1 runs is allocates the whole node and maui sees that it 
oocupies 4 task ( 2 nodes and each node two cpu's = 4 tasks). So the 
used tme will becalculated as 60 * 2 * 10 = 1200 hours. What is far more 
then allowed!

The next example will only run one job instead of 2:
   qsub -I -lnodes=30:ppn=1 -lwalltime=10:00:00 ( will run )
   qsub -I -lnodes=30:ppn=1 -lwalltime=10:00:00 ( will not  run MAXPS
                                                  violation )

I have an patch that checks if NODEACCESSPOLICY SINGLEJOB is set. If so 
then it forgets the the cpu's per node.

--- PATCH attached --

-- 
--
********************************************************************
*                                                                  *
*  Bas van der Vlies                     e-mail: basv at sara.nl      *
*  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
*  Kruislaan 415                         fax:    +31 20 6683167    *
*  1098 SJ Amsterdam                                               *
*                                                                  *
********************************************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: single_job.patch
Type: text/x-patch
Size: 3852 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/mauiusers/attachments/20050214/4430abfe/single_job.bin


More information about the mauiusers mailing list