Skip to content

Instantly share code, notes, and snippets.

@JackBurdick
Last active January 19, 2017 03:04
Show Gist options
  • Save JackBurdick/cd907f102dd11ae7631d59cf3f7f2dc6 to your computer and use it in GitHub Desktop.
Save JackBurdick/cd907f102dd11ae7631d59cf3f7f2dc6 to your computer and use it in GitHub Desktop.
submit job through SLURM
#!/bin/bash
#SBATCH -t 20 # time limit of job, in minutes.. USED ONLY FOR TESTING [REMOVE AS NEEDED]
#SBATCH -p gpu # which queue to submit to
#SBATCH --gres=gpu:1 # tell the sbatch script to allocate GPU resources
#SBATCH -o gpu_python_%j.out # File to which STDOUT will be written
#SBATCH -e gpu_python_%j.err # File to which STDERR will be written
#SBATCH --mail-type=END # Type of email notification- BEGIN,END,FAIL,ALL
#SBATCH [email protected] # Email to which notifications will be sent
THEANO_FLAGS=mode=FAST_RUN,device=gpu,config.dnn.enabled=True,floatX=float32 python mnhist_test_fromFile.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment