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

Link error with imsl.lib

sriralla
Beginner
614 Views
Hi all,

I recently loaded Compaq Visual Fortran Standard Edition Version 6.5 on my computer. I tried to build my program. It compiles and creates all the object files but I get the following linking error:

LINK : fatal error LNK1104: cannot open file "imsl.lib"
Error executing link.exe.

I do not have imsl.lib on my system. I went online and searched for some answers but could not find a proper solution. I played with project settings under Link and Fortran tabs, but nothing seems to work. I deleted all the object files and tried to rebuild, but that did not help either. Can someone point me in the right direction with some advice?

Thanks in advance!

Sriram
0 Kudos
3 Replies
Steven_L_Intel1
Employee
614 Views
In CVF (and Intel Visual Fortran), you have to have the Professional Edition in order to have the IMSL library. HP has not sold CVF Professional Edition since March 2004 (and will stop selling the Standard Edition at the end of December.) Intel offers a newer version of IMSL in Intel Visual Fortran Professional Edition.

Does your program actually use IMSL? Try removing the reference to imsl.lib (it may be under Project..Properties..Linker or may have been added directly to the project) and see if it builds.
0 Kudos
sriralla
Beginner
614 Views
I went into Project -> settings -> Fortran tab
Under the Libraries Category, I do not have "Use IMSL Math Library" checked. Other than this, I could not find any other reference to imsl in the project settings in the IDE. Can you be more specific as to where I have to remove any linker reference to imsl.

Alternatively, how do I know which portion of my code is actually invoking imsl.lib? Is there a website or link which specifies what is included in imsl.lib?

Sriram
0 Kudos
Steven_L_Intel1
Employee
614 Views
Try under Project..Settings..Link or Linker. Additional libraries/modules.

You can get more information about IMSL at http://www.vni.com/products/imsl/fortran/overview.html/
0 Kudos
Reply