- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to link mkl version 8.0.2 with a program using lapack95 spev. I've tried using:
ifort -L/opt/intel/mkl/8.0.2/lib/32/ -lmkl_lapack95 -lmkl_lapack -lmkl_ia32 -lguide -lpthread hw02p03.f90
I obtain the following error:
/tmp/ifortfTlvvR.o(.text+0x134): In function `MAIN__':
: undefined reference to `spev_'
Clearly, there's something wrong with how I'm linking this. Could I please get an explanation for the proper way to link to the library when I compile?
Chris
ifort -L/opt/intel/mkl/8.0.2/lib/32/ -lmkl_lapack95 -lmkl_lapack -lmkl_ia32 -lguide -lpthread hw02p03.f90
I obtain the following error:
/tmp/ifortfTlvvR.o(.text+0x134): In function `MAIN__':
: undefined reference to `spev_'
Clearly, there's something wrong with how I'm linking this. Could I please get an explanation for the proper way to link to the library when I compile?
Chris
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1) find the location where the interfaces are stored. usually it is a directory named include inside the intel directory
2) compile all f90 files in order to produce the necessary modules
3) when compiling your application use the -I switch pointing to the include directory where the modules are
Evans
2) compile all f90 files in order to produce the necessary modules
3) when compiling your application use the -I switch pointing to the include directory where the modules are
Evans

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