Re: call_external in VMS [message #338 is a reply to message #337] |
Wed, 03 June 1992 06:42   |
isaacman
Messages: 20 Registered: June 1992
|
Junior Member |
|
|
In article <?.707576515@hubble>, esmith@hubble.gsfc.nasa.gov (Eric P. Smith) writes...
> In trying to use some old fortran code with IDL (versions 2.2.2 and 2.3)
> I've run into a problem with the CALL_EXTERNAL function. While I can
> make the example in the IDL manual work on our VAX (VMS 5.5), my
> routines always produce the following error message:
>
> IDL>a = call_external(/f_value, 'king3_exe', 'king3', 6.4, 40.)
> %LIB-E-ACTIMAGE, error activating image $1$DUA1:[USER1]:[ERICSMITH]KING3.EXE;2
> -SYSTEM-F-NOTINSTALL, writeable shareable images must be installed
> % CALL_EXTERNAL: Error in called routine
> % Executable halted at $MAIN$ (CALL_EXTERNAL)
> IDL>
>
> The only difference between my initial routine 'king3'
> and the example given in the IDL manual is that king3 calls another
> subroutine (which call other routines and functions). All the subroutines
> and functions have been declared 'universal' in the VMS link command. None
> of the routines attempt to write to disk. I'm stumped at this point and
> was hoping someone had run across [and solved :)] this problem before.
> Any suggestions welcome at this point.
>
We have had this problem in trying to link to IMSL libraries.
Unfortunately, the solution escapes me, though I vaguely recollect that
all of the called routines have to be linked as shareable.
Rich Isaacman (COBE)
|
|
|