You are here

Batch Script (Slurm) example


Here is a simple batch script example:

           #!/bin/bash

           #SBATCH -N4 -t2:00:00
           #SBATCH -A my_project
           #SBATCH -p phi_test
           #SBATCH  -C cache,quad,18p

      /path/to/my/job/script


Above batch script requests 4 cache-quad 18p nodes (for 2 hours), using my_project account and submit to phi_test partition (queue).