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

Home » Public Forums » archive » IDL to FORTRAN translator ?
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: idl to fortran [message #73462 is a reply to message #3905] Fri, 12 November 2010 02:53 Go to previous messageGo to previous message
oxfordenergyservices is currently offline  oxfordenergyservices
Messages: 56
Registered: January 2009
Member
On Nov 12, 9:55 am, geoff <oxfordenergyservi...@googlemail.com> wrote:
> On Nov 10, 9:53 pm, Paulo Penteado <pp.pente...@gmail.com> wrote:
>
>
>
>
>
>
>
>
>
>> On Nov 10, 7:51 pm, Paulo Penteado <pp.pente...@gmail.com> wrote:
>
>>> On Nov 10, 6:21 pm, a <oxfordenergyservi...@googlemail.com> wrote:
>
>>>> I've been writing some code in IDL.  I've pushed it as fast as it can
>>>> go but we may need it quicker.  That means possibly many-cpu parallel
>>>> code.  That unfortunately means fortran or C with an OpenMP parallel
>>>> compiling and running.
>
>>> It may not hurt to point out that IDL can use multiple processors
>>> automatically (the routines that use the thread pool).
>
>> Also, if you do end up rewriting things, it will probably not be
>> necessary to rewrite everything. You could do it just for the
>> bottlenecks, and leave the rest in IDL, accessing those reimplemented
>> parts through DLMs or call_external.
>
> Thanks all the above for your comments, I'll look into them.  In the
> mean time, I was considering your suggestion Paulo of the
> bottlenecks.  I have not a huge a amount of IDL code but the
> bottleneck is possibly 200 lines looped 5 milliontimes.  It would be
> pretty easy to code this in f90.  I read somewhere else I could spawn
> the fortran code which does this bottleneck but how would I
> communicate between idl and fortran?  I could write the data out from
> idl, read in fortran, write back out in fortran and read back in in
> idl.  The data would be in RAM I assume so wouldn't be too slow but
> the data is rather large (a few 20 by 5 million arrays).  Thanks for
> your suggestions
>
> Russ

sorry Paulo, bit keen on the keyboard there! I'll look into DLMs and
call_extrenal

Russ
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Write a vector into a file
Next Topic: IDL_IDLBridge limited to 4?

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

Current Time: Sun Oct 12 12:17:33 PDT 2025

Total time taken to generate the page: 0.96009 seconds