[R] multicore + xeon ?

Patrick Connolly p_connolly at slingshot.co.nz
Wed Feb 9 06:54:34 CET 2011


On Wed, 02-Feb-2011 at 04:10AM -0800, kv wrote:

|> 
|> Is there any reason to expect a problem ?
|> i'm running this script on the cluster down the hall:

I don't think multicore is what you need.  It's for a single multicore
machine.  It works fine on my dual-core machine.  For a cluster, you
need snow or maybe Rmpi or one of the others you'll see mentioned in
the HPC Task View.


|> 
|> module load R/2.11.0
|> R
|> library(multicore) 
|> fxx<-function(ll) runif(1)
|> mclapply(1:10,fxx)
|> 
|> i get:
|> 
|> Error in fork() : Unable to fork.
|> 
|> less /proc/cpuinfo
|> 
|> yields:
|> 
|> processor       : 0

[....]

I assume you included all of it.  You're using only one processor.
You didn't tell us how you were using the cluster.  It appears to me
that you're logged onto one processor of the cluster.  Something quite
different could be going on.

HTH

-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___    Patrick Connolly   
 {~._.~}                   Great minds discuss ideas    
 _( Y )_  	         Average minds discuss events 
(:_~*~_:)                  Small minds discuss people  
 (_)-(_)  	                      ..... Eleanor Roosevelt
	  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.



More information about the R-help mailing list