-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsubmit_experiments_batch.sh
More file actions
executable file
·43 lines (39 loc) · 2.07 KB
/
submit_experiments_batch.sh
File metadata and controls
executable file
·43 lines (39 loc) · 2.07 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/bash
source env.sh
experiment=$1
echo ${experiment}
if [ "${experiment}" = "fig_01" ]; then
${ROOT_DIR}/scripts/submit_experiment_batch.sh ${ROOT_DIR}/exp_conf/fig_01.sh
elif [ "${experiment}" = "fig_02" ]; then
${ROOT_DIR}/scripts/submit_experiment_batch.sh ${ROOT_DIR}/exp_conf/fig_02.sh
elif [ "${experiment}" = "fig_03" ]; then
${ROOT_DIR}/scripts/submit_experiment_batch.sh ${ROOT_DIR}/exp_conf/fig_03.sh
elif [ "${experiment}" = "fig_04" ]; then
${ROOT_DIR}/scripts/submit_experiment_batch.sh ${ROOT_DIR}/exp_conf/fig_03.sh
elif [ "${experiment}" = "fig_08" ]; then
${ROOT_DIR}/scripts/submit_experiment_batch.sh ${ROOT_DIR}/exp_conf/fig_08.sh
elif [ "${experiment}" = "fig_09" ]; then
${ROOT_DIR}/scripts/submit_experiment_batch.sh ${ROOT_DIR}/exp_conf/fig_08.sh
elif [ "${experiment}" = "fig_10" ]; then
${ROOT_DIR}/scripts/submit_experiment_batch.sh ${ROOT_DIR}/exp_conf/fig_08.sh
elif [ "${experiment}" = "fig_11" ]; then
${ROOT_DIR}/scripts/submit_experiment_batch.sh ${ROOT_DIR}/exp_conf/fig_11.sh
elif [ "${experiment}" = "fig_12" ]; then
${ROOT_DIR}/scripts/submit_experiment_batch.sh ${ROOT_DIR}/exp_conf/fig_12.sh
elif [ "${experiment}" = "fig_13" ]; then
${ROOT_DIR}/scripts/submit_experiment_batch.sh ${ROOT_DIR}/exp_conf/fig_13.sh
elif [ "${experiment}" == "AE" ]; then
echo "Running AE experiments..."
${ROOT_DIR}/scripts/submit_experiment_batch.sh ${ROOT_DIR}/exp_conf/fig_08.sh
elif [ "${experiment}" == "all" ]; then
echo "Running all experiments..."
${ROOT_DIR}/scripts/submit_experiment_batch.sh ${ROOT_DIR}/exp_conf/fig_01.sh
${ROOT_DIR}/scripts/submit_experiment_batch.sh ${ROOT_DIR}/exp_conf/fig_02.sh
${ROOT_DIR}/scripts/submit_experiment_batch.sh ${ROOT_DIR}/exp_conf/fig_03.sh
${ROOT_DIR}/scripts/submit_experiment_batch.sh ${ROOT_DIR}/exp_conf/fig_08.sh
${ROOT_DIR}/scripts/submit_experiment_batch.sh ${ROOT_DIR}/exp_conf/fig_11.sh
${ROOT_DIR}/scripts/submit_experiment_batch.sh ${ROOT_DIR}/exp_conf/fig_12.sh
${ROOT_DIR}/scripts/submit_experiment_batch.sh ${ROOT_DIR}/exp_conf/fig_13.sh
else
echo "There is no option avaiable for ${experiments}."
fi