X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 14 Aug 2009 03:57 PM by  anon
multi-core CPUs and IDL
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
14 Aug 2009 03:57 PM
    Hi,   I've been using IDL 6.4 (64-bit) for a while using my department's license on a machine with an intel dual-core processor running RedHat. IDL doesn't seem to be able to utilize both processors on this machine, my CPU load never exceeds 50% even when I'm running that takes hours to calculate (in my procedures, the CPU is definitely the bottleneck). When running long computations the CPU load will hover around 100% on one processor, and then at random times just switch to being 100% on the other processor while returning the first one to 0%. Is this limitation due to IDL? The operating system? Or do I perhaps need to put in something in my procedures to specify that IDL should use both processors? I'm about to get a new machine running on a rather fast quad-core CPU with both Windows and Ubuntu installed. I wish to purchase the latest version of IDL as well to go with it for myself. Should IDL be able to distribute the processing load across all 4 processors? Would there be any advantage in putting IDL onto windows or Ubuntu when it comes to utilizing all 4 processors?   thanks, Marko    

    Deleted User



    New Member


    Posts:
    New Member


    --
    18 Aug 2009 11:27 AM
    Hi Marko, One way to put all the processors at work is to create child processes, one child process for one core. For this look IDL help for IDL_IDLbridge. The thing is that you'll need to feed the child process with a portion of the original data and once the all the child processes end, you need to stich up all the results together to get the final result. In some case that can be very tricky... Maybe there is another way, but if there is one, I don't know it. Good luck. Cheers. Antoine C.
    You are not authorized to post a reply.