Summary: | Configure a TMPDIR other than /tmp | ||
---|---|---|---|
Product: | Slurm | Reporter: | UAB Research Computing <RC_LICENSES> |
Component: | Scheduling | Assignee: | Alejandro Sanchez <alex> |
Status: | RESOLVED INFOGIVEN | QA Contact: | |
Severity: | 4 - Minor Issue | ||
Priority: | --- | CC: | alex |
Version: | 15.08.6 | ||
Hardware: | Linux | ||
OS: | Linux | ||
Site: | UAB | Alineos Sites: | --- |
Atos/Eviden Sites: | --- | Confidential Site: | --- |
Coreweave sites: | --- | Cray Sites: | --- |
DS9 clusters: | --- | HPCnow Sites: | --- |
HPE Sites: | --- | IBM Sites: | --- |
NOAA SIte: | --- | OCF Sites: | --- |
Recursion Pharma Sites: | --- | SFW Sites: | --- |
SNIC sites: | --- | Linux Distro: | --- |
Machine Name: | CLE Version: | ||
Version Fixed: | Target Release: | --- | |
DevPrio: | --- | Emory-Cloud Sites: | --- |
Description
UAB Research Computing
2016-04-25 16:05:38 MDT
Hi, could you try writing a Prolog and a TaskProlog[1] scripts. In the Prolog script, as it is executed in the compute node by SlurmdUser (usually root), you could create your desired dir and chown/chmod it to the submitting user. Take into account that SLURM_JOB_ID and SLURM_JOB_USER can provide you with this information. Then in the TaskProlog script you could export TMPDIR env var to the desired created dir. Please, let me know if this work for you. [1] http://slurm.schedmd.com/prolog_epilog.html Hi, were you finally able to use /scratch/local/${SLURM_JOB_ID} through the prolog scripts? Is there anything more that we can help you or can we close this bug? Thanks. Unfortunately, I haven't had time to work on this. Based on your description I should have enough information to go on once I get some free cycles. We can close the ticket. All right, please reopen if you have any more doubts. |