Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29253 ディスカッション

Problem to use IMSL library

reidar_tyssen
ビギナー
1,685件の閲覧回数



I am migrating an application from QVF to IVF 10.1.13 and IMSL version 6.0 with VS2005/SP1

In the main program I have the following included the lines:

!

..

include 'link_fnl_static.h'

INCLUDE 'link_fnl_static_hpc.h' !(To use the static library form of the libraries and the Intel MKL)

!DEC$ OBJCOMMENT LIB:'libguide.lib'

USE NUMERICAL_LIBRARIES ! will declare the older interfaces.

..

..

The BuildLog.htm file is listet below:

Linking...

Link /OUT:"Debug/CaFeMS1.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:\\Program Files\\VNI\\imsl\\fnl600\\IA32\\lib" /MANIFEST /MANIFESTFILE:"C:\\CALC\\CaFeMS-IVF\\debug\\cafems1.exe.intermediate.manifest" /DEBUG /PDB:"Debug/CaFeMS1.pdb" /SUBSYSTEM:WINDOWS /ENTRY:"WinMainCRTStartup" /IMPLIB:"C:\\CALC\\CaFeMS-IVF\\debug\\cafems1.lib" kernel32.lib /MACHINE:I386 "Debug/Genpur.obj" "Debug/Matte2.obj" "Debug/Comrut.obj" "Debug/Matte1.obj" "Debug/ANGLR.obj" "Debug/Moduldata.obj" "Debug/TVRR46_E.obj" "Debug/Fortran_WinPrint_Direct.obj" "Debug/Base2.obj" "Debug/PcgrafCVF.obj" "Debug/Dialogs_E6.obj" "Debug/Plotgraph.obj" "Debug/Main_elast6b.obj" "Debug/Getopenfilename.obj" "Debug/messageboxes.obj" "Debug/Base2_03.obj" "Debug/EDITASSEMBLY.obj" "Debug/SectionData.obj" "Debug/FreqSweep.obj" "Debug/MOVEMENTS.obj" "Debug/DBASE_Operations.obj" "Debug/Elasub6.obj" "Debug/Inut.obj" "Debug/Mich.obj" "Debug/CalcNatFreq.obj" "Debug/Editdata.obj" "Debug/ELAST6.res" "C:\\IVF-Fortran\\PCLibIntelFortran\\PCLibIF\\PCLibIF\\Debug\\PCLibIF.lib"

Link: executing 'link'

imsls_err.lib(e1init.obj) : error LNK2019: unresolved external symbol __OtsMove referenced in function _E1INIT

imsl.lib(DLFSCG.obj) : error LNK2001: unresolved external symbol __OtsMove

imsl.lib(DCCGCG.obj) : error LNK2001: unresolved external symbol __OtsMove

imsl.lib(ZTRSV.obj) : error LNK2001: unresolved external symbol __OtsMove

imsls_err.lib(e1psh.obj) : error LNK2001: unresolved external symbol __OtsMove

imsl.lib(DL2CCG.obj) : error LNK2001: unresolved external symbol __OtsMove

imsl.lib(DLFICG.obj) : error LNK2001: unresolved external symbol __OtsMove

imsl.lib(DMACH.obj) : error LNK2001: unresolved external symbol __OtsMove

imsl.lib(DL2TCG.obj) : error LNK2001: unresolved external symbol __OtsMove

imsl.lib(DLSACG.obj) : error LNK2001: unresolved external symbol __OtsMove

imsl.lib(IUMAG.obj) : error LNK2001: unresolved external symbol __OtsMove

imsl.lib(DL2ACG.obj) : error LNK2001: unresolved external symbol __OtsMove

imsl.lib(ACHAR.obj) : error LNK2001: unresolved external symbol __OtsMove

imsl.lib(DL2CCG.obj) : error LNK2019: unresolved external symbol _dcdivdc referenced in function _DL2CCG

imsl.lib(DL2TCG.obj) : error LNK2001: unresolved external symbol _dcdivdc

imsl.lib(ZTRSV.obj) : error LNK2001: unresolved external symbol _dcdivdc

imsl.lib(DQMUL.obj) : error LNK2019: unresolved external symbol _dpowi referenced in function _DQMUL

imsls_err.lib(e1psh.obj) : error LNK2019: unresolved external symbol __OtsMoveMinimum referenced in function _E1PSH

imsls_err.lib(m1vech.obj) : error LNK2001: unresolved external symbol __OtsMoveMinimum

imsls_err.lib(e1psh.obj) : error LNK2019: unresolved external symbol __OtsFill referenced in function _E1PSH

imsls_err.lib(e1init.obj) : error LNK2001: unresolved external symbol __OtsFill

imsls_err.lib(m1vech.obj) : error LNK2001: unresolved external symbol __OtsFill

imsls_err.lib(e1pop.obj) : error LNK2019: unresolved external symbol __OtsStringCompareEqlPadded referenced in function _E1POP

imsls_err.lib(c1tci.obj) : error LNK2019: unresolved external symbol __OtsStringIndex referenced in function _C1TCI

imsls_err.lib(e1ucs.obj) : error LNK2019: unresolved external symbol __FXDMOD referenced in function _E1UCS

imsls_err.lib(e1ucs.obj) : error LNK2001: unresolved external symbol __FXDMOD

imsls_err.lib(e1ucs.obj) : error LNK2001: unresolved external symbol __FXDMOD

Debug/CaFeMS1.exe : fatal error LNK1120: 8 unresolved externals

CaFeMS1 - 28 error(s), 0 warning(s)

I have followed the installation and set up in the Tools Option Fortan menu .
I may compile, link and execute the validation program imslmp.exe with the correct result.

Anyway, some routines are missing, and I am wondering why.


Canyou give me a tip??


Best regards
Reidar

0 件の賞賛
7 返答(返信)
Steven_L_Intel1
従業員
1,685件の閲覧回数
Reidar,

It looks as if you are linking to the CVF version of IMSL, though it is not immediately clear to me how. Look at Tools > Options > Intel Visual Fortran > Compilers > Library Files and see if a "DF98\IMSL" folder is listed there. If there is $(LIB) there, remove it.

If this doesn't help, please set the project property Linker > General > Show Progress to "Display some progress messages", relink, and attach the buildlog.htm to a reply here.

Just checking - you did do a Rebuild of the solution at some point?
reidar
新しいユーザー
1,685件の閲覧回数
Hello Steve,

My library directory list looks like this:

$(IFortInstallDir)Lib
$(VCInstallDir)atlmfc\lib
$(VCInstallDir)lib
$(VCInstallDir)PlatformSDK\lib
$(FrameworkSDKDir)lib
C:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\LIB
C:\Program Files\Microsoft Visual Studio 8\VC\LIB
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\lib
C:\Program Files\VNI\imsl\fnl600\IA32\lib

I have created the build.log file as you requested, but I'm not able to uppload it. The "search folder" button
doesn't work.If you have an e-mail address I can send it directly to you.

And yes, I have performed many rebuilds, but never secceeded to link....

Best regards
Reidar

reidar.tyssen@rolls-roce.com



Steven_L_Intel1
従業員
1,685件の閲覧回数
Send me the log at steve.lionel at intel dot com, though you may want to read through the "attaching files" article again.
reidar
新しいユーザー
1,685件の閲覧回数

Steve, I sent you the logfile by e-mail yesterday..

Today I also managed to upload it..

Regards
reidar

Steven_L_Intel1
従業員
1,685件の閲覧回数
Looking at the log, it seems that the linker is finding some IMSL libraries in an unusual place. The log doesn't identify a path - how many copies of imsls_err.lib do you have on your system and where are they? Do you have any IMSL libraries in your project folder? Can you attach the .vfproj file from your project?
reidar
新しいユーザー
1,685件の閲覧回数

yes, pls find attached the .vfproj

The imsls_err.lib file is present in two folders
- c:\calc\CaFeMs (that is for CVF)
- c:\calc\CaFeMs-IVF (that is for IVF) is maybe a copy of the first
- C:\Program Files\VNI\imsl\fnl600\IA32\lib

Best regards
Reidar

Steven_L_Intel1
従業員
1,685件の閲覧回数
How many copies of imsl.lib do you have on your system and where are they? Somehow you're pulling in a CVF version of imsl.lib.

You might try this - uninstall IMSL and reinstall from the download.
返信