The aim of the best practice guide is to sketch common practices related to the MPI – GPI-2 interoperability. The present document tries to show via concrete examples different modalities of mixing MPI and GPI-2 code within the same parallel program, pointing to some common practices that should be taken into account when proceeding with this.
This document provides simple guidelines on the process of porting an MPI application to GPI-2.
Part I of this document introduces GPI-2, its main arguments and then takes the reader through a simple framework with distinct steps towards a GPI-2 application.
Part II provides a simple example, a MPI code solving the Laplace equation on a three dimensional regular grid.