Re: [slurm-users] slurm and singularity

2023-02-08 Thread Brian Andrus
t: Tuesday, February 7, 2023 6:16 PM To: Slurm User Community List Subject: Re: [slurm-users] slurm and singularity You don't often get email from f...@udel.edu. Learn why this is important The remaining issue then is how to put them into an allocation that is actually running a singularity

Re: [slurm-users] slurm and singularity

2023-02-08 Thread Groner, Rob
day, February 8, 2023 10:01 AM To: Slurm User Community List Subject: Re: [slurm-users] slurm and singularity You don't often get email from f...@udel.edu. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> You may need srun to allocate a pty for the command. The

Re: [slurm-users] slurm and singularity

2023-02-08 Thread Jeffrey T Frey
on behalf of > Jeffrey T Frey > Sent: Tuesday, February 7, 2023 6:16 PM > To: Slurm User Community List > Subject: Re: [slurm-users] slurm and singularity > > You don't often get email from f...@udel.edu. Learn why this is important >> The remaining issue then is h

Re: [slurm-users] slurm and singularity

2023-02-08 Thread Groner, Rob
February 7, 2023 6:16 PM To: Slurm User Community List Subject: Re: [slurm-users] slurm and singularity You don't often get email from f...@udel.edu. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> The remaining issue then is how to put them into an al

Re: [slurm-users] slurm and singularity

2023-02-07 Thread Markus Kötter
Hi, On 08.02.23 05:00, Carl Ponder wrote: Take a look at this extension to SLURM: https://github.com/NVIDIA/pyxis https://slurm.schedmd.com/SLUG19/NVIDIA_Containers.pdf enroot & pyxis - great recommendation for rootless containerized runtime environments in HPC. Free software, no lic

Re: [slurm-users] slurm and singularity

2023-02-07 Thread Carl Ponder
Take a look at this extension to SLURM: https://github.com/NVIDIA/pyxis You put the container path on the srun command-line and each rank runs inside it's own copy of the image. Subject:[slurm-users]

Re: [slurm-users] slurm and singularity

2023-02-07 Thread Jeffrey T Frey
> The remaining issue then is how to put them into an allocation that is > actually running a singularity container. I don't get how what I'm doing now > is resulting in an allocation where I'm in a container on the submit node > still! Try prefixing the singularity command with "srun" e.g.

Re: [slurm-users] slurm and singularity

2023-02-07 Thread Groner, Rob
et how what I'm doing now is resulting in an allocation where I'm in a container on the submit node still! From: slurm-users on behalf of Brian Andrus Sent: Tuesday, February 7, 2023 12:52 PM To: slurm-users@lists.schedmd.com Subject: Re: [slurm-use

Re: [slurm-users] slurm and singularity

2023-02-07 Thread Brian Andrus
You should have the job script itself have the singularity/apptainer command. I am guessing you don't want your users to have to deal with that part for their scripts, so I would suggest using a wrapper script. You could just have them run something like: cluster_run.sh Then cluster_run.s

[slurm-users] slurm and singularity

2023-02-07 Thread Groner, Rob
I'm trying to setup the capability where a user can execute: $: sbatch script_to_run.sh and the end result is that a job is created on a node, and that job will execute "singularity exec script_to_run.sh" Also, that they could execute: $: salloc and would end up on a node per their paramet