[slurm-users] Re: Slurm commands fail when run in Singularity container with the error "Invalid user for SlurmUser slurm, SINGULARITYENV_SLURM_CONF

8 views
Skip to first unread message

Robert Kudyba via slurm-users

unread,
Jul 3, 2024, 11:05:08 AMJul 3
to Slurm User Community List
In https://support.schedmd.com/show_bug.cgi?id=9282#c6 Tim mentioned this env variable SINGULARITYENV_SLURM_CONF, what is the usage/syntax for it? I can't find any reference to this. I'm running into the same issue mentioned there.

Thanks in advance!


Benjamin Smith via slurm-users

unread,
Jul 3, 2024, 11:32:17 AMJul 3
to Slurm User Community List
On 03/07/2024 16:03, Robert Kudyba via slurm-users wrote:
In https://support.schedmd.com/show_bug.cgi?id=9282#c6 Tim mentioned this env variable SINGULARITYENV_SLURM_CONF, what is the usage/syntax for it? I can't find any reference to this. I'm running into the same issue mentioned there.

That's an Apptainer (formerly singularity) feature. See https://apptainer.org/docs/user/1.3/singularity_compatibility.html#singularity-environment-variable-compatibility . So it should be setting SLURM_CONF inside the container.



Thanks in advance!




-- 
Benjamin Smith <bsm...@ed.ac.uk>
Computing Officer, AT-7.12a
Research and Teaching Unit
School of Informatics, University of Edinburgh
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.

Robert Kudyba via slurm-users

unread,
Jul 3, 2024, 11:36:50 AMJul 3
to Benjamin Smith, Slurm User Community List
Thanks Ben but there's no mention  of SINGULARITYENV_SLURM_CONF in that page. Slurm is not in the container either so we're trying to get mpirun from the host to run inside the container. 
Reply all
Reply to author
Forward
0 new messages