Displaying 1 result from an estimated 1 matches for "yusum".
Did you mean:
yusuf
2011 Feb 03
1
problem with parLapply from snow
...ackage, asking for 2 nodes
2 slaves are spawned successfully. 0 failed.
Error in checkForRemoteErrors(val) :
2 nodes produced errors; first error: no applicable method for 'lapply' applied to an object of class "list"
".
Where this is the problem line of code "yusum <- parLapply(cl, yu, sum)"
The function is
CallSnow <- function (Nnodes = 2, Nsamples = Nnodes)
{
require(Rmpi)
require(snow)
cat("Using snow package, asking for ", Nnodes, "nodes \n")
cl <- makeCluster(Nnodes, type="MPI")
on.exit(stopCluste...