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

Home » Public Forums » archive » Can I have multiple threads 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: Can I have multiple threads in IDL? [message #40483 is a reply to message #40381] Tue, 10 August 2004 08:36 Go to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
Marc Reinig wrote:
> We're currently running a very large computational program on a
> multiprocessor machine. When the FFT portion runs, the CPU load on all 8
> processors spikes, so IDL is making use of them, life is good.
>
> However, we have another portion of the code that dose a massive nested loop
> on some arrays, but the operation is carried out on a very small subset of
> the array and IDL uses only a single processor. It could be easily broken
> into threads if we were writing in C to allow the OS (Windows Server 2003)
> to run the threads simultaneously.
>
> We would like to break this processing into multiple threads in IDL so that
> the task can be run on the other 7 processors in a similar manner. Is there
> a way to create and run a thread in IDL?
>
> Thanks in advance,
>
> Marc Reinig
> UCO/Lick
> Laboratory for Adaptive Optics

Marc,

Any chance you could post the code for the loop operation? Someone might
be able to offer suggestions on how to convert it to array operations
(and thus enable multi-threading).

Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Problem with TextBox from dfanning.com
Next Topic: Free_lun ALL

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

Current Time: Mon Dec 01 00:46:17 PST 2025

Total time taken to generate the page: 0.72647 seconds