Slurm

So FGCI-cluster is using slurm as batch-queue system.

While there is a lot of magnificient documentation e.g. Slurm’s own

For more detailed info about our configuration please refer to configuration.

Simple serial job Parallel job Interactive session Notes about resource reservations

Below are some basic examples of usage:

First you’ll have to create some job-script which describes resources that job needs and does the actual execution.

Simple serial job

Then you’ll submit that code with command:
sbatch serial-job.sh

Parallel job

For parallel job we’ll just need to change resource allocations of the job:

Interactive session

Interactive shell session in compute-node can be requested with: .. code-block:

srun --pty -J " Bash session" --partition=test --mem=10000 --time=4:0:0 /bin/bash -i

Notes about resource reservations

As compute-nodes operating system also needs some memory to run, some of the memory isn’t allocatable by slurm. This means that if you request e.g. 128G memory, in practice you’ll need to wait for node with 256G to be available. So if it might be better to only request 126G if don’t absolutely need 128G To show memory available for slurm jobs on nodes. .. code-block:

scontrol show node |grep RealMemory