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

Home » Public Forums » archive » Calling FORTRAN routines from IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Calling FORTRAN routines from IDL [message #799] Mon, 01 February 1993 16:33 Go to previous message
cruz is currently offline  cruz
Messages: 1
Registered: February 1993
Junior Member
I'm a new user of IDL, so I'm soliciting HELP!!! I'm attempting
to call FORTRAN routines from IDL using the 'call_external' function.
In the call, I'm passing a file name to the routine. Basically I
have a FORTRAN front-end to the FORTRAN routine. The FORTRAN
front-end passes the parameters by 'value' not reference. The
IDL commands follow. Note that 'hdr.txt' is my file name.

IDL> a=bytarr(1)
IDL> a(0) = 1
IDL> tmp=call_external('readhdr.so', '_readhdr_', 'hdr.txt', value=a)
....then I receive garbage.

I've also tried sending the file name by reference and received the
same type of results.

Has anyone experienced this type of problem?? Is there a solution or
easier method for accessing FORTRAN routines from IDL?

Thanks for all responses,
Jennifer Cruz
Jet Propulsion Labs
Pasadena, CA
(818)354-0387
cruz@ipanema.jpl.nasa.gov
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: structure (reform_struct)
Next Topic: Re: IDL Solaris much slower than Intel

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

Current Time: Fri Oct 10 10:18:35 PDT 2025

Total time taken to generate the page: 0.72413 seconds