Thorsten Müller f7dd3bcf02 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.
2021-04-30 17:15:57 +02:00
2021-04-30 17:15:57 +02:00
2021-04-19 15:02:38 +02:00
2021-04-27 15:00:12 +02:00
2021-04-30 17:15:57 +02:00
2021-04-27 14:32:25 +02:00
2021-04-27 15:00:12 +02:00

Requirements:

CentOS 7 vm equipped with 2 CPU cores and 2 disks: one main disk containing OS and an additional virtio disk containing docker images. Typically choose 5GB for size of each disk.

Tags

  • htcondor, singularity, docker, slurm
  • htcondor-containered, slurm-config

Just update slurm config using --tags slurm-config. Full setup of just slurm using --skip-tags htcondor,singularity

Example: Setup SLURM

First adjust inv.yml to you needs, specifying the hostname of your VM. Run:

ansible-playbook -i inv.yml --skip-tags htcondor,singularity play.yml

Configuration goes into /container/volumes/slurm/slurm.conf generated from roles/slurm/templates/slurm.conf.j2.

Description
WIP. htcondor, slurm and cobald/tardis test environment
Readme 320 KiB
Languages
HTML 54.6%
Python 38.7%
Dockerfile 3.9%
Shell 2.8%