Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
Submit basic instructions on Slurm with srun
Submit basic instructions on Slurm with srun
Submit basic instructions on Slurm with srun

In order to run instructions, a job has to be scheduled on Slurm: the basic srun command allows to execute very simple commands, such as one-liners on compute nodes.

The srun command  command can be also enriched with several useful options:

  • N<int> allows to run the command on <int> nodes, for instance:    

...

Among the information printed with the squeue command, the user can find the job id as well as the running time and status.
In case you are running a job, you can have a detailed check on it with the command

sstat

...

-j

...

<jobid>

where the jobid is given to you by Slurm once you have submitted the job.

...