This page demonstrate a parallel computing tool implemented in R.
You have to have a MPI environment and a Rmpi package to run this example.
It also show the comparison with other methods.
In general, not all computing problem can be easily parallelized such as MCMC,
and not all parallel computing is more efficient than series computing.
Parallel computing is also highly dependent on programing and algorithm.
- MPI -- Message Passing Interface
With LAM/MPI and
R package Rmpi
by Dr. Hao Yu.
- Download
For Mandrake Linux system:
- For LAM/MPI, it requires
- lam-devel-6.5.9-2mdk (my mirror here),
- lam-runtime-6.5.9-2mdk (my mirror here),
- lam-doc-6.5.9-2mdk (my mirror here),
- liblam0-devel-6.5.9-2mdk (my mirror here).
- For Rmpi, it requires Rmpi_0.4-6.tar.gz (my mirror here).
- Master & Salve
The basic idea is Master for MPI rank 0
and Slave for MPI rank from 1 to n, where n is the universal size in your MPI enviroments.