Creating Your First Sbatch Script#
-
Create a directory for slurm batch or sbatch scripts
-
Create and edit your sbatch script
-
Example sbatch script
-
Submit slurm job
-
Check job Status
-
View output
- Standard output:
hello_world.out - Standard error:
hello_world.err
- Standard output:
Info
For production or large jobs, always load modules inside your Slurm script using module load so that the compute nodes have the correct environment. For more details, refer to Software Environment & Modules