= R-MPI = == What is R-MPI == == Software Requirement == * MPI implements * mpich2, mpich, LAM-MPI (7.0.2 or higher) * For mpich2 installation, please reference [http://trac.nchc.org.tw/grid/wiki/MPICH2_Install here] * OpenMPI may causes some problem, not for sure. * R (2.0.0 or higher) * Assuming that your system is ubuntu or you got apt-get commands, you can just install R by : {{{ root@client-01:~# apt-get install r-base-core }}} * gcc-4.2 * As previous step, you can install gcc-4.2 by : {{{ root@client-01:~# apt-get install gcc-4.2 }}} ---- == Install Rmpi == * Download for Rmpi from [http://www.stats.uwo.ca/faculty/yu/Rmpi/ here]. The latest version is 0.5-5. {{{ root@client-01:/opt# wget http://www.stats.uwo.ca/faculty/yu/Rmpi/download/linux/Rmpi_0.5-5.tar.gz }}} * Assuming that your system have installed R, gcc-4.2 and any one of MPI implements already. Then we can start to install Rmpi as follows {{{ root@client-01:/opt# R CMD INSTALL Rmpi_0.5-5.tar.gz }}} * Rmpi have been installed successfully so far. ---- == Test for Rmpi == ---- == Reference == * [http://www.r-project.org/ The R Project Offical Website] * [http://www.stats.uwo.ca/faculty/yu/Rmpi/ Rmpi Project Offical Website] * [http://www.statistik.uni-dortmund.de/useR-2008/ The R User Conference 2008] * [http://cran.r-project.org/web/packages/Rmpi/index.html Rmpi: Interface (Wrapper) to MPI (Message-Passing Interface)] * [http://packages.debian.org/stable/math/r-cran-rmpi Debian Rmpi Package]