comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Call external? Roepcke
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Call external? Roepcke [message #6560] Mon, 15 July 1996 00:00 Go to next message
panther is currently offline  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 Go to previous message
plugge is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: pwidget
Next Topic: Problems with the IDL TIME_TEST

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 19:20:38 PDT 2025

Total time taken to generate the page: 2.09086 seconds