-
Notifications
You must be signed in to change notification settings - Fork 0
/
shell_ben_gpu.sh
21 lines (16 loc) · 1015 Bytes
/
shell_ben_gpu.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
#SBATCH -c 4 # Request four cores
#SBATCH -N 1 # Request one node (if you request more than one core with -c, also using
#SBATCH -t 0-05:00 # Runtime in D-HH:MM format
#SBATCH -p gpu
#SBATCH --gres=gpu:4
#SBATCH --mem=2G # Memory total in MB (for all cores)
#SBATCH -o hostname_%j.out # File to which STDOUT will be written, including job ID
#SBATCH -e hostname_%j.err # File to which STDERR will be written, including job ID
#SBATCH --mail-type=ALL # Type of email notification- BEGIN,END,FAIL,ALL
#SBATCH --mail-user=kompa@fas.harvard.edu # Email to which notifications will be sent
#srun ./shell_ben_venv.shU
source venv1/bin/activate # Change venv6 to your python virtual environment (which should be in the working directory)
module load cuda/9.0
python3 train_tcga.py config/tcga_all.yaml # Select the .yaml file here
deactivate