-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrunRSA0.sh
61 lines (42 loc) · 1023 Bytes
/
runRSA0.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=("qs")
ARR0=(6)
ARR0U=(30)
ARR1S=(32)
ARR1U=(48)
ARR10S=(50)
ARR10U=(60)
num=25000
j=0
for i in "${ARRALG[@]}"
do
params="python3 results_RSA.py -s RSA_results_"$i"_1S -$i -l ${ARR0[$j]} -u ${ARR0U[$j]} -n $num"
echo $i
cp rsaResults.slurm rsaResults"$i"1S.slurm
echo $params >> rsaResults"$i"1S.slurm
sbatch rsaResults"$i"1S.slurm
((j++))
done
num=5000
j=0
for i in "${ARRALG[@]}"
do
params="python3 results_RSA.py -s RSA_results_"$i"_10S -$i -l ${ARR1S[$j]} -u ${ARR1U[$j]} -n $num"
echo $i
cp rsaResults.slurm rsaResults"$i"10S.slurm
echo $params >> rsaResults"$i"10S.slurm
sbatch rsaResults"$i"10S.slurm
((j++))
done
num=1000
j=0
for i in "${ARRALG[@]}"
do
params="python3 results_RSA.py -s RSA_results_"$i"_1M -$i -l ${ARR10S[$j]} -u ${ARR10U[$j]} -n $num"
echo $i
cp rsaResults.slurm rsaResults"$i"1M.slurm
echo $params >> rsaResults"$i"1M.slurm
sbatch rsaResults"$i"1M.slurm
((j++))
done