\(^o^)/
\(^o^\) (/^o^)/
\(^o^\) (/^o^)/
R on Torque and Debian Cluster
meaningless experiment...
system("env|sort")
getClusterOption("spec") # add variable Web I/F
mycomp<-function(cl,N=1024)
{
A<-array(rnorm(N*N),dim=c(N,N))
B<-array(rnorm(N*N),dim=c(N,N))
C<-parMM(cl,A,B)
}
plot(snow.time({
cl <- makeCluster(getClusterOption("spec"))
mycomp(cl,1024)
gc()
mycomp(cl,1024)
gc()
mycomp(cl,1024)
gc()
stopCluster(cl)
}))
- takes SOCK time to do with start of a process
- MPI takes time for the exchanges with the task
| MPI | SOCK |
worker=8 | | |
worker=16 | | |