[Mauiusers] Per Class MAXJOBPERNODE configuration

Bas van der Vlies basv at sara.nl
Mon Aug 18 04:50:36 MDT 2008


Craig Macdonald wrote:
> To answer my own question, I created a method to check requirements - ie
> whether any of the current reservations on the node were of the same
> user and if either that job or this one were in the parallel queue.
> 
> This work was heavily based on contrib/checkreq/AussieCheckReq.c.
> It is of note that the contrib example doesnt run cleanly with the
> current Maui. I can provide patches should these be desired.
> 

Craig,

  It will be nice to post the patches. So other people can use them and the
people of ClusterResources could apply them.

Regards

> C
> 
> Craig Macdonald wrote:
>> Hello all,
>>
>> Our jobs are mostly single processor jobs. To prevent orphaned
>> processes, particularly for parallel jobs, we use
>> NODECFG[DEFAULT] MAXJOBPERUSER=2  #(for 2 read 1)
>> and when they end, we have Torque kill every process belonging to that
>> user on the node,
>>
>> We would like to relax this constraint, such that it only happens for
>> jobs in the parallel queue.
>> Ideally, I would like to unset
>> #NODECFG[DEFAULT] MAXJOBPERUSER=2
>> and enforce that a single user can only have a one class of job
>> running on a node at the one time (either parallel or not).
>> Something like:
>> CLASSCFG[parallel]      MAXJOBPERNODE=1
>>
>> would perhaps suffice. How can we do this in MAUI? Can anyone see how
>> this could be achieved?
>>
>> #or
>> #NODECFG[DEFAULT] USERFORCEDCLASSES=[parallel] ?
>>
>> C
>>
>> Craig
>> _______________________________________________
>> mauiusers mailing list
>> mauiusers at supercluster.org
>> http://www.supercluster.org/mailman/listinfo/mauiusers
> 
> _______________________________________________
> mauiusers mailing list
> mauiusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/mauiusers


-- 
********************************************************************
*  Bas van der Vlies                    e-mail: basv at sara.nl       *
*  SARA - Academic Computing Services   Amsterdam, The Netherlands *
********************************************************************


More information about the mauiusers mailing list