First, we have to edit the makefile. The makefile has the name "Make.em64t". We have to point the makefile to the Intel MPI Directories.
To be specific,we have to change these lines of code:
#MPdir = /opt/intel/mpi/3.0
#MPinc = -I$(MPdir)/include64
#MPlib = $(MPdir)/lib64/libmpi.a
MPdir = /opt/soft/mpi/openmpi-1.4.2/intel/noib
MPinc = -I$(MPdir)/include
MPlib = $(MPdir)/lib/libmpi.a
Before we proceed, it is good to load the intel MPI module. This can be done by executing the command:module load intel openmpi
After, we have to run these 2 commands in the terminal: (to run these commands we have to be in the mp_linpack directory)
(1) make arch=em64t clean_arch_all
(2) make arch=em64t
Then, the executable and a .dat file are created and placed in the directory bin/em64t .
After, we have to move to that directory(cd bin/em64t).
We then have to edit the HPL.dat file. A website that helps us to do that, is
We submit our system's data, and then the website gives us suggestions about the data we should use for the HPL input file (HPL.dat).
To understand properly the parameters of the HPL input file, we have to take a look at the TUNING file, which is under the mp_linpack directory.
After we edit the HPL input file, we make a job script to execute the application.
A simple script could be the following:
##### run.job ---this script executes the xhpl executable #####
#PBS -N Lintest
#PBS -q batch
#PBS -l nodes=1:ppn=8,walltime=24:00:00
mpirun -np 8 path_to_executable_directory/xhpl
##### end of script file #####
we submit our script executing the command: qsub run.job
p.s: someone can find more details about how to run the Linpack benchmark reading the HOWTO.pdf