-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbgq_run.sh
69 lines (62 loc) · 1.7 KB
/
bgq_run.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
62
63
64
65
66
67
68
69
#!/bin/bash
declare -A n
./pars.out
mkdir RESULTS/`date +%d_%m_%y`
fold="RESULTS/`date +%d_%m_%y`"
#qsub --jobname RRR -A DAPPX -t 30 -n 4096 -O 128-cast --mode script bgq_run_script.sh 4096
for np in 4096 #32 #64 128 256 #512 1024 2048 4096 16384
do
#outfile=./examples/RESULTS/$np-CAST
#output=./$np-CAST
output="${fold}/${np}-CAST"
echo $output
#command="qsub --jobname RRR -A PARTS -t 30 -n $np -O $output bgq_run_script.sh $np"
#echo $outfile
#echo $command
qsub --jobname RRR -A DAPPX -t 30 -n ${np} -O ${output} --mode script bgq_run_script.sh ${np}
done
#for np in 16 64 256 1024
#do
# for vp in 4 8 16 32 64 128
# do
# for N in 192 256 320 384
# do
# for cntr in 2
# do
# until qsub -A PARTS -t 00:30:00 -n $np -O RESULTS/10_09_2013/cntr${cntr}/${np}_${N}_ctr${cntr}_${vp} ./run.x ${grid[$np]} $vp $N $cntr
# do
# echo "Failed at: ${grid[$np]} $vp $N $cntr"
# sleep 60
# done
# done
# done
# done
#done
#grid[16]="4 4"
#grid[64]="8 8"
#grid[256]="16 16"
#grid[1024]="32 32"
#
#size[16]="8192"
#size[64]="12992"
#size[256]="20672"
#size[1024]="32768"
#
#
#for np in 16 64 256 1024
#do
# for vp in 4 8 16 32
# do
## for N in 192 256 512 1024 2048 4096 8192 16384 32768
## do
# for cntr in 5
# do
# until qsub -A PARTS -t 00:30:00 -n $np -O RESULTS_BGQ_SCALABILITY/`date +%m_%d_%Y`/cntr${cntr}/${np}_${size[$np]}_ctr${cntr}_${vp} ./run.x ${grid[$np]} $vp ${size[$np]} $cntr
# do
# echo "Failed at: ${grid[$np]} $vp $N $cntr"
# sleep 60
# done
## done
# done
# done
#done