Based on https://howtoforge.com/tutorial/hpl-high-performance-linpack-benchmark-raspberry-pi/
Install
- gfortran (
gcc-fortran
) - blas (
openblas
) - mpi (
openmpi
)
- Get newest version from http://www.netlib.org/benchmark/hpl/
- Unpack contents into
~/hpl
- cd into
~/hpl/setup
and executesh make_generic
- Copy
~/hpl/setup/Make.UNKNOWN
to~/hpl/Make.L64
- Set
ARCH
to the suffix of the Makefile (e.g.L64
)TOPdir
to the root directory ofhpl
(e.g.hpl
)MPinc
to the location of the MPI header files (e.g.-I /usr/include/openmpi
)MPlib
to the name of the MPI library (e.g./usr/lib/openmpi/libmpi.so
)LAinc
to the location of the LA header files (e.g./usr/include
)LAlib
to the name of the LA library (e.g.-lblas
)
make arch=L64
- Edit
HPL.dat
-- this is magic - Run
xhpl