Generalizing the Buffer in MPI
MPI specifies the buffer by starting address, datatype, and count
- Starting address is obvious
- Datatypes are constructed recursively from
- Elementary (all C and Fortran datatypes)
- Contiguous array of datatypes
- Strided blocks of datatypes
- Indexed array of blocks of datatypes
- General structures
- Count is number of datatype elements