Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

Common sources with IMSL on IFC and CVF

eremchenko
Beginner
578 Views
Almost all my colleagues use CVF 6.6, so did I some time before. Now I use IFC and MSVS.NET 2005. There are problems with code that was writtenin CVF and uses IMSL library. I have read the documentation on usage IMSL in IFC and was supprised that I have to rewrite my sources in order to compile them with IFC. May be I misunderstand something? Is that possible to have common source files in f90 format that use IMSL and can be compiled by CVF and IFC simultaneously? May be there are some additional options for compiler?
0 Kudos
2 Replies
Steven_L_Intel1
Employee
578 Views

What did you read that made you think that? You don't have to rewrite your sources.

What you will have to do is change the set of libraries linked against, selecting the set you want from the four offered as described in the Building Applications manual section on Using Libraries..Using IMSL Libraries.

The only thing I can think of that may be an issue is if you have USE IMSL or USE MSIMSL, as these modules are not provided. But you can easily accomodate that by adding a source to your project with:

MODULE IMSL
USE NUMERICAL_LIBRARIES
END MODULE IMSL

It is true that IMSL now documents a new coding style, with the USE xxx_INT modules, but the old ways still work, even if you are using strict F77-style code.

0 Kudos
eremchenko
Beginner
578 Views

I've read "Using the IMSL Libraries from the Integrated Development Environment" and tried some example from "IMSL Fortran 90 MP Library Help" (from CVF). I was able to make it work only with new library interface by rewriting calls.

Yes, the problem was with using appropriate modules, (before I found only IMSL_LIBARIES). After adding a source with IMSL module that you suggested everything builds successfully.

Thank you!

0 Kudos
Reply