[R] another try with Rmpi on Linux

Erin Hodgess hodgess at gator.dt.uh.edu
Mon Oct 8 20:04:18 CEST 2007


Dear R People:

Here are my latest attempts for Rmpi:


This is the list of locations for mpi.h:
         /home/faculty/hodgess/mpich2-1.0.5p4/src/include/mpi.h
/home/faculty/hodgess/include/mpi.h
/home/faculty/hodgess/lam-7.1.4/romio/adio/sgi/mpi3.1/mpi.h
/home/faculty/hodgess/lam-7.1.4/share/include/mpi.h
/usr/src/linux-2.4.21-20.EL/drivers/addon/fusion_20505/lsi/mpi.h
/usr/src/linux-2.4.21-20.EL/drivers/addon/fusion_20511/lsi/mpi.h
/usr/src/linux-2.4.21-20.EL/drivers/message/fusion/lsi/mpi.h


I tried to add the mpi to my path:
  [hodgess at gator bin]$ PATH=/home/faculty/hodgess/mpich2-1.0.5p4:$PATH
[hodgess at gator bin]$ 

Now Install:
[hodgess at gator bin]$ ./R CMD INSTALL Rmpi_0.5-4.tar.gz 
* Installing to library '/home/faculty/hodgess/R-2.6.0/library'
* Installing *source* package 'Rmpi' ...
checking for gcc... gcc
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 accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -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
Try to find libmpi or libmpich ...
checking for main in -lmpi... no
libmpi not found. exiting...
ERROR: configuration failed for package 'Rmpi'
** Removing '/home/faculty/hodgess/R-2.6.0/library/Rmpi'

[hodgess at gator bin]$ 

This is on a Linux Red Hat ent 3.

Thanks,
Erin
mailto: hodgess at gator.uhd.edu



More information about the R-help mailing list