singlenton pattern mpi