SLURM batch scheduler for Xenon integration tests
100K+
This container provides a SLURM installation.
Available tags
| tag | Dockerfile (on GitHub) |
|---|---|
| 20 | xenon-slurm-20/Dockerfile |
| 19 | xenon-slurm-19/Dockerfile |
| 17, latest | xenon-slurm-17/Dockerfile |
| 17-mem2g (nodes hardcoded to 2Gb RAM) | xenon-slurm-17/Dockerfile |
| 16 | xenon-slurm-16/Dockerfile |
| 15 | xenon-slurm-15/Dockerfile |
| 14 | xenon-slurm-14/Dockerfile |
Image description
The image includes:
A Cluster mycluster with two queues/partitions: mypartition and otherpartition. Running an sinfo inside the container yields:
$ sinfo
PARTITION AVAIL TIMELIMIT NODES STATE NODELIST
mypartition* up infinite 5 idle node-[0-4]
otherpartition up infinite 3 idle node-[0-2]
SSH access for user xenon with password javagat
an example SLURM job script, /home/xenon/test-slurm.job
file system fixtures for integration testing, as follows:
-rw-r--r-- 1 xenon xenon 12 Jul 25 14:05 file0
-rw-r--r-- 1 xenon xenon 0 Jul 25 14:05 file1
lrwxrwxrwx 1 xenon xenon 47 Jul 25 14:05 link0 -> /home/xenon/filesystem-test-fixture/links/file0
lrwxrwxrwx 1 xenon xenon 47 Jul 25 14:05 link1 -> /home/xenon/filesystem-test-fixture/links/file1
lrwxrwxrwx 1 xenon xenon 47 Jul 25 14:05 link2 -> /home/xenon/filesystem-test-fixture/links/file2
lrwxrwxrwx 1 xenon xenon 47 Jul 25 14:05 link3 -> /home/xenon/filesystem-test-fixture/links/link0
lrwxrwxrwx 1 xenon xenon 47 Jul 25 14:05 link4 -> /home/xenon/filesystem-test-fixture/links/link2
lrwxrwxrwx 1 xenon xenon 47 Jul 25 14:05 link5 -> /home/xenon/filesystem-test-fixture/links/link6
lrwxrwxrwx 1 xenon xenon 47 Jul 25 14:05 link6 -> /home/xenon/filesystem-test-fixture/links/link5
Building the Docker image
docker build --tag xenonmiddleware/slurm:<tag> .
Running the Docker container (background)
docker run --detach --publish 10022:22 xenonmiddleware/slurm:<tag>
Once the container is running, you can log into it with (password is 'javagat'):
ssh -p 10022 xenon@localhost
You can then submit a job, e.g.:
srun /bin/hostname
or you can submit the example job script
sbatch /home/xenon/test-slurm.job
check the status with
squeue
sacct
Content type
Image
Digest
Size
171 MB
Last updated
over 6 years ago
docker pull xenonmiddleware/slurm