[mpiwg-tools] NULL args in pvar_get_info

Junchao Zhang jczhang at mcs.anl.gov
Tue Sep 24 19:38:32 CDT 2013


No problem.
At least I know how to do with it.

--Junchao Zhang


On Tue, Sep 24, 2013 at 6:39 PM, Kathryn Mohror <kathryn at llnl.gov> wrote:

> Hi Junachao,
>
> This is a recent item we added to the errata. I don't believe it has been
> merged into the online errata yet.
>
>
> I was mistaken. This correction will be in the next version of the
> standard and not in the errata. We felt it was slightly too much of a
> change to be considered an item for the errata.
>
> Sorry for any confusion!
> Kathryn
>
>
>  The text for the errata is:
>
>  page 568, line 31 add: Any output parameter to MPI_T_cvar_get_info can
> have a NULL value. In this case, the implementation will ignore the
> parameter and not return a value for that parameter.
>
> page 576, line 46 add: Any output parameter to MPI_T_pvar_get_info can
> have a NULL value. In this case, the implementation will ignore the
> parameter and not return a value for that parameter.
>
> page 586, line 22 add: Any output parameter to MPI_T_category_get_info can
> have a NULL value. In this case, the implementation will ignore the
> parameter and not return a value for that parameter.
>
> You can see the evolution of this change here:
> https://svn.mpi-forum.org/trac/mpi-forum-web/ticket/378
>
>  Kathryn
>
>  On Sep 23, 2013, at 4:03 PM, Junchao Zhang <jczhang at mcs.anl.gov> wrote:
>
>  Hello,
>   For function "int MPI_T_pvar_get_info(int pvar_index, char *name, int
> *name_len, int *verbosity, int *var_class, ...)", MPI_T defines semantics
> when name or name_len are NULL.
>   But for other args, if they are NULL, is it a user program error or
> should we just ignore it? I prefer the latter. But the standard doesn't say
> it.
>
>    Thanks
>  --Junchao Zhang
>  _______________________________________________
> mpiwg-tools mailing list
> mpiwg-tools at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-tools
>
>
>  ______________________________________________________________
> Kathryn Mohror, kathryn at llnl.gov, http://people.llnl.gov/mohror1
> CASC @ Lawrence Livermore National Laboratory, Livermore, CA, USA
>
>
>
>
>  _______________________________________________
> mpiwg-tools mailing list
> mpiwg-tools at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-tools
>
>
> ______________________________________________________________
> Kathryn Mohror, kathryn at llnl.gov, http://people.llnl.gov/mohror1
> CASC @ Lawrence Livermore National Laboratory, Livermore, CA, USA
>
>
>
>
>
> _______________________________________________
> mpiwg-tools mailing list
> mpiwg-tools at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-tools
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpi-forum.org/pipermail/mpiwg-tools/attachments/20130924/3e7cb750/attachment-0001.html>


More information about the mpiwg-tools mailing list