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
          
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to