forked from tagboola/CS205_Final_Project
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathrunscript
More file actions
25 lines (23 loc) · 661 Bytes
/
runscript
File metadata and controls
25 lines (23 loc) · 661 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
#
# Use the current directory as the working directory
#$ -cwd
# Merge output and error messages into single file
#$ -j y
# Name of the output file
#$ -o cs205hw.o$JOB_ID
# Shell environment
#$ -S /bin/bash
# Resonance queue system to use
# If more than 5min job, use -q gpu.q
#$ -q gpu-short.q
# Needed to execute parallel jobs
# The number of processes to launch [1-32]
# (Change the number)
#$ -pe ortegpu_reserve 4
# Import environment and profile
. /etc/profile
module load courses/cs205/2012
# Launch the job with the above number of processes
# (Only change the python file)
mpirun -n $NSLOTS --mca btl_tcp_if_include eth0 python train.py