[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:
> 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
Maybe you could parse the output of "qstat -f $PBS_JOBID | grep
> 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
Kevin Van Workum, PhD
Sabalcore Computing Inc.
Run your code on 500 processors.
Sign up for a free trial account.
877-492-8027 ext. 11
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the torqueusers