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

Home » Public Forums » archive » idl parallel processing
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
idl parallel processing [message #94424] Thu, 18 May 2017 15:05 Go to previous message
siumtesfai is currently offline  siumtesfai
Messages: 62
Registered: April 2013
Member
Hello,

I have a procedure below. It want to call my procedure in my main program and do parallel processing on the do loop.

How can use the IDL_Bridge . Any suggestion

pro computation,data=data,siteN=siteN,result

result=fltarr(n_elements(siteN))

FOR i= 0,n_elements(siteN)-1 do begin
y=where(data eq siteN(i))
if y(0) ge 0 then begin
result(i)=1
endif else begin
result(i)=0
endelse
ENDFOR

end
[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: trouble with pointers within array of structures
Next Topic: Plotting Vectors on Map Objects

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

Current Time: Wed Oct 08 14:11:25 PDT 2025

Total time taken to generate the page: 0.00192 seconds