Is there any reason to expect a problem ? i'm running this script on the cluster down the hall: 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 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Xeon(R) CPU X5365 @ 3.00GHz stepping : 11 cpu MHz : 2992.502 cache size : 4096 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 4 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monito r ds_cpl vmx est tm2 cx16 xtpr dca lahf_lm bogomips : 5990.06 clflush size : 64 cache_alignment : 64 address sizes : 38 bits physical, 48 bits virtual -- View this message in context: http://r.789695.n4.nabble.com/multicore-xeon-tp3253882p3253882.html Sent from the R help mailing list archive at Nabble.com.
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 ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
Dear Patrick, thanks for your answer, sorry for the post; i thought i had deleted it. It finally got solved by a sys admin here. Best, -- View this message in context: http://r.789695.n4.nabble.com/Re-multicore-xeon-tp3296632p3297082.html Sent from the R help mailing list archive at Nabble.com.