[R] doParallel cores HPC
Silva, Eder David Borges da
eder@@||v@ @end|ng |rom cortev@@com
Thu Jun 25 02:29:42 CEST 2020
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}}
More information about the R-help
mailing list