Skip to content

Instantly share code, notes, and snippets.

@benjaminhwilliams
Last active March 21, 2024 16:38
Show Gist options
  • Save benjaminhwilliams/d51be70a333b3559c6aa027a81a5e8fd to your computer and use it in GitHub Desktop.
Save benjaminhwilliams/d51be70a333b3559c6aa027a81a5e8fd to your computer and use it in GitHub Desktop.
A useful header for Slurm sbatch submission on the Wilson cluster at Diamond Light Source
#!/bin/bash
#SBATCH --nodes=1
#SBATCH --cpus-per-task=20
#SBATCH --time=04:00:00
#SBATCH --error=job-%J.err
#SBATCH --output=job-%J.out
#SBATCH -A i19-1
#SBATCH -p cs05r
echo "Hello world!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment