[torquedev] tmpdir environment variable

chris chris at clusterresources.com
Tue Dec 4 07:49:30 MST 2007

Hello All,

I've had a site requesting a feature similar to SGE's tmpdir where a tmpdir environment variable is set with each job.  
Is this something that can be added to torque or is there an equivalent that is already in torque?

This is from the SGE manpage.

     The tmpdir parameter specifies the absolute path to the base
     of  the  temporary  directory  filesystem. When *sge_execd(8) <https://www.cs.kent.ac.uk/people/staff/pao/gridengine/htmlman8/sge_execd.html>*
     launches a job, it creates  a  uniquely-named  directory  in
     this  filesystem  for  the  purpose of holding scratch files
     during job execution. At job completion, this directory  and
     its  contents  are  removed  automatically.  The environment
     variables TMPDIR and TMP are set to the path  of  each  jobs
     scratch directory (type string; default: /tmp).


Chris Vaughan
EMEA Systems Engineer
Cluster Resources, Ltd.
Direct - UK Office:  +44 (0)1223 437 132
Mobile - +44 (0)7800 973 062
US Headquarters:  +1 801 717 3700
Skype: supercomputer1

More information about the torquedev mailing list