Simple experiments for converting a 1D parallel messaging interface to work in two dimensions using MPI.
Compile with an MPI aware C++ compiler:
mpic++ -std=c++17 main.cpp -o mainRun the resulting binary with mpirun, using a square number of processes (for
example four processes):
mpirun -np 4 ./main