We use the SPANK plugin found here

https://github.com/hpc2n/spank-private-tmp

and find it works very well.

------
The most dangerous phrase in the language is, "We've always done it this
way."

- Grace Hopper

On 21 January 2017 at 03:15, John Hearns <john.hea...@xma.co.uk> wrote:

> As I remember, in SGE and in PbsPro a job has a directory created for it
> on the execution host which is a temporary directory, named with he jobid.
> you can define int he batch system configuration where the root of these
> directories is.
>
> On running srun env, the only TMPDIR I see is /tmp
> I know - RTFM.  I bet I haven't realised that this si easy to set up...
>
> Specifically I would like a temprary job directory which is
> /local/$SLURM_JOBID
>
> I guess I can create this in the job then delete it, but it would be
> cleaner if the batch system deleted it and didnt allow for failed jobs or
> bad scripts leaving it on disk.
> Any views or opinions presented in this email are solely those of the
> author and do not necessarily represent those of the company. Employees of
> XMA Ltd are expressly required not to make defamatory statements and not to
> infringe or authorise any infringement of copyright or any other legal
> right by email communications. Any such communication is contrary to
> company policy and outside the scope of the employment of the individual
> concerned. The company will not accept any liability in respect of such
> communication, and the employee responsible will be personally liable for
> any damages or other liability arising. XMA Limited is registered in
> England and Wales (registered no. 2051703). Registered Office: Wilford
> Industrial Estate, Ruddington Lane, Wilford, Nottingham, NG11 7EP
>

Reply via email to