Use common helper function _check_comm in MPIConfig and Halo