Versions Compared

Key

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

...

  1. Write down your shell script for submitting your job. You can use your favourite terminal editor, for example VIM_ext-link or GNU nano_ext-link:

    Code Block
    languagebash
    themeEmacs
    vim submit.slm

    The submit script has the following structure:

    • SHEBANG (#!/bin/bash)
    • #SBATCH directives for SLURM.
    • Load the required modules (module load <module>).
    • Execute the program (srun <program>).

      Info

      If you have problems creating your script, you can use the Job Script Generator [old] or one of the many examples for the different applications.

  2. Finally, submit the script to the batch system using the sbatch command:

    Code Block
    languagebash
    themeEmacs
    sbatch submit.slm


...

 

...