Skip to content

Instantly share code, notes, and snippets.

@dsalaj
Created February 21, 2020 09:15
Show Gist options
  • Save dsalaj/a3c972e76563404747d8a6551e35d318 to your computer and use it in GitHub Desktop.
Save dsalaj/a3c972e76563404747d8a6551e35d318 to your computer and use it in GitHub Desktop.
Example of slurm job script. Start with: sbatch slurmjob.sh
#!/bin/bash
#SBATCH --job-name=GSC # Job name
#SBATCH --mail-type=END,FAIL # Mail events (NONE, BEGIN, END, FAIL, ALL)
#SBATCH --mail-user=salaj.au@gmail.com # Where to send mail
#SBATCH --output=slurm_out_%j.log # Standard output and error log
#SBATCH --nodes=1
#SBATCH --exclusive
#SBATCH --partition=IGIcrunchers
conda activate venv2
python3 train.py --model_architecture=lsnn --n_hidden=2048 --window_stride_ms=0.5 --avg_spikes=True --comment=LSNN_stride0.5_win30_AvgT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment