[torqueusers] Determine job resources in job script?
Kevin Van Workum
vanw at sabalcore.com
Tue Nov 22 14:11:32 MST 2011
On Tue, Nov 22, 2011 at 4:00 PM, Torsten Rohlfing
<torsten at synapse.sri.com>wrote:
> Greeting!
>
> Using Torque (currently running 3.0.1) Is it possible to determine the
> resources allocated to (or requested for) a job from inside the job script?
>
> I am particularly interested in the "vmem" resource, which I hope to use
> to limit Java VM heap size automatically depending on the job submission
> arguments.
>
Maybe you could parse the output of "qstat -f $PBS_JOBID | grep
Resource_List.vmem".
>
> Thanks!
> Torsten
>
> --
> Torsten Rohlfing, PhD SRI International, Neuroscience Program
> Senior Research Scientist 333 Ravenswood Ave, Menlo Park, CA 94025
> Phone: ++1 (650) 859-3379 Fax: ++1 (650) 859-2743
> torsten at synapse.sri.com http://www.stanford.edu/~rohlfing/
>
> "Though this be madness, yet there is a method in't"
>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
>
--
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/20111122/ae1b6b15/attachment.html
More information about the torqueusers
mailing list