[torquedev] tmpdir environment variable

Steve Traylen steve.traylen at cern.ch
Tue Dec 4 08:36:39 MST 2007


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.

  Steve

> This is from the SGE manpage.
>
> tmpdir
>    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).
>
> Regards,
>
> -- 
> 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
> www.clusterresources.co.uk
>
>
> _______________________________________________
> torquedev mailing list
> torquedev at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torquedev

-- 
Steve Traylen
steve.traylen at cern.ch




-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4309 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20071204/514db5fc/smime.bin


More information about the torquedev mailing list