How to enable socket authentication with singularity containers #248
Answered
by
mschubert
mattwarkentin
asked this question in
Q&A
-
Hi @mschubert, Where should I add
Here is my current template: #!/usr/bin/bash
#SBATCH --job-name={{ job_name }}
#SBATCH --partition={{ partition }}
#SBATCH --nodelist={{ node }}
#SBATCH --time={{ time | 0 }}
#SBATCH --array=1-{{ n_jobs }}
#SBATCH --output={{ log_file | /dev/null }}
#SBATCH --error={{ log_file | /dev/null }}
#SBATCH --mem-per-cpu={{ memory | 4096 }}
#SBATCH --cpus-per-task={{ cores | 1 }}
#SBATCH --export=ALL
module load singularity
ulimit -v $(( 1024 * {{ memory | 4096 }} ))
singularity exec cv-na.sif R --no-save --no-restore -e 'clustermq:::worker("{{ master }}")' |
Beta Was this translation helpful? Give feedback.
Answered by
mschubert
Dec 14, 2020
Replies: 2 comments
-
Does export CMQ_AUTH={{ auth }} on a separate line before the singularity call work? |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mschubert
-
Yes, that worked! Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does
export CMQ_AUTH={{ auth }}
on a separate line before the singularity call work?