-
Notifications
You must be signed in to change notification settings - Fork 1
/
cmd.sh
21 lines (18 loc) · 807 Bytes
/
cmd.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# "queue.pl" uses qsub. The options to it are
# options to qsub. If you have GridEngine installed,
# change this to a queue you have access to.
# Otherwise, use "run.pl", which will run jobs locally
# (make sure your --num-jobs options are no more than
# the number of cpus on your machine.
#a) JHU cluster options
export train_cmd="queue.pl -l arch=*64"
export decode_cmd="queue.pl -l arch=*64,mem_free=2G,ram_free=2G"
export cuda_cmd="queue.pl -l gpu=1"
#export mkgraph_cmd="queue.pl -l arch=*64,ram_free=4G,mem_free=4G"
#export big_memory_cmd="queue.pl -l arch=*64,ram_free=8G,mem_free=8G"
#c) run it locally... works for CMU rocks cluster
#export train_cmd=run.pl
#export decode_cmd=run.pl
#export cuda_cmd=run.pl
# Comet cluster
#export cuda_cmd="slurm_comet.pl -p gpu-shared -t 48:00:00 --gpu 1"