-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_opt.sh
executable file
·45 lines (36 loc) · 1.61 KB
/
run_opt.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
#
# Sync cubo
#
#rsync -avz ${HOME}/etc/dr/tun_par/prato/ [email protected]:${HOME}/etc/dr/tun_par/prato/
#
# Start MPI jobs
#
#mpirun --mca btl tcp,sm,self -np 1 -host localhost r.coverage $1 ini_file=./parameters_gsm.ini tx_ini_sections=KPODVI1,KPODVI2,KPODVI3,KPODVI4 : -np 1 --hostfile hostfile.local ./run_worker.sh
mpirun --mca btl tcp,sm,self -np 1 -host localhost r.coverage $1 ini_file=./parameters_umts.ini tx_ini_sections=$( ./run_many.sh 1 ) : -np 3 --hostfile hostfile.local ./run_worker.sh -db
#mpirun --mca btl_tcp_if_include 192.168.1.0/24 --mca btl tcp,sm,self -np 1 -host localhost r.coverage $1 ini_file=./parameters_umts.ini tx_ini_sections=CSOSTA,CSOSTB,CSOSTC : -np 1 --hostfile hostfile.local ./run_worker.sh
############
## GPU-CPU comparison test-case follows
#
# Start MPI jobs for GPU
#
#mpirun --mca btl tcp,sm,self -np 1 -host localhost r.coverage -g ini_file=./parameters_gsm.ini tx_ini_sections=KPODVI1 : -np 1 --hostfile hostfile.local ./run_worker.sh
#
# Spare the output of the GPU job
#
#mv /tmp/worker.log /tmp/worker.gpu
#
# Start job for CPU
#
#mpirun --mca btl tcp,sm,self -np 1 -host localhost r.coverage -p ini_file=./parameters_gsm.ini tx_ini_sections=KPODVI1 : -np 1 --hostfile hostfile.local ./run_worker.sh
#
# Spare the output of the CPU job
#
#mv /tmp/worker.log /tmp/worker.cpu
#echo "***"
#echo "* $( wc -l /tmp/worker.cpu )"
#echo "* $( wc -l /tmp/worker.gpu )"
#echo "* GPU and CPU outputs differ in $( diff /tmp/worker.cpu /tmp/worker.gpu | wc -l )/$( wc -l /tmp/worker.cpu | cut -d' ' -f1 ) lines."
#echo "***"
#r.mapcalc diff=temp-temp1
#r.info diff
#r.colors map=diff color=elevation