Hi ,
I've found down the way to figure out that problems. So I post the
solution here in order to help others with same probelm.
Problems : Could not compile Linpack HPL benchmark under Debian Sarge
clusters with LAM/MPI 7.1.1
Compiled errors : posted in the last mail.
Reason : HPL cound not determine LAM/MPI library.
Solution :
- There're a little bit tricky when set the path to LAM/MPI library
In Make.Linux_P4SSE_CBLAS , edit as following the path as following
--------------------------
MPdir = /usr/lib/lam
MPinc = -I$(MPdir)/include
# notice that the right mpi library are libmpi.so , liblam.so not
libmpi.a , liblam.a
MPlib = $(MPdir)/lib/libmpi.so $(MPdir)/lib/liblam.so
-----------------------------
Save Make.Linux_P4SSE_CBLAS and run make arch=Linux_P4SSE_CBLAS to
compile HPL. The make process is now compiled ok (There's some warning
but ok).
Soon you get into the stage of running excutable file xhpl in
$HPL/bin/Linux_P4SSE_CBLAS
# mpirun -np 4 xhpl
Your process will be rejected with below errors
HPL ERROR from process #0 online 355 of function HPL_pdinfo
>>Number of values of NB is less than 1 or greater than 20 <<
The reason caused those error is the ATLAS library installed with
Debian is not specified for i386 arch=Linux_P4SSE2 .
You need to recompile the ATLAS library in order to make it compatible
with Linux_P4SSE2.
First, you should remove the atlas packages installed with Debian
#sudo apt-get remove atlas3-base atlas3-base-dev atlas3-sse2 atlas3-sse2-dev
Next, get the lastest stable ATLAS source code from
http://math-atlas.sourceforge.net/ and install
#tar xvjf atlas-*.tar.bz2
#cd ATLAS
#make
#make arch=Linux_P4SSE2
After install ATLAS, you have to edit your Make.Linux_P4SSE_CBLAS file
in HPL dir to point ATLAS path to right folder fo your just-installed
ATLAS library.
Now, compile HPL again. xhdl excutable should run ok then.
Hope this help others.
Cheers,
Gavin Tran
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDtPezQipgvQyG5e4RAv4WAJ0bpEAHemKWf+yaJ23JwETylJct/wCdHQC6
8HsnvA0JLJedWHkFUFKFj1A=
=FSoP
-----END PGP SIGNATURE-----
|