Skip to content

Instantly share code, notes, and snippets.

@enijkamp
Created November 8, 2018 04:02
Show Gist options
  • Save enijkamp/9482db04baf786592c64b5c98e98e7a3 to your computer and use it in GitHub Desktop.
Save enijkamp/9482db04baf786592c64b5c98e98e7a3 to your computer and use it in GitHub Desktop.
#!/bin/bash
#SBATCH -N 1
#SBATCH -p GPU-shared
#SBATCH --ntasks-per-node 4
#SBATCH --gres=gpu:p100:1
#SBATCH -t 47:00:00
module load python2/2.7.11_gcc
module load cuda/8.0
cd
source ~/torch_27/bin/activate
cd ~/your_folder
python your_file.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment