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

Version 1 Next »


There are two options to run slurm batch 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:


$ 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