Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29276 Discussions

Configuring IMSL libraries for use from VS 2010

tuttle1952
Beginner
1,340 Views
Iam a former Compaq VF user and recently purchased/installed Intel Visual Fortran Composer XE 2011 and MS Visual Studios 2010.I am trying to use IMSL Libraries, but apparently cannot "configure" VS 2010 properly. I've tried both versioons of the "Library" and "Include" modifications described at

http://software.intel.com/en-us/articles/installing-and-using-the-imsl-libraries/?wapkw=imsl+library

...but when attempting to compile I get an error message similar to:

error #5102: Cannot open include file 'link_fnl_shared.h'

...what am I doing wrong?
0 Kudos
4 Replies
Steven_L_Intel1
Employee
1,340 Views
Did you purchase the version with IMSL and install IMSL? Did you add the correct entries for both Win32 and x64? Please paste here the contents of the "Include files" list.
0 Kudos
mecej4
Honored Contributor III
1,340 Views
> .what am I doing wrong?

The question before that is "what did you do?" Are you trying to build in a command window, or inside the VS GUI? What are the Include and Library search paths in effect? What do the compiler and linker command lines say?

Using IMSL as a "third party" library involves almost the same steps and issues as with any other third party library, with an additional complexity: the library is in more than one piece.
0 Kudos
tuttle1952
Beginner
1,340 Views
Hi Steve:

Iteach engineeringat a university and am not a FORTRAN expert. Ihave usedFORTRAN throughout my career to develop many simple (non-commercial) codes I use in my work, and would like to continue to use them. Some use IMSL library routines. I am new to Intel and Microsoft Visual Studio products however.

I purchasedan IntelFortran complier from adistributor (CDW-G) that provides this service to my university. The description on the Purchase Order is:

ACAD INTEL VIS FORT COM XE IMSL 2011 (Mfg#: INT-FXI110WSAB01Y)

I was told that this version includes the IMSL libraries. However, this site:

http://software.intel.com/en-us/articles/installing-and-using-the-imsl-libraries/?wapkw=imsl+library

includes the following statement: "The IMSL libraries are supplied on a second DVD in boxed products and as separate downloads from the Intel Software Development Products Registration Center."

I received only one DVD. I have visited the Software Dev Prod Reg Center and may have downloaded the approriate files but am not sure.

Here are the contents of the "Include files" list (I added the last line):

$(IFortInstallDir)compiler\include

$(IFortInstallDir)compiler\include\Intel64

$(IFortInstallDir)mkl\include

$(VCInstallDir)atlmfc\include

$(VCInstallDir)include

$(WindowsSdkDir)include

$(FrameworkSDKDir)include

$(FNL_DIR)\Intel64\include\d11

Thanks for any help you can provide!

0 Kudos
Steven_L_Intel1
Employee
1,340 Views
IMSL needs to be installed separately. You should have received a second DVD, but you can download the IMSL installer from the Intel Registration Center. Please check there, and download the IMSL installer for Intel 64, which seems to be the one you want to use. (Make sure your build configuration is "x64").

I do note an error in what you entered - where you have "d11" it should be "dll" - lowercase letter L. Also, this will be valid only for building a 64-bit configuration.
0 Kudos
Reply