[torqueusers] executing something else on a compute ndoe for a goven time interval

Kevin Van Workum vanw at sabalcore.com
Thu Apr 22 14:50:37 MDT 2010


On Thu, Apr 22, 2010 at 3:43 PM, Coyle, James J [ITACD] <jjc at iastate.edu>wrote:

>    Basappa. Kodada
>
>
>
>   The only way I see to accomplish your goal while only executing
> instructions on the compute node is to :
>
> 1)      At the beginning of this time interval (using cron to schedule
> this)
>
> A)     identify the PIDs of pbs_mom and of any processes owned by users,
> putting these in a file F
>
> B)      suspend these processes
>
> C)      Start whatever else you wanted to run (if anything) during this
> time period.
>
>
>
> 2)      At the end of the time interval (again using cron), reverse the
> process:
>
> C’) Suspend or kill the process running only during the time interval
>
> B’) Un-suspend all the PIDs  in file F
>
> A’) Remove file F.
>
>
>
>   I did something similar with a computer lab, allowing the machines to run
> batch jobs when they were idle,
>
> but suspending batch jobs when a user was logged in directly.
>
>
>
> -          Jim Coyle
>
>
>
> *From:* torqueusers-bounces at supercluster.org [mailto:
> torqueusers-bounces at supercluster.org] *On Behalf Of *Basappa Kodada
> *Sent:* Thursday, April 22, 2010 12:50 AM
> *To:* torqueusers at supercluster.org
> *Subject:* [torqueusers] about configuration in computing node
>
>
>
> Hello sir
> Thanks for replying
>
> cant we specify the pbs_mom available time duration in computing node where
> only pbs_mom is running.
> Example:
> the Node00 is cluster head node which is having the computing node
> list(Node01, Node02)
>
> Node01 is running only pbs_mom for sending available resources to cluster
> head node and executing the job. But i want to give some time duration or
> time interval in this computing node, so that its resources are available in
> that time only for cluster head node even though pbs_mom is running.
>

This is normally accomplished by your scheduler, not pbs_mom. I'm not sure
if the pbs_sched has this capability, but I'm sure that maui and moab do.

-- 
Kevin Van Workum, PhD
Sabalcore Computing Inc.
Run your code on 500 processors.
Sign up for a free trial account.
www.sabalcore.com
877-492-8027 ext. 11
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20100422/ea853bea/attachment-0001.html 


More information about the torqueusers mailing list