Hi R team, I have the HPC, with 10 nodes, and each node with 20 cores in UNIX OS. my goal is a set cluster to use all machine power, and thy this code:
library(doParallel) cl <- makePSOCKcluster(names=c('Host01', ... , 'Host10) registerDoParallel(cl=cl,cores=20) lP <- foreach(j = 1:1000000) %dopar% {Mysimu(j)} stopCluster(cl) This code is the best way for use all machine power? the code will be run in 200 tasks? 10 x 20? what is the limited of nodes in makePSOCKcluster? Thanks �der David Borges da Silva Research Scientist This communication is for use by the intended recipient ...{{dropped:16}}
______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.