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

Home » Public Forums » archive » Re: Parallelise FOR loop in 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
Re: Parallelise FOR loop in IDL [message #77679] Mon, 19 September 2011 06:58 Go to previous message
Vincent Sarago is currently offline  Vincent Sarago
Messages: 34
Registered: September 2011
Member
Hi Robin,

You may have a look on : http://www.ittvis.com/Default.aspx?tabid=1540&id=1306

I never used it, but it might works.

You can also look to :

http://www.ittvis.com/portals/0/whitepapers/IDL_MultiThread. pdf
http://slugidl.pbworks.com/w/page/29199259/Child%20Processes


Cheers,

Vincent,

On 19 sep, 14:55, Robin Wilson <ro...@rtwilson.com> wrote:
> Hi,
>
> I have some IDL code like the following, which implements a Monte Carlo
> ray-tracing model:
>
> FOR i = 0, 1000 DO BEGIN
>         ; Start a new ray from source
>         ; Do all sorts of complicated processing on it
>         ; Record where it lands
> ENDFOR
>
> I want to be able to run it for more iterations while still keeping it
> fairly fast. If I was writing this in C I'd use OpenMP to split the
> iterations of the loop between the available cores (as they are
> independent) and then use a reduction to join all of the records of
> where the rays end up together.
>
> Is there any way to do anything like this in IDL? I've seen FastDL but
> that seems to use MPI instead (not quite what I want...) and
> unfortunately doesn't appear to be available free for academics.
>
> Any ideas?
>
> Robin
>
> ------------------
> Robin Wilson
> A PhD student studying complexity in remote sensingwww.rtwilson.com/academic
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Black background in IDL 8.1 map projections?
Next Topic: Re: Line plot with arrows

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

Current Time: Sun Oct 12 06:40:30 PDT 2025

Total time taken to generate the page: 0.72371 seconds