Rmpi loading error
0
0
Entering edit mode
Ye, Bin ▴ 150
@ye-bin-1280
Last seen 10.2 years ago
Hi, Everyone, WE have R 2.2.0 installed on linux (federo), and lam/mpi installed under /usr/local/lam-7.1.2, installed Rmpi_0.5-2 without an error. But when try to load the library get error as below: > 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': libmpi.so.0: cannot open shared object file: No such file or directory 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 > system("echo $PATH") /usr/local/lam-7.1.2/bin:/usr/local/lam-7.1.2/bin:/usr/local/pdsh/bin: /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/opt/c3- 4/:/usr/local/mcm:/usr/local/moab/bin:/usr/local/moab/sbin:/opt/moab:/ usr/local/pbs/bin:/usr/local/pbs/sbin:/home/binye/bin > system("ls /usr/local/lam-7.1.2/lib") lam liblamf77mpi.so.0.0.0 liblammpi++.so.0 libmpi.la liblam.a liblam.la liblammpi++.so.0.0.0 libmpi.so liblamf77mpi.a liblammpi++.a liblam.so libmpi.so.0 liblamf77mpi.la liblammpi++.la liblam.so.0 libmpi.so.0.0.0 liblamf77mpi.so liblammpio.a liblam.so.0.0.0 liblamf77mpi.so.0 liblammpi++.so libmpi.a The libmpi.so.0 is there, and the path is correct, why Rmpi can't find libmpi.so.0? Thanks a lot in advance! Bin
• 1.4k views
ADD COMMENT

Login before adding your answer.

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