Index of /examples/r/examples/par_rmpi

Icon  Name                    Last modified      Size  Description
[DIR] Parent Directory - [   ] hello_rmpi.R 26-Oct-2013 22:43 848 [   ] r_batch_mpi 28-Feb-2014 11:47 109

Execute R code in parallel over multiple nodes using rmpi package

hello_rmpi.R script presents an example of parallel execution of R code over multiple nodes using the "rmpi" package.

Interactive execution:

This code uses more than one processor and therefore should not be executed interactively on the login nodes.

Submit R job:

r_batch_mpi script file requests 32 slots for parallel execution of R code.
scc1% qsub r_batch_mpi

Users who are members of any Medical Campus projects must also include their project group name:
scc1% qsub -P scv r_batch_mpi

Contact Information:

Katia Oleinik:

Note: Research Computing Services (RCS) example programs are provided "as is" without any warranty of any kind. The user assumes the entire risk of quality, performance, and repair of any defects. You are encouraged to copy and modify any of the given examples for your own use.