- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bora,
I think it would be better if you ask this question to the C++ compiler forum:http://software.intel.com/en-us/forums/intel-c-compiler/
--Gennady

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page