make consistent with new way of launching breaking with ACML and MKL
Jason D. Clinton [Tue, 8 Jul 2008 21:00:10 +0000 (16:00 -0500)]
etc/breakin/burnin/hpl
usr/local/breakin/hpl/HPL-bottom.txt [new file with mode: 0644]
usr/local/breakin/hpl/HPL-middle.txt [new file with mode: 0644]
usr/local/breakin/hpl/HPL-top.txt [new file with mode: 0644]

index 9ad76cf..50cbe73 100755 (executable)
@@ -2,67 +2,65 @@
 
 . /etc/library.sh
 
-MATHLIB="atlas"
-
 # read in our hardware configs
 if [ -e /var/run/breakin.dat ]
 then
        . /var/run/breakin.dat
 fi
 
-BINARY="xhpl.amd.${MATHLIB}"
+BINARY="xhpl.amd"
 RUNNING_JOB=""
 
 # the top template
-cat /usr/breakin/hpl/HPL-top.txt > /usr/local/breakin/hpl/HPL.dat
+cat /usr/local/breakin/hpl/HPL-top.txt > /usr/local/breakin/hpl/HPL.dat
 
 # we first figure out our N based on the ammount of RAM we have
-N_SIZE=`/usr/breakin/hpl/hpl_calc_n.${MATHLIB} ${MEM_TOTAL}`
+N_SIZE=`/usr/local/bin/hpl_calc_n ${MEM_TOTAL}`
 
-echo "${N_SIZE}         Ns" >> /usr/breakin/hpl/HPL.dat
+echo "${N_SIZE}         Ns" >> /usr/local/breakin/hpl/HPL.dat
 
-cat /usr/breakin/hpl/HPL-middle.txt >> /usr/local/breakin/hpl/HPL.dat
+cat /usr/local/breakin/hpl/HPL-middle.txt >> /usr/local/breakin/hpl/HPL.dat
 
 if [ "${CPU_QTY}" = "1" ]
 then
-       echo "1     Ps" >> /usr/breakin/hpl/HPL.dat     
-       echo "1     Qs" >> /usr/breakin/hpl/HPL.dat     
+       echo "1     Ps" >> /usr/local/breakin/hpl/HPL.dat       
+       echo "1     Qs" >> /usr/local/breakin/hpl/HPL.dat       
 
 elif [ "${CPU_QTY}" = "2" ]
 then
 
-       echo "2     Ps" >> /usr/breakin/hpl/HPL.dat     
-       echo "1     Qs" >> /usr/breakin/hpl/HPL.dat     
+       echo "2     Ps" >> /usr/local/breakin/hpl/HPL.dat       
+       echo "1     Qs" >> /usr/local/breakin/hpl/HPL.dat       
 
 elif [ "${CPU_QTY}" = "4" ]
 then
 
-       echo "2     Ps" >> /usr/breakin/hpl/HPL.dat     
-       echo "2     Qs" >> /usr/breakin/hpl/HPL.dat     
+       echo "2     Ps" >> /usr/local/breakin/hpl/HPL.dat       
+       echo "2     Qs" >> /usr/local/breakin/hpl/HPL.dat       
 
 elif [ "${CPU_QTY}" = "8" ]
 then
 
-       echo "4     Ps" >> /usr/breakin/hpl/HPL.dat     
-       echo "2     Qs" >> /usr/breakin/hpl/HPL.dat     
+       echo "4     Ps" >> /usr/local/breakin/hpl/HPL.dat       
+       echo "2     Qs" >> /usr/local/breakin/hpl/HPL.dat       
 
 elif [ "${CPU_QTY}" = "16" ]
 then
 
-       echo "4     Ps" >> /usr/breakin/hpl/HPL.dat     
-       echo "4     Qs" >> /usr/breakin/hpl/HPL.dat     
+       echo "4     Ps" >> /usr/local/breakin/hpl/HPL.dat       
+       echo "4     Qs" >> /usr/local/breakin/hpl/HPL.dat       
 elif [ "${CPU_QTY}" = "32" ]
 then
 
-       echo "8     Ps" >> /usr/breakin/hpl/HPL.dat     
-       echo "4     Qs" >> /usr/breakin/hpl/HPL.dat     
+       echo "8     Ps" >> /usr/local/breakin/hpl/HPL.dat       
+       echo "4     Qs" >> /usr/local/breakin/hpl/HPL.dat       
 fi
-cat /usr/breakin/hpl/HPL-bottom.txt >> /usr/local/breakin/hpl/HPL.dat
+cat /usr/local/breakin/hpl/HPL-bottom.txt >> /usr/local/breakin/hpl/HPL.dat
 
 echo "${CPU_MODEL}" | grep "Intel" > /dev/null 2>&1
 if [ "$?" = "0" ]
 then
-       BINARY="xhpl.intel.${MATHLIB}"
+       BINARY="xhpl.intel"
 fi
 
 
@@ -71,8 +69,8 @@ GOTO_NUM_THREADS=1
 export OMP_NUM_THREADS GOTO_NUM_THREADS
 
 #export LD_LIBRARY_PATH=/opt/hpl/libs
-cd /usr/breakin/hpl
-/usr/breakin/mpi/bin/mpirun -np ${CPU_QTY} ${BINARY} > /tmp/hpl.log 2>&1
+cd /usr/local/breakin/hpl
+/usr/local/mpich/bin/mpirun -np ${CPU_QTY} /usr/local/bin/${BINARY} > /tmp/hpl.log 2>&1
 
 if [ "$?" -ne 0 ]
 then
diff --git a/usr/local/breakin/hpl/HPL-bottom.txt b/usr/local/breakin/hpl/HPL-bottom.txt
new file mode 100644 (file)
index 0000000..eed7aa8
--- /dev/null
@@ -0,0 +1,19 @@
+16.0         threshold
+1            # of panel fact
+0            PFACTs (0=left, 1=Crout, 2=Right)
+1            # of recursive stopping criterium
+2            NBMINs (>= 1)
+1            # of panels in recursion
+2            NDIVs
+1            # of recursive panel fact.
+0 1 2        RFACTs (0=left, 1=Crout, 2=Right)
+1            # of broadcast
+0            BCASTs (0=1rg,1=1rM,2=2rg,3=2rM,4=Lng,5=LnM)
+1            # of lookahead depth
+0            DEPTHs (>=0)
+2            SWAP (0=bin-exch,1=long,2=mix)
+64           swapping threshold
+0            L1 in (0=transposed,1=no-transposed) form
+0            U  in (0=transposed,1=no-transposed) form
+1            Equilibration (0=no,1=yes)
+8            memory alignment in double (> 0)
diff --git a/usr/local/breakin/hpl/HPL-middle.txt b/usr/local/breakin/hpl/HPL-middle.txt
new file mode 100644 (file)
index 0000000..5655a73
--- /dev/null
@@ -0,0 +1,4 @@
+1            # of NBs
+80     NBs
+0            PMAP process mapping (0=Row-,1=Column-major)
+1            # of process grids (P x Q)
diff --git a/usr/local/breakin/hpl/HPL-top.txt b/usr/local/breakin/hpl/HPL-top.txt
new file mode 100644 (file)
index 0000000..bde8add
--- /dev/null
@@ -0,0 +1,5 @@
+HPLinpack benchmark input file
+Innovative Computing Laboratory, University of Tennessee
+HPL.out      output file name (if any)
+6            device out (6=stdout,7=stderr,file)
+1            # of problems sizes (N)