run slurmctld as user

Notice: also trying to run slurmd on execute nodes as user makes no
sense because it breaks sbatch. Furthermore there is another necessary
to run mpi jobs (just tried MpiDefault=none). I don't consider running
slurmd as root a good idea, but there seems to be no other choice at the
moment.
This commit is contained in:
mueller committed 2021-04-30 17:15:57 +02:00
1 parent f2cb9b2c6b
commit f7dd3bcf02
7 files changed
+39 -9

No files matched your search

+2
View File
@@ -82,6 +82,8 @@
volumes: "{{default_mounts + ( item.extra_mounts | default([]) ) }}"
networks:
- name: "slurm"
env:
slurmuser: "{{slurm_user}}"
image: "{{item.image}}"
state: started
detach: True