add emmanuel code to test mpi comms