Rmpi installation in in IBM HCP
0
0
Entering edit mode
Seth Falcon ★ 7.4k
@seth-falcon-992
Last seen 11.4 years ago
"Emiliano Barreto_Hernandez" <ebarretoh at="" unal.edu.co=""> writes: > But when I tryed to load de Rmpi library in R, it doesn't work > With this error: > >> library(Rmpi) > Error in dyn.load(x, as.logical(local), as.logical(now)) : > unable to load shared library > '/usr/local/lib64/R/library/Rmpi/libs/Rmpi.so': > /usr/local/lib/liblam.so.0: undefined symbol: openpty > Error in library(Rmpi) : .First.lib failed for 'Rmpi' > Error in dyn.unload(x) : dynamic/shared library > '/usr/local/lib64/R/library/Rmpi/libs/Rmpi.so' was not loaded >> > > May give me some advise Since R package extensions are dynamic libs, perhaps at link-time you are ending up with the wrong liblam? Start R and then: Sys.getenv("LD_LIBRARY_PATH") system("ldd /usr/local/lib64/R/library/Rmpi/libs/Rmpi.so") That should tell you whether you are linking against the mpi libs that you want at run time. + seth
• 852 views
ADD COMMENT

Login before adding your answer.

Traffic: 1571 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