This example project emulates the message passing between threads that I made for my internship
The project uses GPI-2 API which implements the GASPI specification
The code is highly commented and I hope that is very easy to read for people who already know the MPI framework