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 [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.