LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Emiliano Barreto_Hernandez (ebarretoh_at_[hidden])
Date: 2006-05-09 07:44:18


Ive tryed to install Rmpi that is an implemetation of mpi in R that use
lam-mpi.

I used the next command:

R CMD INSTALL Rmpi_0.5-2.tar.gz

But occurred this error:

gcc -shared -L/usr/local/lib64 -o Rmpi.so conversion.o internal.o RegQuery.o
Rmpi.o -lmpi -llam -lutil -lpthread -L/usr/local/lib64/R/lib -lR
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin
/ld: /usr/local/lib/libmpi.a(infoset.o): relocation R_X86_64_32 can not be
used when making a shared object; recompile with -fPIC
/usr/local/lib/libmpi.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [Rmpi.so] Error 1
chmod: cannot access `/usr/local/lib64/R/library/Rmpi/libs/*': No such file
or directory
ERROR: compilation failed for package 'Rmpi'
** Removing '/usr/local/lib64/R/library/Rmpi'

It looks like I must recompile lim with -fPIC but I coudn't. May you give me
some advice

Best
EBH

--
--------------------------------------------------------
Emiliano Barreto_Hernandez
Profesor Asociado
Colombia EMBnet Node Manager
Centro de Bioinformática
Instituto de Biotecnología - Universidad Nacional de Colombia
Edificio Manuel Ancizar
Bogotá - Colombia
Tel +57 3165000 ext 16956 Fax +571 3165415
ebarretoh_at_[hidden]
http://bioinf.ibun.unal.edu.co
http://www.co.embnet.org