LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Ralf Wildenhues (Ralf.Wildenhues_at_[hidden])
Date: 2006-05-10 15:30:49


Hello Emiliano,

* Emiliano Barreto_Hernandez wrote on Wed, May 10, 2006 at 06:57:46PM CEST:
>
> 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

It seems libmpi needs to be linked against Glibc's libutil if it uses
openpty. As a workaround, you can probably try to load that manually
earlier, or LD_PRELOAD it when starting R. (I don't know R well, so if
that uses a startup script, you'll need to adjust this info.)

Hope that helps.

Cheers,
Ralf