-
Notifications
You must be signed in to change notification settings - Fork 0
/
script.sh
28 lines (24 loc) · 800 Bytes
/
script.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
printf "14\n\n" >> /data/out.txt
for i in {1..10}
do
mpiexec --allow-run-as-root --np 5 -H localhost:1,tb3-ib:4 -mca plm_rsh_args "-p 3333" thread 1073741825 >> /data/out.txt
sleep 10s;
done
printf "23\n\n" >> /data/out.txt
for i in {1..10}
do
mpiexec --allow-run-as-root --np 5 -H localhost:2,tb3-ib:3 -mca plm_rsh_args "-p 3333" thread 1073741825 >> /data/out.txt
sleep 10s;
done
printf "32\n\n" >> /data/out.txt
for i in {1..10}
do
mpiexec --allow-run-as-root --np 5 -H localhost:3,tb3-ib:2 -mca plm_rsh_args "-p 3333" thread 1073741825 >> /data/out.txt
sleep 10s;
done
printf "41\n\n" >> /data/out.txt
for i in {1..10}
do
mpiexec --allow-run-as-root --np 5 -H localhost:4,tb3-ib:1 -mca plm_rsh_args "-p 3333" thread 1073741825 >> /data/out.txt
sleep 10s;
done