An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20121121/d8f8704d/attachment.pl>
installing Rmpi on centos 6 with mpich
5 messages · Ricardo Román Brenes, Marc Schwartz
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20121121/dfe5d3b7/attachment.pl>
On Nov 21, 2012, at 10:40 AM, Ricardo Rom?n Brenes <rroman at cenat.ac.cr> wrote:
Hello everyone im trying to install Rmpi library on centos 6. I have already installed mpich2 1.4 [root at localhost ~]# R --version
R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows" Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: x86_64-redhat-linux-gnu (64-bit)
[root at localhost ~]# mpich2version
MPICH2 Version: 1.4.1p1 MPICH2 Release date: Thu Sep 1 13:53:02 CDT 2011 MPICH2 Device: ch3:nemesis MPICH2 configure: MPICH2 CC: gcc -O2 MPICH2 CXX: c++ -O2 MPICH2 F77: gfortran -O2 MPICH2 FC: f95 -O2
when i issue the install order i get this output:
install.packages("Rmpi")
Installing package(s) into ?/usr/lib64/R/library?
(as ?lib? is unspecified)
trying URL 'http://cran.rstudio.com/src/contrib/Rmpi_0.6-1.tar.gz'
Content type 'application/x-gzip' length 92977 bytes (90 Kb)
opened URL
==================================================
downloaded 90 Kb
* installing *source* package ?Rmpi? ...
** package ?Rmpi? successfully unpacked and MD5 sums checked
checking for gcc... gcc -m64 -std=gnu99
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -m64 -std=gnu99 accepts -g... yes
checking for gcc -m64 -std=gnu99 option to accept ISO C89... none needed
I am here /usr/local and it is OpenMPI
Trying to find mpi.h ...
Found in /usr/local/include
Trying to find libmpi.so or libmpich.a ...
checking for main in -lmpi... no
libmpi not found. exiting...
ERROR: configuration failed for package ?Rmpi?
* removing ?/usr/lib64/R/library/Rmpi?
The downloaded source packages are in
?/tmp/RtmpBvTTqc/downloaded_packages?
Updating HTML index of packages in '.Library'
Making packages.html ... done
Warning message:
In install.packages("Rmpi") :
installation of package ?Rmpi? had non-zero exit status
I have tried with different configure.args but the result is the same, i cant seem to install it... Is there someone who has been through the same problem? or that knows a guide i can follow or something? Thanks in advance Ricardo
There is a page here: http://www.stats.uwo.ca/faculty/yu/Rmpi/ which is linked from the CRAN page for the package. On the above page, there is an Installation for Linux link, which is likely to be helpful. Regards, Marc Schwartz
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20121121/acca36fb/attachment.pl>
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20121121/1cc92166/attachment.pl>