3a6fb63e5be3db823a2ca6ecd96b485f337dd19e
[nit.git] / examples / mpi / README
1 # Examples using the MPI protocol
2
3 As of now a single example is available at `src/mpi_simple.nit`.
4
5 # Setting up the cluster
6
7 * Install your distribution packages for OpenMPI, on Debian systems: `apt-get install openmpi-bin libopenmpi-dev`
8 * Prepare the other nodes of the cluster by installing at least `openmpi-bin`.
9 * List all the nodes in a file `hosts`, see `hosts.example`.
10
11 # Compiling and running the examples
12
13 * Compile the binary using `make`.
14 * Copy the binary on each node of the cluster (or recompile it there).
15 * Run with `make run`.