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. 

On Wed, Jul 3, 2024, 11:30 AM Benjamin Smith <bsmith5@ed.ac.uk> wrote:
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 <bsmith5@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.