-
Notifications
You must be signed in to change notification settings - Fork 0
/
runECC.sh
61 lines (42 loc) · 1.08 KB
/
runECC.sh
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/bin/bash
#!/usr/bin/python
ARRALG=("bf" "bs" "pl" "pr" "ph")
ARR0=(3 3 3 3 3)
ARR0U=(17 25 17 27 39)
ARR1S=(18 26 18 28 40)
ARR1U=(21 31 19 31 51)
ARR10S=(22 32 20 32 52)
ARR10U=(24 34 22 34 56)
num=25000
j=0
for i in "${ARRALG[@]}"
do
params="python3 results_ECC.py -s ECC_results_"$i"_1S -$i -l ${ARR0[$j]} -u ${ARR0U[$j]} -n $num"
echo $i
cp eccResults.slurm eccResults"$i"1S.slurm
echo $params >> eccResults"$i"1S.slurm
sbatch eccResults"$i"1S.slurm
((j++))
done
num=5000
j=0
for i in "${ARRALG[@]}"
do
params="python3 results_ECC.py -s ECC_results_"$i"_10S -$i -l ${ARR1S[$j]} -u ${ARR1U[$j]} -n $num"
echo $i
cp eccResults.slurm eccResults"$i"10S.slurm
echo $params >> eccResults"$i"10S.slurm
sbatch eccResults"$i"10S.slurm
((j++))
done
num=1000
j=0
for i in "${ARRALG[@]}"
do
params="python3 results_ECC.py -s ECC_results_"$i"_1M -$i -l ${ARR10S[$j]} -u ${ARR10U[$j]} -n $num"
echo $i
cp eccResults.slurm eccResults"$i"1M.slurm
echo $params >> eccResults"$i"1M.slurm
sbatch eccResults"$i"1M.slurm
((j++))
done