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

Home » Public Forums » archive » Re: Calling Fortran 90 from IDL/LINUX/ pgi/ifort
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: Calling Fortran 90 from IDL/LINUX/ pgi/ifort [message #43564 is a reply to message #43562] Fri, 22 April 2005 05:10 Go to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
In order to clear out loaded .so, you need to use .full_session_reset or
short .f.


"catwithhat" <axel@apl.washington.edu> wrote in message
news:1114132155.276487.294180@z14g2000cwz.googlegroups.com.. .
> I have Fortran 90 application I need to run from IDL under Redhat Linux
> (x86). I have looked at the examples for call_external but apparently
> neither the direct case nor the C-Wrapper case are implemented for
> Linux.
>
> Question:
> -Can anyone send me an example (Makefile). I have either pgif90
> or ifort (Intel) compilers available for (x86)
> -I have gotten the simple simple_c2f.c to almost work but the
> the strings don't get passed properly.
>
> pgicc -fPIC -c example_c2f.c
> pgif90 -fPIC -shared example_c2f.o example_c2f1.f -o \
> example_c2f.so
>
> This works except for the string variable which doesn't get
> passed into the C-program correctly
>
> -Also I noticed that when I recompile a new *.so libary, I need
> to exit IDL and reenter to make it read the new one.
> I tried .reset but that has no effect either.
>
> Thanks much
> Axel
>
[Message index]
 
Read Message
Read Message
Previous Topic: Re: IDLDE -> IDLWAVE Newbie FAQ
Next Topic: peak analysis

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

Current Time: Sun Nov 30 21:08:55 PST 2025

Total time taken to generate the page: 0.00245 seconds