You are here: Cluster » CookBookSelectQueues

Cook Book: Selecting Queues

Available Partitions

You can get a list of available partitions by typing scontrol show partitions. Then you can select the partition within your job script by adding the following to it

#!/bin/bash
...
#SBATCH -p <PARTITION>
...

or by adding it to your submit command

$ sbatch -p   job_script.sh

GPUs

The gpu queue is subject to access control. To submit jobs to the gpu-queue set the partition parameter to 'gpu'. The following example will use 2 gpus, splitting up into 2 jobs (one gpu per job)

#!/bin/bash
...
#SBATCH -p gpu
#SBATCH --gres=gpu:2

srun --gres=gpu:1 $CMD
srun --gres=gpu:1 $CMD

...
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback