[torquedev] tmpdir environment variable
chris at clusterresources.com
Tue Dec 4 09:06:43 MST 2007
Nevermind got it, after talking to Glen Beane this is what I needed to do.
chris at wopr:~/test$ sudo cat /var/spool/torque/mom_priv/config
chris at wopr:~/test$ cat script.sh.o8
Steve Traylen wrote:
> On Dec 4, 2007, at 3:49 PM, chris wrote:
>> 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?
> Yes , look at the tmpdir option in the man page of the pbs_mom.
>> 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)
>> 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
>> torquedev mailing list
>> torquedev at supercluster.org
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
More information about the torquedev