Call external? Roepcke [message #6560] |
Mon, 15 July 1996 00:00  |
panther
Messages: 4 Registered: July 1996
|
Junior Member |
|
|
From the User's Manual Page 18-24: Using CALL_EXTERNAL under VMS
The OpenVMS DCL commands to compile, link, and setup the logical name are
as follows:
$ FORTRAN MY_AVG
$ LINK MY_AVG, SYS$INPUT/OPT/SHARE
SYMBOL_VECTOR = [MY_AVG=PROCEDURE]
$ DEFINE MY_AVG_EXE dduu:[xxx]MY_AVG.EXE
I want to use the routine CALL_EXTERNAL to call a fortran function
under Open VMS/AXP within my IDL Program.
The problem is that I can't link my fortran program with the
parameter 'SYMBOL_VECTOR = [MY_AVG=PROCEDURE]' !!
who can help or give a better solution to call external Programs?
Hendrik
--
Panther in the Jungle __..--''``\--....___ _..,_
-BELIEVE AND DECEIVE- _.-' .-/"; ` ``<._ ``-+'~=.
http://www.ang-physik _.-' _..--.'_ \ `(^) )
.uni-kiel.de/~hendrik ((..-' (< _ ;_..__ ; `'
|
|
|
Re: Call external? Roepcke [message #6637 is a reply to message #6560] |
Thu, 18 July 1996 00:00  |
plugge
Messages: 17 Registered: May 1995
|
Junior Member |
|
|
In article <4sdmjm$6da@jungle.toppoint.de>, panther@jungle.toppoint.de (Hendrik S. Roepcke) writes:
|>
|>From the User's Manual Page 18-24: Using CALL_EXTERNAL under VMS
|>
|>
|>The OpenVMS DCL commands to compile, link, and setup the logical name are
|>as follows:
|>
|>$ FORTRAN MY_AVG
|>$ LINK MY_AVG, SYS$INPUT/OPT/SHARE
|>SYMBOL_VECTOR = [MY_AVG=PROCEDURE]
|>$ DEFINE MY_AVG_EXE dduu:[xxx]MY_AVG.EXE
|>
|>
|> I want to use the routine CALL_EXTERNAL to call a fortran function
|> under Open VMS/AXP within my IDL Program.
|>
|> The problem is that I can't link my fortran program with the
|> parameter 'SYMBOL_VECTOR = [MY_AVG=PROCEDURE]' !!
|>
|>who can help or give a better solution to call external Programs?
The problem are the [] parentheses; the linking option line should be
SYMBOL_VECTOR = (MY_AVG=PROCEDURE)
then it should work.
Michel
|
|
|