Dear R HPC People:

I have a new laptop with Windows 7 and I installed Ubuntu 9.10 via the WUBI installer.

I am updating the Ubuntu side and am having trouble with installing Rmpi.  I got the message about cannot find mpi.h header file and tried all of the locations.  Please see below.

erin@ubuntu:~$ find / -name mpi.h 2>/dev/null
/usr/include/mpich2/mpi.h
/usr/src/linux-headers-2.6.31-14-generic/include/config/usb/serial/siemens/mpi.h
/usr/src/linux-headers-2.6.31-19-generic/include/config/usb/serial/siemens/mpi.h
erin@ubuntu:~$ R CMD INSTALL Rmpi_0.5-8.tar.gz --configure-args=--with-mpi=/usr/src/linux-headers-2.6.31-19-generic/include/config/usb/serial/siemens/
* installing to library ‘/home/erin/R/x86_64-pc-linux-gnu-library/2.10’
* 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
Trying to find mpi.h ...
Cannot find mpi.h header file
Please use --with-mpi=/path/to/mpi or specify the environment variable MPI_ROOT
ERROR: configuration failed for package ‘Rmpi’
* removing ‘/home/erin/R/x86_64-pc-linux-gnu-library/2.10/Rmpi’
erin@ubuntu:~$ R CMD INSTALL Rmpi_0.5-8.tar.gz --configure-args=--with-mpi=/usr/src/linux-headers-2.6.31-14-generic/include/config/usb/serial/siemens/
* installing to library ‘/home/erin/R/x86_64-pc-linux-gnu-library/2.10’
* 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
Trying to find mpi.h ...
Cannot find mpi.h header file
Please use --with-mpi=/path/to/mpi or specify the environment variable MPI_ROOT
ERROR: configuration failed for package ‘Rmpi’
* removing ‘/home/erin/R/x86_64-pc-linux-gnu-library/2.10/Rmpi’
erin@ubuntu:~$ R CMD INSTALL Rmpi_0.5-8.tar.gz --configure-args=--with-mpi=/usr/include/mpich2
* installing to library ‘/home/erin/R/x86_64-pc-linux-gnu-library/2.10’
* 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
Trying to find mpi.h ...
Cannot find mpi.h header file
Please use --with-mpi=/path/to/mpi or specify the environment variable MPI_ROOT
ERROR: configuration failed for package ‘Rmpi’
* removing ‘/home/erin/R/x86_64-pc-linux-gnu-library/2.10/Rmpi’

Now I am at a loss as to what to do.  Any help would be much appreciated.

Thanks,
Erin



Erin M. Hodgess, PhD
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgesse@uhd.edu


	[[alternative HTML version deleted]]

