[R-sig-hpc] trouble installing Rmpi
Saptarshi Guha
saptarshi.guha at gmail.com
Fri Dec 3 00:28:54 CET 2010
With each LD_LIBRARY_PATH, i think you're undoing the previous line. try
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel/lib/ia32/
and then ldd ./swat2009_i64_calibrate.so (assuming UNIX) - the paths
should be present.
J
On Thu, Dec 2, 2010 at 3:22 PM, John Joseph <John.Joseph at utsa.edu> wrote:
>
> Thanks, Davor.
>
> Well, my attempt to "add them to LD_LIBRARY_PATH" hasn't worked. Here's what I tried:
>
> john at john-desktop:~/LREWI15_TIO$ LD_LIBRARY_PATH=/opt/intel/lib/ia32/libifport.so.5 export LD_LIBRARY_PATH
> john at john-desktop:~/LREWI15_TIO$ LD_LIBRARY_PATH=/opt/intel/lib/ia32/libifcore.so.5 export LD_LIBRARY_PATH
> john at john-desktop:~/LREWI15_TIO$ LD_LIBRARY_PATH=/opt/intel/lib/ia32/libimf.so.5 export LD_LIBRARY_PATH
> john at john-desktop:~/LREWI15_TIO$ LD_LIBRARY_PATH=/opt/intel/lib/ia32/libsvml.so.5 export LD_LIBRARY_PATH
> john at john-desktop:~/LREWI15_TIO$ LD_LIBRARY_PATH=/opt/intel/lib/ia32/libintlc.so.5 export LD_LIBRARY_PATH
>
> I also tried without the "export LD_LIBRARY_PATH" portion, but, either way, I got the same old error.
>
> I also tried recompiling by setting the environment with LD_RUN_PATH, and this actually got me beyond the same old error. But now is.loaded() indicates that the program is not loaded.
>
>> setwd("/home/john/LREWI15_TIO")
>> dyn.load("./swat2009_i64_calibrate.so")
>> is.loaded("./swat2009_i64_calibrate.so")
> [1] FALSE
>>
>
> Using LD_LIBRARY_PATH does not affect this status either.
>
> Well, although I'm still not at the solution, I think I've gotten closer to it. Thanks for your leads. I'm learning a lot.
>
> I think I need to search the groups for how others may have dealt with this "is.loaded()" is FALSE problem, and might continue this post under a more relevant subject heading, such as "dyn.load() is.loaded() FALSE". But, of course, if you have any suggestions, I much appreciate them.
>
> John Joseph
>
>
>
> -----Original Message-----
> From: Davor Cubranic [mailto:cubranic at stat.ubc.ca]
> Sent: Wed 12/1/2010 11:50 PM
> To: John Joseph
> Cc: r-sig-hpc at r-project.org
> Subject: Re: [R-sig-hpc] trouble installing Rmpi
>
> On December 1, 2010 04:48:54 pm John Joseph wrote:
>> john at john-desktop:~$ ldd
>> /home/john/LREWI15_TIO/./swat2009_i64_calibrate.so
> [...]
>> libifport.so.5 => not found
>> libifcore.so.5 => not found
>> libimf.so => not found
>> libsvml.so => not found
>> libintlc.so.5 => not found
>
> Here we go: I'm pretty sure any entry that's 'not found' here will cause
> an error in the dynamic linker. If you can locate those libraries, just
> add them to LD_LIBRARY_PATH. At the very least, we know that
> libifport.so.5 is in /opt/intel/lib/ia32, and it is very likely that the
> rest of them are there as well.
>
>> I very much appreciate this help.
>
> No worries, you're welcome.
>
> Davor
>
>
>
>
>
>
>
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-hpc mailing list
> R-sig-hpc at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-hpc
>
More information about the R-sig-hpc
mailing list