Batch jobs are the most common jobs. Usually, these jobs run applications for long periods without user interaction, so they run autonomously once the resources are available.

The instructions are detailed below.

Via shell script


  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:

    vim submit.slm

    The submit script has the following structure:

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

    sbatch submit.slm



 

Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.

Related issues