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

Linking IMSL 7 with IVF 2016

Graham_G_
Beginner
297 Views

Hi,

I have just upgraded to the latest version of IVF (parallel studio xe 20016) and IMSL (7) (I have the composer edition with IMSL).  I am running Visual Studio Shell 2010.  I have legacy code dating back to CVF which uses IMSL routines, which includes the following lines in the main program (which worked with the previous version of IVF:

INCLUDE 'link_fnl_static.h'

!DEC$ OBJCOMMENT LIB:'libiomp5md.lib'

When I try to compile the code in the new fortran version I get a the following errors:

Error 1  error #5102: Cannot open include file 'link_fnl_static.h' C:\Working\Design\ASM2d Rev 2c\ASM2d\ASM2d.f90 776 

Error 2  error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [NUMERICAL_LIBRARIES] C:\Working\Design\ASM2d Rev 2c\ASM2d\ASM2d.f90 773 

I read the topic 'Installing and using the IMSL libraries', which describes how to select options in Visual Studio (and the command line, which unfortunately I am unfamiliar with).  I'm guessing VS shell is not correctly configured ?  But how do I change VS shell to the right settlings and what are the right settlings ? Or is there something else wrong ?

Regards

 

 

 

 

 

0 Kudos
4 Replies
mecej4
Honored Contributor III
297 Views

Did you go through the steps in "Using the IMSL Libraries from the Integrated Development Environment (Windows* OS)" at https://software.intel.com/en-us/node/524759 ?

0 Kudos
Steven_L_Intel1
Employee
297 Views

When you install a new version of Parallel Studio XE, you may have to redo any modifications of include and library paths.

0 Kudos
Graham_G_
Beginner
297 Views

Thanks for the comments, but the information at  https://software.intel.com/en-us/node/524759 seems to relate to Visual Studio (which I don't have) and not Visual Studio Shell (which I do have).  When I go into Tools > Options I get Intel Composer XE.  When I go into that I get 'Codecov' and 'Profmerge' options and not any option that allows me to select Visual Fortran or compliers etc.  So I'm still not clear about what I need to do.

Regards 

0 Kudos
Steven_L_Intel1
Employee
297 Views

Visual Studio Shell is the same as Visual Studio as far as this is concerned. If you are seeing "Intel Composer XE" then you don't have the 2016 product properly installed. It should look like this:

Capture_0.PNG

 

If you're not seeing this, try the repair step at https://software.intel.com/en-us/articles/troubleshooting-fortran-integration-issues-with-visual-studio/

0 Kudos
Reply