wiki:R-MPI_Install

Version 3 (modified by chris, 16 years ago) (diff)

--

R-MPI

What is R-MPI

Software Requirement

  • MPI implements
    • mpich2, mpich, LAM-MPI (7.0.2 or higher)
      • For mpich2 installation, please reference 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 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