close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_core.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
R-MPI
1.What is R-MPI
2.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)
- gcc-4.2
3.Install Rmpi
4.Test for Rmpi
- At first, you need to start mpi at Master mode (such as client-01).
For example, mpich2,
root@client-01:/opt# mpdboot -n 3 -f /root/mpich2-1.0.7rc1/mpd.hosts
root@client-01:/opt# mpdtrace
client-01
client-03
client-02
- Test for example program
Notice that this example has a plot in it so trying it in X-windows.
root@client-01:/opt# wget http://ace.acadiau.ca/math/ACMMaC/Rmpi/task_pull.R
root@client-01:/opt# mpirun -np 1 R --slave CMD BATCH task_pull.R
5.Reference
Download in other formats: