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

Home » Public Forums » archive » Re: R: How to call fortran subroution?
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
Re: R: How to call fortran subroution? [message #24758] Thu, 12 April 2001 06:41
Paul van Delst is currently offline  Paul van Delst
Messages: 364
Registered: March 1997
Senior Member
StefanoM wrote:
>
> Sadly, IDL cannot call directly a fortran subroutine, but it must be
> compiled into a DLL. Then you can use call_external ... the things are
> complicated by the fact that IDL and Fortran require the parameters to be
> passed in different ways: by value and by reference (see my post the
> 10/04/01).

In this particular case (calling fortran from IDL) that may be true, but nowadays most
optimising fortran compilers (f90/95 at least) generate code that can pass arguments
either by value or reference depending on which is more efficient for a particular
situation.

paulv

--
Paul van Delst A little learning is a dangerous thing;
CIMSS @ NOAA/NCEP Drink deep, or taste not the Pierian spring;
Ph: (301)763-8000 x7274 There shallow draughts intoxicate the brain,
Fax:(301)763-8545 And drinking largely sobers us again.
paul.vandelst@noaa.gov Alexander Pope.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: checking if variable is defined
Next Topic: FOR statement

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

Current Time: Wed Oct 08 15:49:05 PDT 2025

Total time taken to generate the page: 0.00533 seconds