
On Nov 21, 2012, at 11:36 AM, Ricardo Román Brenes <rroman@cenat.ac.cr> wrote:

> i've followed that guide already to no success


That installation guide shows the installation taking place from the CLI outside of R, using R CMD INSTALL ..., not using install.packages() from within an R session, which is what you are showing below.

If you have tried that and failed, then I would recommend contacting the package maintainer for assistance or perhaps posting to R-SIG-HPC:

  https://stat.ethz.ch/mailman/listinfo/r-sig-hpc

Marc


> 
> On Wed, Nov 21, 2012 at 11:34 AM, Marc Schwartz <marc_schwartz@me.com> wrote:
> 
> On Nov 21, 2012, at 10:40 AM, Ricardo Román Brenes <rroman@cenat.ac.cr> wrote:
> 
> > Hello everyone
> >
> > im trying to install Rmpi library on centos 6. I have already installed
> > mpich2 1.4
> >
> > [root@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@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
> 
> 


	[[alternative HTML version deleted]]


