Software Archive
Read-only legacy content
17061 Discussions

Including IMSL Libraries

Intel_C_Intel
Employee
420 Views
Hi,

My code is in Fortran90 so I have included the IMSL libraries using USE NUMERICAL_LIBRARIES . I removed the existing external lines from my code. I am attempting to compile my source code and the various functions in the IMSL library into a DLL. The compilation is successful, but when I debug the prgram, when ever I reach a function call in the IMSL library it asks me for the file. For example, I use the DZBREN subroutine, when I execute that line of code it asks me for DZBREN.FOR.

To the best of my knowledge the compiler and linker are properly setup. I added the 3 module references under Project->Setting->Link tab, input(imsl.lib imsls_err.lib imslmpistub.lib), and checked the paths under tools->options, just as the help files suggest.

Am I missing a step to get it working ??

Here is a small section of code, thanks for any possible help on the matter,

DOUBLE PRECISION FUNCTION OXIDE()

USE NUMERICAL_LIBRARIES

!SETUP SOME COMMON BLOCKS, READ SOME FILES ETC

ANS = CALC()

END FUNCTION OXIDE

DOUBLE PRECISION FUNCTION CALC()

!EXTERNAL GF
!VARIABLES ARE SETUP, I HAVE EXCLUDED THEM.

CALL DZBREN(GF,ERRABS,ERRREL,XM,XP,MAXFN)
CALC =XP

END FUNCTION CALC
0 Kudos
1 Reply
Steven_L_Intel1
Employee
420 Views
You'll see this when you step into the IMSL routine, because the debugger wants to present the IMSL source code. Since that source code is not available, just click Cancel to that dialog box. Better, step over IMSL calls, not into them.

You're already linking fine.

Steve
0 Kudos
Reply