Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »


There are two options to run slurm sbatch script

1. Ask for the cluster upon request, just run 

$ sbatch slurm_script.sh


2. Reserve a cluster in advance. In case you do that, you will need to add the reservation name to the script 


For example, check the reservation name using scontrol:


$ scontrol show reservation
ReservationName=helios_ophirm_23246 StartTime=2018-12-18T12:00:00 EndTime=2019-12-18T12:00:00 Duration=365-00:00:00
   Nodes=helios[001-032] NodeCnt=32 CoreCnt=1280 Features=(null) PartitionName=helios Flags=IGNORE_JOBS,SPEC_NODES
   TRES=cpu=1280
   Users=ophirm Accounts=(null) Licenses=(null) State=ACTIVE BurstBuffer=(null) Watts=n/a


Add the line, with the reservation to the script.


#SBATCH --reservation=helios_ophirm_23246


And then run the sbatch command.



  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.