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

USE MSIMSL error

clementina_medina
2,413 Views
Hello,
I'm trying to compile a fortran code which I used to compile without any problem in windows, using fortran powerstation 4, in a Mac 0S 10.6 and Xcode. I obtained the following error:

error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MSIMSL]

As MSIMSL seems to be only a Windows library, I've tried replacing the line USE MSIMSL by

USE NUMERICAL_LIBRARIES but I get the same error.

What's the problem? Why it can't find this? What should I do?

Thanks in advance for your help.

Cheers

0 Kudos
4 Replies
Kevin_D_Intel
Employee
2,413 Views

Unlike our Fortran compiler for Windows, there is no IMSL library option available with the Intel Fortran compiler for Mac OS. I do not know if IMSL is available for Mac OS. You can check the Visual Numerics website or perhaps inquire within their User Forum.

An alternative is to consider using Math Kernel Library (MKL) equivalent routines. MKL is provided with the Intel Fortran compiler for Mac OS. Documentation is included with the installation.

To get past the compilation phase you must comment out or remove the IMSL specific USE statement noted. With making only that change you should next expect to see unresolved externals for the IMSL routines upon reaching the link phase.

If you want to provide the names of the IMSL routines used then others more versed in IMSL and MKL should be able to offer advice on the MKL alternative routines to use.

0 Kudos
mecej4
Honored Contributor III
2,413 Views
As Kevin Davis has already pointed out, the code seems to need the IMSL libraries which were included in some versions of Powerstation Fortran and some versions of Intel Fortran. For Windows, Linux and a few other OSs, IMSL has also been available as a third party add-on library (see www.vni.com) .

There is a slim chance that the library is named as being required, but is not really used. Try commenting out the 'USE MSIMSL' statement(s). If the program then compiles and links with no errors, you are home scot-free.

If that does not work, you have to see if VNI is working on a MAC version (they respond to the perceived/observed demand from users).

If that also fails, your options are (i) consider using a compiler that is available with IMSL for your OS (e.g., Absoft), (ii) Convert to MKL in place of IMSL, if the needed functionality is available in MKL or (iii) consider converting your code to use other libraries, such as those in Netlib or NAG.
0 Kudos
clementina_medina
2,413 Views
Thanks for the answers. I've commented the line with MSIMSL and I've got a lot of errors. It doesn't recognize the functions as GAMMA.
Actually, I have a main code which calls to different subroutines and modules, but it can't find them neither.
I'll try with another compiler as Absoft then.
Cheers
0 Kudos
Steven_L_Intel1
Employee
2,413 Views
Simply trying another compiler won't help - you need to buy the IMSL library for that compiler. In any case you will have to change the "USE MSIMSL" to something else (perhaps USE NUMERICAL_LIBRARIES) for any current IMSL implementation.

I would second the recommendation to see if the missing routines can be found in Intel Math Kernel Library (included with Intel Fortran) or NETLIB (free download).
0 Kudos
Reply