Closed lucasmation closed 5 years ago
Hi @lucasmation
This is strange as the package does not use Rmpi
. Please post the output of sessionInfo()
.
Sure, tks in advance @chrisvwn ,
> sessionInfo()
R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 17134)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods
[7] base
other attached packages:
[1] reshape2_1.4.3 lubridate_1.7.4 Rnightlights_0.2.3
loaded via a namespace (and not attached):
[1] Rcpp_1.0.0 lattice_0.20-35 codetools_0.2-15
[4] cleangeo_0.2-2 foreach_1.4.4 plyr_1.8.4
[7] rworldmap_1.3-6 grid_3.5.1 magrittr_1.5
[10] spam_2.2-2 stringi_1.2.4 settings_0.2.4
[13] data.table_1.12.2 sp_1.3-1 rgdal_1.4-3
[16] iterators_1.0.10 tools_3.5.1 stringr_1.4.0
[19] foreign_0.8-70 maps_3.3.0 fields_9.7
[22] compiler_3.5.1 maptools_0.9-5 dotCall64_1.0-0
[25] rgeos_0.4-3
Hmm. This all looks okay. Are you using the Rmpi
package? Do you have settings for example in your .Renviron that could be causing the creation of MPI clusters rather than CPU clusters? Rnightlights should not be using it but it seems maybe something else is influencing it.
Rmpi also seems to not be properly installed as indicated by the error message about a missing dll. If possible maybe uninstall it (and remove any related configs in R) and try running again?
No. My .Renviron is empty. I never installed MPI. I installed the package Rmpi the first time Rnightlights gave me this error message.
Could you check if you have anything in your Makevars
config file?
Actually, could you try checking the default cluster type in your environment by running:
snow::getClusterOption("type")
If this does not yield SOCK
(I suspect you will have MPI
) try setting the default back to 'SOCK' by running:
snow::setDefaultClusterOptions(type='SOCK')
Hi @lucasmation. Were you able to try out the recommendations above?
Closing this issue. Please reopen if you are still facing this.
Congrats for a great package!
I am trying to reproduce the example in the readme in a Windows enviroment. It seems that after downloading I get an error:
(full execution output below). From what I understood from researching, MPI is an external package which is cumbersome to install. I just want to run in the simplest for. I don't want any performance gains that these external packages may bring, it if forces me to do too much installation and bug fixing.