[slurm-users] Reset TMPDIR for All Jobs
Erik.Ellestad at ucsf.edu
Tue May 12 17:27:22 UTC 2020
Which SLURM prolog specifically?
I'm not finding that to work for me in either task-prolog or prolog.
SLURM_TMPDIR and TMPDIR are still both set to /tmp when I run a job.
Wynton Cluster SysAdmin
From: slurm-users <slurm-users-bounces at lists.schedmd.com> On Behalf Of Roger Moye
Sent: Tuesday, May 12, 2020 9:12 AM
To: Slurm User Community List <slurm-users at lists.schedmd.com>
Subject: Re: [slurm-users] Reset TMPDIR for All Jobs
We had issues getting TMPDIR to work as well. We finally did this in our prolog:
From: slurm-users <slurm-users-bounces at lists.schedmd.com<mailto:slurm-users-bounces at lists.schedmd.com>> On Behalf Of Ellestad, Erik
Sent: Tuesday, May 12, 2020 10:40 AM
To: slurm-users at lists.schedmd.com<mailto:slurm-users at lists.schedmd.com>
Subject: [slurm-users] Reset TMPDIR for All Jobs
I was wanted to set TMPDIR from /tmp to a per job directory I create in local /scratch/$SLURM_JOB_ID (for example)
This bug suggests I should be able to do this in a task-prolog.
However adding the following to task-prolog doesn't seem to affect the variables the job script is running with.
It does work if it is done in the job script, rather than the task-prolog.
Am I missing something?
Wynton Cluster SysAdmin
The information in this communication and any attachment is confidential and intended solely for the attention and use of the named addressee(s). All information and opinions expressed herein are subject to change without notice. This communication is not to be construed as an offer to sell or the solicitation of an offer to buy any security. Any such offer or solicitation can only be made by means of the delivery of a confidential private offering memorandum (which should be carefully reviewed for a complete description of investment strategies and risks). Any reliance one may place on the accuracy or validity of this information is at their own risk. Past performance is not necessarily indicative of the future results of an investment. All figures are estimated and unaudited unless otherwise noted. If you are not the intended recipient, or a person responsible for delivering this to the intended recipient, you are not authorized to and must not disclose, copy, distribute, or retain this message or any part of it. In this case, please notify the sender immediately at 713-333-5440
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the slurm-users