Re: [R] MC-Simulation with foreach: Some cores finish early

2011-07-12 Thread Markus Schmidberger
If you switch directly to the multicore package you can use the mclapply() function. There, check for the parameter mc.preschedule=T / F. You can use this parameter to improve the load balancing. I do not know a parameter to tune foreach with this parameter. Best Markus Am Dienstag, den 12.07

Re: [R] MC-Simulation with foreach: Some cores finish early

2011-07-12 Thread Ben Bolker
peter_petersen gmail.com> writes: > I run a MC-Simulation using the the packages "foreach" and "doMC" on a > PowerMac with 24 cores. There are roughly a hundred parametersets and I > parallelized the program in a way, that each core computes one of these > parametersets completely. > > The probl

[R] MC-Simulation with foreach: Some cores finish early

2011-07-12 Thread peter_petersen
Dear R-Users, I run a MC-Simulation using the the packages "foreach" and "doMC" on a PowerMac with 24 cores. There are roughly a hundred parametersets and I parallelized the program in a way, that each core computes one of these parametersets completely. The problem ist, that some parametersets t