- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
when linking the lapack lib using ifort (l_fc_pc_8.0.039_pe044.1 on a PIII system) I get an undefined reference error for a couple of routines. With ifc 7.1 everything works fine. I built the library for both compilers in the same manner.
I suspect that in building the lapack lib, ifort links in some P4 specific/optimized library. Could that be the case and is there a way to prevent that, e.g. using -lm?
ifort -O3 -xK -Vaxlib -o lid90 obj/utils.o obj/opticalModule.o obj/lidorta.o obj/main.o -L/usr/people/soestvg/lib/libifort -llapack95 -llapack -lblas -lmath
/usr/people/soestvg/lib/libifort/liblapack.a(ilaenv.o): In function `ilaenv_':
ilaenv.o(.text+0x128): undefined reference to `f_cpystr'
ilaenv.o(.text+0x183): undefined reference to `f_cpystr'
/usr/people/soestvg/lib/libifort/liblapack.a(xerbla.o): In function `xerbla_':
xerbla.o(.text+0x12): undefined reference to `f_iob'
xerbla.o(.text+0x27): undefined reference to `f_iob'
xerbla.o(.text+0x3f): undefined reference to `f_iob'
xerbla.o(.text+0x48): undefined reference to `f_iob'
xerbla.o(.text+0x51): undefined reference to `f_stop'
make: *** [lid90] Error 1
Any help is appreciated.
Cheers,
Gijs
when linking the lapack lib using ifort (l_fc_pc_8.0.039_pe044.1 on a PIII system) I get an undefined reference error for a couple of routines. With ifc 7.1 everything works fine. I built the library for both compilers in the same manner.
I suspect that in building the lapack lib, ifort links in some P4 specific/optimized library. Could that be the case and is there a way to prevent that, e.g. using -lm?
ifort -O3 -xK -Vaxlib -o lid90 obj/utils.o obj/opticalModule.o obj/lidorta.o obj/main.o -L/usr/people/soestvg/lib/libifort -llapack95 -llapack -lblas -lmath
/usr/people/soestvg/lib/libifort/liblapack.a(ilaenv.o): In function `ilaenv_':
ilaenv.o(.text+0x128): undefined reference to `f_cpystr'
ilaenv.o(.text+0x183): undefined reference to `f_cpystr'
/usr/people/soestvg/lib/libifort/liblapack.a(xerbla.o): In function `xerbla_':
xerbla.o(.text+0x12): undefined reference to `f_iob'
xerbla.o(.text+0x27): undefined reference to `f_iob'
xerbla.o(.text+0x3f): undefined reference to `f_iob'
xerbla.o(.text+0x48): undefined reference to `f_iob'
xerbla.o(.text+0x51): undefined reference to `f_stop'
make: *** [lid90] Error 1
Any help is appreciated.
Cheers,
Gijs
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ifort 8.0 has a completely different group of WRITE support functions.
It looks like you have tried to link a liblapack.a which you built with 7.1. Only the libsvml libraries should differ between P-III and other processor targets.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Erm, right. I must have mixed something up building the library. It works now.
Thanks
Gijs
Thanks
Gijs

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