[Mpi3-tools] count in MPI_T_PVAR_HANDLE_ALLOC

Junchao Zhang jczhang at mcs.anl.gov
Tue Aug 20 15:53:14 CDT 2013


Hello,

At p578 of the standard,

MPI_T_PVAR_HANDLE_ALLOC(session, pvar_index, obj_handle, handle, count)
...
OUT    count   number of elements used to represent this variable (integer)

It looks to me that pvar can have different classes, e.g.,
MPI_T_PVAR_CLASS_COUNTER, and datatypes, e.g., MPI_UNSIGNED.  And a pvar
can be an array (of length *count)* of such datatypes.

I guess the common case is count=1.

Is my understanding correct?

Thanks

--Junchao Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpi-forum.org/pipermail/mpiwg-tools/attachments/20130820/f67c49c1/attachment.html>


More information about the mpiwg-tools mailing list