Repository navigation
How to modify slurm template to run inside singularity container #252
Answered
by
mattwarkentin
mattwarkentin
asked this question in
Q&A
|
Hi @mschubert, I was just wondering how I should modify my slurm template file in order to run the #!/usr/bin/bash
#SBATCH ...
#SBATCH ...
module load singularity
ulimit -v $(( 1024 * {{ memory | 4096 }} ))
singularity exec container.sif CMQ_AUTH={{ auth }} R --no-save --no-restore -e 'clustermq:::worker("{{ master }}")' |
Answered by
mattwarkentin
Oct 30, 2020
Replies: 3 comments
|
That's how I think it should work! Note that the container needs to be able to access the network on the host system. |
0 replies
|
Okay, thanks! I'm about to test it out so I will report back with how it goes. |
0 replies
|
Okay so it works well, but only after I removed the |
0 replies
Answer selected by
mschubert
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Okay so it works well, but only after I removed the
CMQ_AUTH={{ auth }}from the final line. Otherwise it produces this error: