[Mpi3-tools] count in MPI_T_PVAR_HANDLE_ALLOC

Kathryn Mohror kathryn at llnl.gov
Tue Aug 20 16:49:53 CDT 2013


Hi Junchao,

> 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?

Yes, your understanding is correct.

Hope that helps,
Kathryn

> 
> Thanks
> 
> --Junchao Zhang
> _______________________________________________
> Mpi3-tools mailing list
> Mpi3-tools at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-tools

______________________________________________________________
Kathryn Mohror, kathryn at llnl.gov, http://people.llnl.gov/mohror1
CASC @ Lawrence Livermore National Laboratory, Livermore, CA, USA




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


More information about the mpiwg-tools mailing list