-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrunner.sh
More file actions
42 lines (26 loc) · 935 Bytes
/
runner.sh
File metadata and controls
42 lines (26 loc) · 935 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/bash
SEEDS=(123 234 345 456)
CDB_VALUES=(1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7)
PORTFOLIOS=(
"CMAES SPSOL OPOA2015"
"G3PCX LMCMAES SPSO"
"MADDE JDE21 NL_SHADE_RSP"
)
echo "Starting Cartesian product job submissions..."
for SEED in "${SEEDS[@]}"; do
for PORTFOLIO in "${PORTFOLIOS[@]}"; do
echo "Submitting portfolio study with: SEED=${SEED} | PORTFOLIO=${PORTFOLIO}"
sbatch portfolio_study.slurm $SEED $PORTFOLIO
sleep 1
done
for CDB in "${CDB_VALUES[@]}"; do
echo "Submitting single algorithm study with: SEED=${SEED} | CDB=${CDB}"
sbatch single_algorithm_CDB_study.slurm $SEED $CDB
echo "Submitting CDB study with: SEED=${SEED} | CDB=${CDB}"
sbatch CDB_study.slurm $SEED $CDB
sleep 1
done
echo "Submitting comprehensive study with: SEED=${SEED}"
sbatch comprehensive_study.slurm $SEED
done
echo "All jobs submitted!"