The goal of this project is to implement a distributed memory with the MPI lib.
For this project, you need to have:
- Python3
- mpi4py (Python lib for MPI)
To use the API, you need to import the lib:
from master import init
app = init(max_size=100)
v = app.allocate(1)
v2 = app.allocate([1, 2, 3, 4])
app.read(v)
app.modify(v, new_value)
app.modify(v2, new_value, index)
app.free(v)
To end the program, you must use this line:
app.terminate_slaves()
To run the tests, you need to type:
make test
Or to run the example:
make example
- Guillaume DRAPALA-BIZOUARN - drapal_g
- Ugo DUCHEMANN - ugo.duchemann
- Carine ZHANG - zhang_d