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.
very simple
#!/bin/bash
#
#SBATCH --job-name=test
hostname -s
sleep 60s
submit your job script with:
sbatch myjob.sh
slurm will return with a $JOBID
if the job is accepted, else an error message.
See Submitting a job for more.