Re: [R] Multiple CPU HowTo in Linux?

2010-09-15 Thread Edwin Groot
Hello all, Thanks for your input, and helping to clear things up on where to go. I will try out the multicore package and see if there are further bottlenecks. It looks like some loops might need special treatment with parallelization. I have been pampered with the excellent walk-through vignettes

[R] Multiple CPU HowTo in Linux?

2010-09-14 Thread Edwin Groot
Hello all, I upgraded my R workstation, and to my dismay, only one core appears to be used during intensive computation of a bioconductor function. What I have now is two dual-core Xeon 5160 CPUs and 10 GB RAM. When I fully load it, top reports about 25% user, 75% idle and 0.98 short-term load.

Re: [R] Multiple CPU HowTo in Linux?

2010-09-14 Thread Johnson, Cedrick W.
?multicore perhaps On 09/14/2010 10:01 AM, Edwin Groot wrote: Hello all, I upgraded my R workstation, and to my dismay, only one core appears to be used during intensive computation of a bioconductor function. What I have now is two dual-core Xeon 5160 CPUs and 10 GB RAM. When I fully load it,

Re: [R] Multiple CPU HowTo in Linux?

2010-09-14 Thread Edwin Groot
Hello Cedrick, Ah, yes, that looks like it would apply to my situation. I was previously reading on snow, which is tailored for clusters, rather than a single desktop computer. Anyone with experience adapting multicore to an R-script? I have to admit I know little about parallel processing,

Re: [R] Multiple CPU HowTo in Linux?

2010-09-14 Thread Christian Raschke
Edwin, I'm not sure what you mean by adapting; other than installing multicore, there is nothing else to set up. How and whether you could then parallelise your code strongly depends on the specific problem you are facing. What have done in the past was to look at the source of the

Re: [R] Multiple CPU HowTo in Linux?

2010-09-14 Thread Martin Morgan
On 09/14/2010 08:36 AM, Christian Raschke wrote: Edwin, I'm not sure what you mean by adapting; other than installing multicore, there is nothing else to set up. How and whether you could then parallelise your code strongly depends on the specific problem you are facing. What have done