|
|
| (14 intermediate revisions by 4 users not shown) |
| Line 1: |
Line 1: |
| A skeleton Slurm script:
| | #REDIRECT [[Batch Jobs]] |
| <source lang='bash'>
| |
| | |
| #-----------------------------Mail address----------------------------- | |
| #SBATCH --mail-user=
| |
| #SBATCH --mail-type=ALL
| |
| #-----------------------------Output files-----------------------------
| |
| #SBATCH --output=output_%j.txt
| |
| #SBATCH --error=error_output_%j.txt
| |
| #-----------------------------Other information------------------------
| |
| #SBATCH --comment=
| |
| ##SBATCH --account=
| |
| #-----------------------------Required resources-----------------------
| |
| #SBATCH --partition=
| |
| #SBATCH --time=0-0:0:0
| |
| #SBATCH --ntasks=
| |
| #SBATCH --cpus-per-task=
| |
| #SBATCH --mem-per-cpu=
| |
| | |
| #-----------------------------Environment, Operations and Job steps----
| |
| #load modules
| |
| | |
| #export variables
| |
| | |
| #your job
| |
| | |
|
| |
| </source>
| |