[mpiwg-tools] Active / inactive pvars

Mohror, Kathryn mohror1 at llnl.gov
Wed Sep 18 12:55:23 CDT 2013

Hi Junchao,

  The MPI standard says "However, MPI implementations are not allowed to change the index of a performance variable or to delete a variable once it has been added to the set. When a variable becomes inactive, e.g., through dynamic unloading, accessing its value should return a corresponding error code."  Does it imply,
  1) MPI_T_pvar_get_num() will return a N that counts both active and inactive pvars

  2) MPI_T_pvar_get_info(par_index, ...,)  may return MPI_T_ERR_INVALID_INDEX even for a par_index < N

  3) When a pvar is re-activated, it keeps its old index?


 These are not obvious in the standard.

Thanks for your feedback. We have updated the example for control variables (Example 14.4) to illustrate your first point (will be part of the next released standard). However, I realize now that we should do the same for other examples in the chapter.

We possibly need to add some text to address this as well, maybe as errata since it seems clarification could help avoid confusion. I'll bring this up in the working group.


--Junchao Zhang
mpiwg-tools mailing list
mpiwg-tools at lists.mpi-forum.org<mailto:mpiwg-tools at lists.mpi-forum.org>

Kathryn Mohror, kathryn at llnl.gov<mailto: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/20130918/1e12acc1/attachment-0001.html>

More information about the mpiwg-tools mailing list