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

imsl and intel 9.1. in visual studio

juan_rubio-ramirez
386 Views

I have this new 64 bit workstation. i am trying to make my intel 9.1 compiler call imsl libraries....this is a code i write in win32 platform (i have the option to do it x64 but i want to do it 32 first). the code compiles if a comment the call to the imsl function, i.e. if i comment CALL DCRGRG (3, A, 3, B, 3). when i uncoment this call i get the error message i describe below.

it seems to find the isml library because if, on do a mistake while calling DCRGRG (3, A, 3, B, 3), for example if i type DCRGRG (2, A, 3, B, 3) it tells me that the imput is not right..i do not understand anything. can i get some help?

may the problem be related to the fact that i am using a 64 bit machine (the installation program does not allows me to install the 32 bit libraries...so i have to call the 64 bit ones instead....)

Here it is the program

program main

! Main program to evaluate the likelihood of model with Investment-Specific
! technological change

use nrtype
use msimsl

implicit none

real (dp), dimension (3,3) :: a,b

A=1.0_dp

CALL DCRGRG (3, A, 3, B, 3)

print *, 'mierda'

end program main


and i get the following error message....


1>------ Build started: Project: resrho, Configuration: Release Win32 ------
1>Compiling with Intel Fortran 9.1 C:Program Files (x86)IntelCompilerFortran9.1IA32...
1>nrtype.f90
1>main.f90
1>Linking...
1>imsl.lib(DCRGRG.obj) : error LNK2019: unresolved external symbol __OtsMove referenced in function _DCRGRG
1>imsls_err.lib(e1psh.obj) : error LNK2001: unresolved external symbol __OtsMove
1>imsls_err.lib(e1init.obj) : error LNK2001: unresolved external symbol __OtsMove
1>imsls_err.lib(e1psh.obj) : error LNK2019: unresolved external symbol __OtsMoveMinimum referenced in function _E1PSH
1>imsls_err.lib(m1vech.obj) : error LNK2001: unresolved external symbol __OtsMoveMinimum
1>imsls_err.lib(e1psh.obj) : error LNK2019: unresolved external symbol __OtsFill referenced in function _E1PSH
1>imsls_err.lib(e1init.obj) : error LNK2001: unresolved external symbol __OtsFill
1>imsls_err.lib(m1vech.obj) : error LNK2001: unresolved external symbol __OtsFill
1>imsls_err.lib(e1pop.obj) : error LNK2019: unresolved external symbol __OtsStringCompareEqlPadded referenced in function _E1POP
1>imsls_err.lib(c1tci.obj) : error LNK2019: unresolved external symbol __OtsStringIndex referenced in function _C1TCI
1>imsls_err.lib(e1ucs.obj) : error LNK2019: unresolved external symbol __FXDMOD referenced in function _E1UCS
1>imsls_err.lib(e1ucs.obj) : error LNK2001: unresolved external symbol __FXDMOD
1>imsls_err.lib(e1ucs.obj) : error LNK2001: unresolved external symbol __FXDMOD
1>Release/res.exe : fatal error LNK1120: 6 unresolved externals
1>
1>Build log written to "file://D:papersRES-particle-filterRES-no-mea-ECBshape-of-likelihoodpruebaReleaseBuildLog.htm"
1>resrho build failed.
1>
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

0 Kudos
1 Reply
Steven_L_Intel1
Employee
386 Views
You have to use the 32-bit libraries - you can't substitute the 64-bit. There is a known problem where the IMSL master installer won't let you select the IA-32 IMSL on a 64-bit platform. The workaround for that is to run the IMSLIA32setup.exe from the expanded package which you can find under C:Program Files(X86)IntelDownload
0 Kudos
Reply