[R-sig-hpc] trouble installing Rmpi

Kevin.Buckley at ecs.vuw.ac.nz Kevin.Buckley at ecs.vuw.ac.nz
Fri Dec 3 02:50:31 CET 2010


> Thanks for showing me better ways to use LD_LIBRARY_PATH.  I saw
> nothing like those in the examples I found on line.

On thing to consder is that R, Rmpi or the MPI underneath Rmpi, may
be spawning shells that don't pick up on the LD_LIBRARY_PATH and
other environmental variables you're exporting from the interactive
shell from which you launch the jobs.

You know I am not a  real "R man" but I am aware, from my dabblings
with it, that when "loading things" there's an optional lib=/some/path
argument you can pass to the R load function so as to allow R to
find things that it might not necessarily see. (R people will know
what I am on about, I am sure).

If that option exists for your dynamic load of the shared library
(.so), would that not be a place at which to specify paths into
the environmnt which R/Rmpi sees and so then have R make those
paths available when your shared library starts looking to fix
up the Intel compiler symbols?

You are effectively then giving R control over the environment,
instead of trying to poke it from the outside.

Just a thought though,
Kevin

-- 
Kevin M. Buckley                                  Room:  CO327
School of Engineering and                         Phone: +64 4 463 5971
 Computer Science
Victoria University of Wellington
New Zealand



More information about the R-sig-hpc mailing list