Skip to content

Instantly share code, notes, and snippets.

@JackBurdick
Created January 18, 2017 03:47
Show Gist options
  • Save JackBurdick/c1aef17afcd4cc27046e4d11f586ecbc to your computer and use it in GitHub Desktop.
Save JackBurdick/c1aef17afcd4cc27046e4d11f586ecbc to your computer and use it in GitHub Desktop.
sbatch file .sh
#!/bin/bash
#SBATCH -t 20 # time limit of job, in minutes.. just using now for testing
#SBATCH -p gpu # which queue to submit to
#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,floatX=float32 python test_GPU_or_CPU.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment