integer roffset
pos = 0
call mpi_unpack (tbuf2, bytesinbuf, pos,
gindex, 1, MPI_INTEGER,
comm, ierr)
roffset = r*mod (gindex, k)
call mpi_unpack (tbuf2, bytesinbuf, pos,
b(roffset), nsuperblks, newtype,
comm, ierr)