Skip to content

Instantly share code, notes, and snippets.

@mpharrigan
Created February 23, 2015 04:14
Show Gist options
  • Save mpharrigan/6fe675df093d04427958 to your computer and use it in GitHub Desktop.
Save mpharrigan/6fe675df093d04427958 to your computer and use it in GitHub Desktop.
icme slurm
#!/bin/bash
#SBATCH --partition=long # or short, defq
#SBATCH --job-name=whatever
#SBATCH --output=whatever.%j.out
#SBATCH --time=5-00:00:00
#SBATCH --nodes=1
#SBATCH --mail-type=ALL
#SBATCH --mail-user=email@email.com
#SBATCH --ntasks=12 # or however many
#SBATCH --gres=gpu:6 # or however many
cd $SLURM_SUBMIT_DIR
./my_program_here.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment