Displaying 1 result from an estimated 1 matches for "noclust".
Did you mean:
nclust
2008 Sep 30
1
prblems changing directory in mpi snow clusters
Dear R Users,
I am attempting to use snow with rmpi.
My configuration is:
- R Version 2.7.2, rmpi
- RMPI 0.5-6
- DeinoMPI 1.1.0
- Windows Xp SP2
I can sucessfully create a cluster and execute simple commands but for
some reason, I cannot change the working directory in my nodes.
> noclusters<-2
> cl <- makeCluster(noclusters, type = "MPI")
2 slaves are spawned successfully. 0 failed.
> foo<-clusterApply(cl,1:noclusters,function(noderank) {2+2})
> foo
[[1]]
[1] 4
[[2]]
[1] 4
> clusterCall(cl,setwd("C:/"))
Error in checkForRemoteError...