Reputation: 1668
I have updated R (Microsoft Machine Learning Server R) in Ubuntu and after the update the RevoScaleR package stopped working. I try to see the log but it doesn't exist. Does anyone know it?
EDIT: I have found out that libRblas.so is not found but it exists in /runtime/R/lib
library(RevoScaleR)
C++ runtime exception caught: could not open FIFO /tmp/Rtmp9FpGRx/RevoFIFO.140827.2
Error: package or namespace load failed for ‘RevoScaleR’:
.onLoad failed in loadNamespace() for 'RevoScaleR', details:
call: dyn.load(linkDllName)
error: fatal error: RevoScaleR cannot be used in this R session anymore, if possible restart R session
error code 127, detailed error message might be found in: /tmp/Rtmp9FpGRx/stdoutrppZXg (standard output) and /tmp
The output of "RevoScaleR" %in% dir(.libPaths())
is TRUE
.
Upvotes: 1
Views: 601
Reputation: 1668
It turns out that after the update, the libraries magically disappeared. I solved it by manually copying the necessary libraries:
sudo cp /opt/microsoft/mlserver/9.2.1/runtime/R/lib/libmkl_gnu_thread.so /opt/microsoft/mlserver/9.2.1/libraries/RServer/RevoScaleR/rxLibs/x64/libmkl_gnu_thread.so
sudo cp /opt/microsoft/mlserver/9.2.1/runtime/R/lib/libRblas.so /opt/microsoft/mlserver/9.2.1/libraries/RServer/RevoScaleR/rxLibs/x64/libRblas.so
sudo cp /opt/microsoft/mlserver/9.2.1/runtime/R/lib/libmkl_gf_lp64.so /opt/microsoft/mlserver/9.2.1/libraries/RServer/RevoScaleR/rxLibs/x64/libmkl_gf_lp64.so
sudo cp /opt/microsoft/mlserver/9.2.1/runtime/R/lib/libRlapack.so /opt/microsoft/mlserver/9.2.1/libraries/RServer/RevoScaleR/rxLibs/x64/libRlapack.so
sudo cp /opt/microsoft/mlserver/9.2.1/runtime/R/lib/libmkl_core.so /opt/microsoft/mlserver/9.2.1/libraries/RServer/RevoScaleR/rxLibs/x64/libmkl_core.so
sudo cp /opt/microsoft/mlserver/9.2.1/runtime/R/lib/libmkl_vml_mc3.so /opt/microsoft/mlserver/9.2.1/libraries/RServer/RevoScaleR/rxLibs/x64/libmkl_vml_mc3.so
sudo cp /opt/microsoft/mlserver/9.2.1/runtime/R/lib/libmkl_vml_def.so /opt/microsoft/mlserver/9.2.1/libraries/RServer/RevoScaleR/rxLibs/x64/libmkl_vml_def.so
Upvotes: 1