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 #43562] Fri, 22 April 2005 07:26 Go to previous message
Randall  Skelton is currently offline  Randall Skelton
Messages: 31
Registered: October 2004
Member
Hi Axel,

Writing c code that passes strings back and forth between fortran can
be difficult even without IDL in the mix. While it has become more
standardized, each compiler works these things a little differently
which is why you won't find many examples in the RSI manual. If you
haven't already done so, I'd experiment with just passing strings
between c and fortran with your chosen compilers. I've not used the
portland group compilers but there are generic notes on doing this for
the sun compilers that generally work for gnu, intel and irix
compilers. See:

http://docs.sun.com/source/817-0929/11_cfort.html

If you can convince yourself that you can do this, then it should just
be a matter of copying the IDL string to a local C char array that has
been correctly sized and then passing it appropriately to your fortran
routines.

Cheers,
Randall
[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: Fri Oct 10 10:41:08 PDT 2025

Total time taken to generate the page: 0.65447 seconds