Creating sbatch script: Difference between revisions
Jump to navigation
Jump to search
(Created page with "A skeletion Slurm script: <source lang='bash'> #-----------------------------Mail address----------------------------- #SBATCH --mail-user= #SBATCH --mail-type=ALL #-------...") |
No edit summary |
||
Line 1: | Line 1: | ||
A | A skeleton Slurm script: | ||
<source lang='bash'> | <source lang='bash'> | ||
Revision as of 14:06, 7 June 2017
A skeleton Slurm script: <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>