Use this header to include MPI properly.
namespace for communication related stuff
void open_reset_file(MPI_File &fh, const std::string &fname)
Open a MPI file and remove its content.
void open_read_only_file(MPI_File &fh, const std::string &fname)
Open a mpi file in read only mode.