Hi,

I am having a problem with installing Rmpi package on redhat linux machine.
The R I am using is version 2.10.1.  Here’s what happens.

  > install.packages( 'Rmpi' )
  --- Please select a CRAN mirror for use in this session ---
  Loading Tcl/Tk interface ... done
  trying URL 'http://cran.cnr.Berkeley.edu/src/contrib/Rmpi_0.5-9.tar.gz'
  Content type 'application/x-gzip' length 87953 bytes (85 Kb)
  opened URL
  ==================================================
  downloaded 85 Kb

  * installing *source* package âRmpiâ ...
  checking for gcc... gcc -std=gnu99
  checking for C compiler default output file name... a.out
  checking whether the C compiler works... yes
  checking whether we are cross compiling... no
  checking for suffix of executables...
  checking for suffix of object files... o
  checking whether we are using the GNU C compiler... yes
  checking whether gcc -std=gnu99 accepts -g... yes
  checking for gcc -std=gnu99 option to accept ISO C89... none needed
  checking how to run the C preprocessor... gcc -std=gnu99 -E
  checking for grep that handles long lines and -e... /bin/grep
  checking for egrep... /bin/grep -E
  checking for ANSI C header files... yes
  checking for sys/types.h... yes
  checking for sys/stat.h... yes
  checking for stdlib.h... yes
  checking for string.h... yes
  checking for memory.h... yes
  checking for strings.h... yes
  checking for inttypes.h... yes
  checking for stdint.h... yes
  checking for unistd.h... yes
  checking mpi.h usability... no
  checking mpi.h presence... no
  checking for mpi.h... no
  configure: error: "Cannot find mpi.h header file"
  ERROR: configuration failed for package âRmpiâ
  * removing â/usr/local/lib64/R/library/Rmpiâ

  The downloaded packages are in
          â/tmp/Rtmp1J1kDj/downloaded_packagesâ
  Updating HTML index of packages in '.Library'
  Warning message:
  In install.packages("Rmpi") :
    installation of package 'Rmpi' had non-zero exit status
  > library ('Rmpi' )
  Error in library("Rmpi") : there is no package called 'Rmpi'
  >

I think it is upset because the file mpi.h is missing.  Am I right?  If so,
How would I cure this problem?  And if not, what must I do?

Please help.  Thank you.

Tena Sakai
tsa...@gallo.ucsf.edu

        [[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.

Reply via email to