HPL Installation Error Message undefined reference

HOW TO MAKE HPL.dat File Read http://www.studentcpu.com/2012/03/hpc-performance-calculator-hpl.html

while make hpl it is unable to find the option MPI_Send , MPI_Recv , MPI_Type_vector , MPI_Type_commit
/opt/cluster/benchmark_01/hpl-2.0//lib/Linux_PII_CBLAS/libhpl.a(HPL_spreadT.o): In function `HPL_spreadT':
HPL_spreadT.c:(.text+0x202): undefined reference to `MPI_Send'
HPL_spreadT.c:(.text+0x36c): undefined reference to `MPI_Send'
HPL_spreadT.c:(.text+0x3b8): undefined reference to `MPI_Recv'
HPL_spreadT.c:(.text+0x408): undefined reference to `MPI_Recv'
/opt/cluster/benchmark_01/hpl-2.0//lib/Linux_PII_CBLAS/libhpl.a(HPL_rollN.o): In function `HPL_rollN':
HPL_rollN.c:(.text+0x255): undefined reference to `MPI_Type_vector'
HPL_rollN.c:(.text+0x26a): undefined reference to `MPI_Type_commit'
HPL_rollN.c:(.text+0x2ad): undefined reference to `MPI_Irecv'
HPL_rollN.c:(.text+0x2ce): undefined reference to `MPI_Wait'
HPL_rollN.c:(.text+0x2e3): undefined reference to `MPI_Type_free'
HPL_rollN.c:(.text+0x328): undefined reference to `MPI_Type_vector'
HPL_rollN.c:(.text+0x340): undefined reference to `MPI_Type_commit'
HPL_rollN.c:(.text+0x379): undefined reference to `MPI_Send'
HPL_rollN.c:(.text+0x391): undefined reference to `MPI_Type_free'

1)undefined reference to `Command_Option' - it is means compiler or binary file it is unable to find that particular option or function.
2)while configure or make hpl it is unable to find the MPI_Send. so we have to try different mpi like openmpi, mvapich2,compiler.
3)So Update the proper mpi in the Make file.
once updated then make or configure maintain the log file.

#./configure >> output.log 2>>output.log
then check the output.log file check  whether we are facing same problem or not using new mpi library.
Note: To Maintain the Output.log file it is good for troubleshooting the issue.

 After Successfully Installed.
[hclhpc@master Linux_PII_CBLAS]$ mpirun -np 1 ./xhpl
librdmacm: couldn't read ABI version.
librdmacm: assuming: 4
--------------------------------------------------------------------------
[[25878,1],0]: A high-performance Open MPI point-to-point messaging module
was unable to find any relevant network interfaces:

Module: OpenFabrics (openib)
Host: master.guwahati.com

Another transport will be used instead, although this may result in
lower performance.
--------------------------------------------------------------------------
HPL ERROR from process # 0, on line 419 of function HPL_pdinfo:
>>> Need at least 8 processes for these tests <<< HPL ERROR from process # 0, on line 621 of function HPL_pdinfo: >>> Illegal input in file HPL.dat. Exiting ... <<< CMA: unable to get RDMA device list 
#mpirun -host `hostname` -np 1 ./xhpl 
#mpirun -ifhn 10.0.0.1 -np 1 ./xhpl

Notes:
1)For library try gotoblas if face problem in library like  undefined reference to `cblas_dgemm
LAlib = /opt/cluster/benchmark/GotoBLAS/libgoto.a
2)For MPI try with latest openmpi and intel compiler for undefined reference `MPI_Send'.
3)For HPL benchmark it is properly installing for LBLAS (Make.Linux_PII_LBLAS) architecture Not for CBLAS(Make.Linux_PII_CBLAS) architecture.

Related post