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

Home » Public Forums » archive » Re: Parallel Processing 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: Parallel Processing in IDL [message #72819 is a reply to message #72813] Mon, 11 October 2010 11:06 Go to previous messageGo to previous message
Ammar Yusuf is currently offline  Ammar Yusuf
Messages: 36
Registered: October 2010
Member
On Oct 11, 12:41 pm, mgalloy <mgal...@gmail.com> wrote:
> On 10/11/10 10:35 AM, Ammar Yusuf wrote:
>
>> What's an easy way to use multiple processors in IDL? I have a large
>> program but I want to start with a simple program first. Let's say I
>> have an array of a million integers and I have four processors. I want
>> to add all the elements in this array and output it. I could split the
>> array into four parts and give it to each processor right? Is this
>> possible? How would I do this? Thanks!
>
> IDL's thread pool (search the IDL online help for thread pool for more
> information) will do things like that automatically if you just have a
> system with multiple processors.
>
> If you want to do more complex tasks than just vector operations then
> check out FastDL (it has an MPI interface and a task farming interface,
> depending on the level of control you need):
>
>   http://www.txcorp.com/products/FastDL/index.php
>
> Disclosure: I work for Tech-X.
>
> Mike
> --www.michaelgalloy.com
> Research Mathematician
> Tech-X Corporation

Well let's say I have a for loop and inside this for loop I have
around 50-100 lines and these computations are going out to different
procedures and functions. Would I still use the IDL Thread Pool?
Thanks!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: move window object programmatically
Next Topic: Adding more to a Window.Save PDF page

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

Current Time: Wed Oct 08 19:29:03 PDT 2025

Total time taken to generate the page: 0.00229 seconds