- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I get the following message when I compile my program:
/usr/local/lib/intel/mkl/lib/32/libmkl_lapack.so: undefined reference to `z_abs'
/usr/local/lib/intel/mkl/lib/32/libmkl_lapack.so: undefined reference to `c_sqrt'
/usr/local/lib/intel/mkl/lib/32/libmkl_lapack.so: undefined reference to `z_exp'
/usr/local/lib/intel/mkl/lib/32/libmkl_lapack.so: undefined reference to `c_exp'
/usr/local/lib/intel/mkl/lib/32/libmkl_lapack.so: undefined reference to `z_sqrt'
/usr/local/lib/intel/mkl/lib/32/libmkl_lapack.so: undefined reference to `s_cat'
/usr/local/lib/intel/mkl/lib/32/libmkl_lapack.so: undefined reference to `c_abs'
/usr/local/lib/intel/mkl/lib/32/libmkl_lapack.so: undefined reference to `s_copy'
/usr/local/lib/intel/mkl/lib/32/libmkl_lapack.so: undefined reference to `z_abs'
/usr/local/lib/intel/mkl/lib/32/libmkl_lapack.so: undefined reference to `c_sqrt'
/usr/local/lib/intel/mkl/lib/32/libmkl_lapack.so: undefined reference to `z_exp'
/usr/local/lib/intel/mkl/lib/32/libmkl_lapack.so: undefined reference to `c_exp'
/usr/local/lib/intel/mkl/lib/32/libmkl_lapack.so: undefined reference to `z_sqrt'
/usr/local/lib/intel/mkl/lib/32/libmkl_lapack.so: undefined reference to `s_cat'
/usr/local/lib/intel/mkl/lib/32/libmkl_lapack.so: undefined reference to `c_abs'
/usr/local/lib/intel/mkl/lib/32/libmkl_lapack.so: undefined reference to `s_copy'
It looks like it cannot find some library, but which one?
My linking command are:
ifort80 -o getgeo.x getgeo.o nr.o supprt.o extern.o rddata.o prutil.o -L/usr/local/lib/intel/intel_cc_80/lib/ -lsvml -lguide -lcxa -limf -lcprts -lifcore -L/usr/local/lib/intel/mkl/lib/32 -lmkl_lapack -lmkl_p4 -lmkl_def -lguide -lmkl
Thanks in advance
Mikkel
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for fast answer (even though I did not post it in the right environment)...
I think the libraries are supposed to be used by an intel compiler, but I do not know for sure, as I am not the administrator of the system. Is there any way to work around that if it is the case, that the library should be used with g77? Allthoug I am 99% sure that it is intended for intel compilers.
Mikkel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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