[Mauiusers] Patch for nodeaccespolicy SINGLEJOB and MAXPS for SMPmachines

Bas van der Vlies basv at sara.nl
Mon Aug 28 08:27:50 MDT 2006


I have just installed maui 3.2.6p16 and i have still have the same
problem. I could apply the patch without any problems ;-)

My question is will the patch be applied, changed or rejected? See 
explanation below

Regards and Thanks

-------- Original Message --------
Subject: 	[Mauiusers] Patch for nodeaccespolicy SINGLEJOB and MAXPS for
SMPmachines
Date: 	Mon, 14 Feb 2005 17:45:06 +0100
From: 	Bas van der Vlies <basv at sara.nl>
To: 	Maui Users <mauiusers at supercluster.org>



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 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                                               *
*                                                                  *
********************************************************************



-- 
--
********************************************************************
*                                                                  *
*  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: 3853 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/mauiusers/attachments/20060828/99556c00/single_job.bin


More information about the mauiusers mailing list