can't make clusters with SNOW package
0
0
Entering edit mode
Andrew Box ▴ 10
@andrew-box-13730
Last seen 5.1 years ago
Kansas City, MO - Stowers Institute for…

This was working a couple weeks ago, it's not clear what may changed in my environment.  Restarting my session and reinstalling snow and rmpi hasn't resolved.  Anyone seen this or have an idea what's going on?

 

> cl <- makeCluster(numcores) #make that many nodes
Loading required namespace: Rmpi
Failed with error:  ‘.onLoad failed in loadNamespace() for 'Rmpi', details:
  call: inDL(x, as.logical(local), as.logical(now), ...)
  error: unable to load shared object 'C:/Users/acb/Documents/R/win-library/3.3/Rmpi/libs/x64/Rmpi.dll':
  LoadLibrary failure:  The specified module could not be found.
’
Error in makeMPIcluster(spec, ...) : 
  the `Rmpi' package is needed for MPI clusters.

 

sessionInfo returns:

 

> sessionInfo()
R version 3.4.4 (2018-03-15)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252    LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                           LC_TIME=English_United States.1252    

attached base packages:
[1] parallel  stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] snow_0.4-2              flowClust_3.16.0        stringr_1.3.0           ggcyto_1.6.1            flowWorkspace_3.26.7   
 [6] ncdfFlow_2.24.0         BH_1.66.0-1             RcppArmadillo_0.8.500.0 ggplot2_2.2.1           flowCore_1.44.2        

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.16        mvtnorm_1.0-7       lattice_0.20-35     corpcor_1.6.9       assertthat_0.2.0    R6_2.2.2           
 [7] plyr_1.8.4          MatrixModels_0.4-1  stats4_3.4.4        pcaPP_1.9-73        coda_0.19-1         pillar_1.2.2       
[13] zlibbioc_1.24.0     rlang_0.2.0         lazyeval_0.2.1      data.table_1.11.0   SparseM_1.77        Rgraphviz_2.22.0   
[19] hexbin_1.27.2       Matrix_1.2-14       munsell_0.4.3       compiler_3.4.4      pkgconfig_2.0.1     BiocGenerics_0.24.0
[25] mnormt_1.5-5        mcmc_0.9-5          IDPmisc_1.1.17      tibble_1.4.2        gridExtra_2.3       matrixStats_0.53.1 
[31] XML_3.98-1.11       flowViz_1.42.0      rrcov_1.4-3         dplyr_0.7.4         MASS_7.3-49         grid_3.4.4         
[37] gtable_0.2.0        magrittr_1.5        scales_0.5.0        graph_1.56.0        KernSmooth_2.23-15  stringi_1.1.7      
[43] bindrcpp_0.2.2      latticeExtra_0.6-28 robustbase_0.93-0   RColorBrewer_1.1-2  tools_3.4.4         Biobase_2.38.0     
[49] glue_1.2.0          DEoptimR_1.0-8      yaml_2.1.19         clue_0.3-55         colorspace_1.3-2    cluster_2.0.7-1    
[55] bindr_0.1.1         quantreg_5.35       MCMCpack_1.4-2     
snow parallel computation • 1.6k views
ADD COMMENT
1
Entering edit mode

See the help page for ?snow::makeCluster and note that the default type of cluster is from the option "type" -- I'm surprised that this is 'MPI'. Perhaps previously you were using makeSOCKcluster().

ADD REPLY
0
Entering edit mode

Ah, yes I see.  I need to either specify SOCK as the type or use makeSOCKcluster().  Maybe the previous version the default was SOCK?  I know I'm using the same code, at least this line, as what was running a while back.  I did get into 'package he#*' a while ago and had to re-install a few things, maybe during that process I inadvertently ended up with a new/different version of SNOW.  Thanks for the reply.

ADD REPLY

Login before adding your answer.

Traffic: 551 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6