HPL Script

From Define Wiki
Revision as of 15:26, 25 November 2014 by Michael (talk | contribs) (Created page with "<syntaxhighlight> #!/bin/bash module load openmpi/gcc/64/1.8.2-mlnx-ofed2 cd /home/test/imb/src threads=20 for ((i=2; i<=36; i++)) do if [ "$i" -gt "9" ] then ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
#!/bin/bash

module load openmpi/gcc/64/1.8.2-mlnx-ofed2 
cd /home/test/imb/src

threads=20

for ((i=2; i<=36; i++))
do

        if [ "$i" -gt "9" ]
        then
                nodea="compute0${i}"
        else
                nodea="compute00${i}"
        fi
        echo $nodea

        ssh $nodea "/home/test/linpack/l_lpk_p_11.2.1.009/linpack_11.2.1/benchmarks/linpack/xlinpack_xeon64 < /home/test/linpack/l_lpk_p_11.2.1.009/linpack_11.2.1/benchmarks/linpack/datafile > $nodea.out" &
done