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

Home » Public Forums » archive » Can I interface my fortran program in IDL code?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Can I interface my fortran program in IDL code? [message #88829 is a reply to message #88824] Tue, 24 June 2014 09:50 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 6/24/14, 6:33 AM, Madhavan Bomidi wrote:
> Hello,
>
> I have a fortran (.f90) program which includes some function
> subroutines and the code as a single file. But there are multiple
> input data files are required for compiling this f90 code. As I am
> using IDL for plotting and data processing, I was thinking if I can
> create the input files (i.e., ASCII & Binary), compile and run the
> f90 code, and then extract the data from multiple output files that
> were created to generate the plots automatically. I just wanted to
> know how I can work with FORTRAN program / function files from within
> an IDL code.
>
> Any help with few examples or reference documentation on this topic
> will be appreciable.
>
> Thanking you in advance, Madhavan
>

Did you try CALL_EXTERNAL? This is the simplest way to call C/Fortran
code from IDL.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: A grid is overlaid on an image
Next Topic: Output matrix from Wavelet Toolkit 3D Wavelet Power Spectrum

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

Current Time: Fri Oct 10 14:13:12 PDT 2025

Total time taken to generate the page: 0.16022 seconds