Sun Studio 12: Fortran Library Reference

2.3.4.1 MPI_SIZEOF

MPI_SIZEOF( x, size, error)

Returns the size in bytes of the machine representation of the given variable, x. If x is an array, it returns the size of the base element and not the size of the whole array

input; variable or array of arbitrary type 

size

output; integer; size in bytes of x

error

output; integer; set to an error code if an error detected, zero otherwise