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

IMSL library cannot be read

Anonymous32
Beginner
495 Views

I am trying to convert my Compaq Visual Fortran project into Intel Visual Fortran 10.1.

A program within the project used NUMERICAL_LIBRARIES module and with CVF it works fine.

I recently bought IMSL library for IVF 10.0 as it's the one compatible with IVF, but I got this compiling error:

Error: This module file was generated for a different platform or by an incompatible compiler or compiler release. It cannot be read.

Does anybody know how to resolve this ?

Thanks, Patricia

0 Kudos
1 Reply
Steven_L_Intel1
Employee
495 Views

I am trying to convert my Compaq Visual Fortran project into Intel Visual Fortran 10.1.

A program within the project used NUMERICAL_LIBRARIES module and with CVF it works fine.

I recently bought IMSL library for IVF 10.0 as it's the one compatible with IVF, but I got this compiling error:

Error: This module file was generated for a different platform or by an incompatible compiler or compiler release. It cannot be read.

Does anybody know how to resolve this ?

Thanks, Patricia

In Visual Studio, go to Tools > Options > Intel Fortran > General. Click on the ... button next to Include files. Remove from the list the CVF version of IMSL and add the path to the new one (usually C:Program FilesVNIimslfnl600IA32includeDLL). Then for the Library Files remove the CVF version and add C:Program FilesVNIimslfnl600IA32lib

In your main program, add the following two lines:

include 'link_fnl_static.h'
!DEC$ OBJCOMMENT LIB:'libguide.lib'

If your project had explicit mention of the IMSL libraries, such as under the linker properties, remove them.

For more information, see the compiler documentation under Building Applications >Using Libraries > Using IMSL.

I also suggest editing the system LIB, PATH and INCLUDE environment variables to remove the CVF IMSL paths and make sure the new paths are there.

0 Kudos
Reply