St. Olaf Beowulf Blog

Friday, October 20, 2006

R Installation Procedure

The following procedures will lead to a working R installation (complete with rsnow and rmpi):

0) Wherever you see the word 'version' in the following instructions, replace it with the applicable version number
1) Download the latest R from here
2) Uncompress
3) type
$ ./configure --prefix=/usr/local/R-version CFLAGS=-O3 FFLAGS=-O3 && make && sudo make install
4) R should now be successfully installed in /usr/local/R-version
5) Download the latest snow and rmpi from here
6) Install snow like this:
$ sudo /usr/local/R-version/bin/R CMD INSTALL snow_version.tar.gz
7) Now install Rmpi
sudo /usr/local/R-version/bin/R CMD INSTALL rmpi_version.tar.gz --configure-args="--with-mpi=/usr/local/lam-version CC=mpicc"
8) All done, should be good to go.

0 Comments:

Post a Comment

<< Home