Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
6670 Discussions

Error in compiling OpneMPI withy intel compilers

Hi All!

I have the academic version of the Intel compilers ifort and icc (10.1.015) working in Ubuntu 8.04 (Hardy Heron) and I want to compile OpenMPI with Intel compilers. I have already MPICH2 (with Intel compilers) and Intel MPI Library for Linux working properly.
My configuration flag is :

./configure --prefix=/opt/openmpi CC=icc CXX=icpc F77=ifort FC=ifort

But while makeing I encounter the error :

libtool: link: icpc -O3 -DNDEBUG -finline-functions -pthread -o otfaux otfaux.o Control.o Handler.o State.o ../../otflib/.libs/libotf.a -lz -lnsl -lutil -pthread
../../otflib/.libs/libotf.a(OTF_File.o): In function `OTF_File_open_zlevel':
OTF_File.c:(.text+0x165): undefined reference to `sz_inflateInit_'
OTF_File.c:(.text+0x286): undefined reference to `sz_deflateInit_'
../../otflib/.libs/libotf.a(OTF_File.o): In function `OTF_File_close':
OTF_File.c:(.text+0x500): undefined reference to `sz_deflate'
OTF_File.c:(.text+0x546): undefined reference to `sz_deflateEnd'
OTF_File.c:(.text+0x54d): undefined reference to `sz_inflateEnd'
../../otflib/.libs/libotf.a(OTF_File.o): In function `OTF_File_seek':
OTF_File.c:(.text+0x979): undefined reference to `sz_inflateEnd'
OTF_File.c:(.text+0x98d): undefined reference to `sz_inflateInit_'
OTF_File.c:(.text+0x9a7): undefined reference to `sz_inflateSync'
../../otflib/.libs/libotf.a(OTF_File.o): In function `OTF_File_read':
OTF_File.c:(.text+0xb38): undefined reference to `sz_inflate'
../../otflib/.libs/libotf.a(OTF_File.o): In function `OTF_File_write':
OTF_File.c:(.text+0xd12): undefined reference to `sz_deflate'
OTF_File.c:(.text+0xdcc): undefined reference to `sz_deflate'
../../otflib/.libs/libotf.a(OTF_File.o): In function `OTF_File_open':
OTF_File.c:(.text+0x1075): undefined reference to `sz_inflateInit_'
OTF_File.c:(.text+0x1187): undefined reference to `sz_deflateInit_'
make[9]: *** [otfaux] Error 1
make[9]: Leaving directory `/home/mpb/Downloads/openmpi-1.4.2/ompi/contrib/vt/vt/extlib/otf/tools/otfaux'

Could anyone pinpoint the problem please? Regards
0 Kudos
1 Reply
Hi Bora,
I think it would be better if you ask this question to the C++ compiler forum: