sbatch

This command is the basic method to submit a batch job and is typically of the form:

sbatch [options] script script_options

Which will then report the job ID for the job.

Script is typically a shell script but Python may also be used.

This command has a large number of options which are common to other commands such as salloc and [srun][5]. Note that in shell scripts these options can be specified directly as lines of the form:

#SBATCH --option-name=option_value

Additional documentation

Official SLURM Documentation