Submitting a job
To run a job on the system you need to create a
job script (see Job script). This is a regular shell script (bash) with optionnal directives, that will be interpreted by the job scheduler (slurm) upon submission.
#!/bin/bash # #SBATCH --job-name=test hostname -s sleep 60s
submit your job script with:
slurm will return with a
$JOBID if the job is accepted, else an error message.
See Submitting a job for more.