See Collective Calling Requirements in Parallel HDF5 Applications for information on how Parallel HDF5 APIs should be called.