X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 04 Sep 2012 08:08 AM by  anon
parallel for loops
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
04 Sep 2012 08:08 AM
    hi, I am trying to parallelize a for loop, but I have problems with the IDL_IDLBRIDGE. I implemented following simple test programm: pro parallel_test split_for, 0, 10, commands=[$ 'mm=i', 'nn=i'], $ varnames=['kk'], $ outvar=['mm', 'nn'], nsplit=6 end After running the programm I got the error: SPLIT_FOR: Splitting job into 5 threads SPLIT_FOR: Commands have been sent to threads SPLIT_FOR: All threads complete % IDL_IDLBRIDGE Error: Undefined variable: 'mm' I am not very familiar with the IDLBRIDGE, so I hope someone can help me to fix the error. best regards, peter

    Deleted User



    New Member


    Posts:
    New Member


    --
    05 Oct 2012 04:38 PM
    Dear Peter, In a related note. Please, take a look at FastDL, a real parallelizable IDL: http://www.txcorp.com/products/FastDL/index.php In case you are interested. Now, in your case, are you sure that the variable mm is defined for a particular IDL that has been spawn into a new thread?. How does your full program look like? Cheers, Fernando Exelis VIS
    You are not authorized to post a reply.