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

Home » Public Forums » archive » Calling IDL from Fortran called by 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 IDL from Fortran called by IDL [message #28205] Mon, 26 November 2001 14:28 Go to previous message
Kevin A. Park is currently offline  Kevin A. Park
Messages: 3
Registered: November 2001
Junior Member
Hi,

I have an IDL GUI which sits on top of a calculation engine which
is written in Fortran 90. Currently IDL accesses the calculation engine
by calling C wrapper functions via CALL_EXTERNAL. These C wrappers then
call Fortran routines. The system runs both on Solaris and Windows
platforms. I am currently using IDL 5.4, but will upgrade to IDL 5.5
soon.

Some of the calculations in the Fortran take a long time, so what I
would like to do is have IDL create a progress bar which can be updated
from the Fortran. Having waded through the IDL External Development
Guide, I have a few questions.

1. The only way of calling IDL common to both UNIX and Windows platforms
is callable IDL, yes?

2. According to the External Development Guide, callable IDL can not be
used from code that is called from IDL via CALL_EXTERNAL or
LINKIMAGE. But can callable IDL be used in a dynamically loaded
module (DLM)?

3. Does callable IDL always start a new IDL process (i.e. a new
"virtual machine" to borrow Java terminology) or can it be used to
access data and functions in an existing IDL process?

4. Is there any way of passing function pointers to IDL methods to
a native compiled language such as C so that these routines could
be called from the compiled language (e.g. C)? (In Java there is
a way to use the Java-Native Interface (JNI) to accomplish just this
sort of thing.)

Thanks for any help you can provide.

Kevin Park

--

Kevin A. Park
Prism Computational Sciences, Inc.
16 N. Carroll St., Suite 950
Madison, WI 53703
Phone: (608) 287-1042
Fax: (608) 280-9390
mailto:kpark@prism-cs.com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Recursive object destruction, Was: IDL Shapefile Object
Next Topic: Re: Recursive object destruction, Was: IDL Shapefile Object

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

Current Time: Wed Oct 08 14:58:58 PDT 2025

Total time taken to generate the page: 0.00576 seconds