This is a known issue of the MPI Standard, which has been fixed in the recent 4.0 Standard. When supported by the implementations, the send and recv count arrays should be of kindMPI_COUNT_KIND, and the corresponding and recv displacements of kind MPI_ADDRESS_KIND.