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

Home » Public Forums » archive » Re: IDL with multiple processors
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 with multiple processors [message #13706 is a reply to message #13701] Fri, 04 December 1998 00:00 Go to previous messageGo to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
steinhh@ulrik.uio.no (Stein Vidar Hagfors Haugan) writes:


> In article <7479pd$j5i$1@agate.berkeley.edu>
> korpela@islay.ssl.berkeley.edu (Eric J. Korpela) writes:

>> IDL is pretty much single threaded. If you've got two processors, it's up
>> to you to use 'em. You'd be suprised what you can do if you try.....
>> This works under sunos... (you need to write your own kill proceedure,
>> though. That's not too hard.)
>>
>> pid=call_external("/usr/lib/libc.so.1.9","_fork") ; your libc name may vary
>> if pid then begin
>> do some processing
>> kill,pid
>> endif else begin
>> do some other processing
>> dummy=call_external("/usr/lib/libc.so.1.9","_wait")
>> endelse
>>

> Hmmm... dreaming of a "PIDL" (Parallel IDL).... How about
> something like a few extra "directives":

(rest deleted)

I always thought of IDL as an ideal candidate for parallelization, without any
need for modified code. After all, one can apply an operation to an entire
array of data in one call, i.e. if one says

A = B + C

and B and C are arrays, then this is equivalent to N separate operations on
each of the elements of the arrays. Why couldn't this be split up over several
processors?

William Thompson
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Message command output sent to Journal file?
Next Topic: Re: How to kill a procedure?

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

Current Time: Sat Nov 29 00:32:04 PST 2025

Total time taken to generate the page: 1.60114 seconds