- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I am trying to compile a Fortran code that invokes an IMSL library routine. I get the following error:
error #5102: Cannot open include file 'link_fnl_shared.h'
I installed IMSL from RogueWave using a license file they provided me with. I followed all the instructions indicated here. I use Visual Studio 2019.
Can someone help me please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The compiler I am using is Intel® Fortran Compiler Classic 2021.1.1 [Intel(R) 64].
The IMSL library I installed is Fortran Numerical Library 2020, Platform Windows 10 / Parallel Studio 2019 (x64).
In Visual Studio, Menu Tools -> Options -> Intel Compilers and Libraries -> IFORT Intel Fortran Classic I added to Libraries:
$C:\Program Files (x86)\RogueWave\imsl\fnl-2020.0.0\win100in170x64\lib
and I added to Include:
$C:\Program Files (x86)\RogueWave\imsl\fnl-2020.0.0\win100in170x64\include\dll
Is there something else I should be doing?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which version of the Intel compiler do you use, and which version of IMSL? Depending on the answers, you may need to run the IMSL configuration script fnlsetup.bat in order to inform the compiler where to look for the IMSL include files, libraries and DLLs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The compiler I am using is Intel® Fortran Compiler Classic 2021.1.1 [Intel(R) 64].
The IMSL library I installed is Fortran Numerical Library 2020, Platform Windows 10 / Parallel Studio 2019 (x64).
In Visual Studio, Menu Tools -> Options -> Intel Compilers and Libraries -> IFORT Intel Fortran Classic I added to Libraries:
$C:\Program Files (x86)\RogueWave\imsl\fnl-2020.0.0\win100in170x64\lib
and I added to Include:
$C:\Program Files (x86)\RogueWave\imsl\fnl-2020.0.0\win100in170x64\include\dll
Is there something else I should be doing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Actually, I solved the issue by removing the '%'sign in front of both directories
In Visual Studio, Menu Tools -> Options -> Intel Compilers and Libraries -> IFORT Intel Fortran Classic
add to Libraries:
C:\Program Files (x86)\RogueWave\imsl\fnl-2020.0.0\win100in170x64\lib
add to Include:
C:\Program Files (x86)\RogueWave\imsl\fnl-2020.0.0\win100in170x64\include\dll
- 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