annotate bin/simpleJob.sh @ 198:1ebc75d10a00

tweaked formatting
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Mon, 04 Dec 2023 10:40:47 +0000
parents b59f49909bda
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
47
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1 #!/bin/bash
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
2 # Simple job runner:
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
3 # Usage: sbatch [slurm args] ~/simpleJob.sh script-name [script-args]
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
4
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
5 #SBATCH --partition=standard
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
6 #SBATCH --qos=standard
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
7 #SBATCH --account=ec184-guest
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
8
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
9 echo $(date) running "$@"
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
10
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
11 srun "$@"