Home »
Public Forums »
archive »
Re: R: How to call fortran subroution?
Re: R: How to call fortran subroution? [message #24758] |
Thu, 12 April 2001 06:41 |
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.
|
|
|
Current Time: Wed Oct 08 15:49:05 PDT 2025
Total time taken to generate the page: 0.00533 seconds