Hello everybody,

I desperately trying to compile on a SLES 11 SP3 OpenMPI 1.10.0 with MXM and 
FCA support.

export MXM_DIR=/opt/mellanox/mxm
export KNEM_DIR=$(find /opt -maxdepth 1 -type d -name "knem*" -print0)
export FCA_DIR=/opt/mellanox/fca
export HCOLL_DIR=/opt/mellanox/hcoll

rm -rf build
mkdir build 
cd build

../configure --prefix=$FINAL_DIR --with-lsf --enable-mca-no-build=btl-usnic 
--with-verbs --with-hwloc=internal --with-fca=$FCA_DIR --with-mxm=$MXM_DIR 
--with-knem=$KNEM_DIR --enable-static


I had to enable static otherwise MXM fails. Anyway, almost at the end it 
continues to fails because of -lz problem

Creating mpi/man/man3/OpenMPI.3 man page...
  CCLD     libmpi.la
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: 
cannot find -lz
collect2: ld returned 1 exit status
make[2]: *** [libmpi.la] Error 1
make[2]: Leaving directory `/tmp/openmpi-1.10.0/build/ompi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/openmpi-1.10.0/build/ompi'
make: *** [all-recursive] Error 1


Any suggestion to overcome this issue?

The kernel is not very old but the GCC is...

$gcc --version
gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973]
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ uname -a
Linux testing 3.0.93-0.8-default #1 SMP Tue Aug 27 08:44:18 UTC 2013 (70ed288) 
x86_64 x86_64 x86_64 GNU/Linux


I see libz.so under /lib64 ...

--
Mr. Filippo SPIGA, M.Sc.
http://fspiga.github.io ~ skype: filippo.spiga

«Nobody will drive us out of Cantor's paradise.» ~ David Hilbert

*****
Disclaimer: "Please note this message and any attachments are CONFIDENTIAL and 
may be privileged or otherwise protected from disclosure. The contents are not 
to be disclosed to anyone other than the addressee. Unauthorized recipients are 
requested to preserve this confidentiality and to advise the sender immediately 
of any error in transmission."


Reply via email to