- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just installed the evaluation MKL. I'm using IFC 7 and Visual Studio . Net 2002.
I'm trying call scfft1d (fft routine) from my fortran project, and I receive: error LNK2019: unresolved external symbol _scfft1d referenced in function _main.
My project file looks like this:
program mike
variables
external scfft1d
program body
.
.
call scfft1d(...)
end program mike
I assume the compiler is not seeing the mkl library. I've tried to set the library path in the linker, as well as the ifcvars.bat file. Clearly I've not done this correctly. I'm new to the Visual Studio environment, and I'm grateful for any advice to get up and running with mkl.
I'm trying call scfft1d (fft routine) from my fortran project, and I receive: error LNK2019: unresolved external symbol _scfft1d referenced in function _main.
My project file looks like this:
program mike
variables
external scfft1d
program body
.
.
call scfft1d(...)
end program mike
I assume the compiler is not seeing the mkl library. I've tried to set the library path in the linker, as well as the ifcvars.bat file. Clearly I've not done this correctly. I'm new to the Visual Studio environment, and I'm grateful for any advice to get up and running with mkl.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mielke,
First, make sure that the MKL include file is listed in the ifc.cfg default option file for IF7. That takes a
-I"path/MKL/include" line in the file. Second, make sure the library files (there are two of three of them for the IA32 version, depending on whether the libs are loaded statically or as DLL's. One is a main driver file and the others kernals for P4's and P3's.) I'm sure there is some way to specify these in ifc.cfg. Since I'm dumb, I just copied the files into the folder with the rest of the IF7 library files. Crude, but effective. Good luck.
Keith
First, make sure that the MKL include file is listed in the ifc.cfg default option file for IF7. That takes a
-I"path/MKL/include" line in the file. Second, make sure the library files (there are two of three of them for the IA32 version, depending on whether the libs are loaded statically or as DLL's. One is a main driver file and the others kernals for P4's and P3's.) I'm sure there is some way to specify these in ifc.cfg. Since I'm dumb, I just copied the files into the folder with the rest of the IF7 library files. Crude, but effective. Good luck.
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Keith,
Your suggestions worked for me, and I'm up and running. Thanks.
Your suggestions worked for me, and I'm up and running. Thanks.

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