<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">It is because MPICH auto-generates manpage's explanation based on error codes tagged on each MPI routine.<div>A generic explanation is applied to all routines with the same error code. So you can even see "<span style="font-size:13px">May be an uncommitted MPI_Datatype (see </span><span style="font-size:13px">MPI_Type_commit)." in manpage of MPI_Type_commit".</span></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">--Junchao Zhang</div></div></div>
<br><div class="gmail_quote">On Fri, Dec 5, 2014 at 9:16 AM, Junchao Zhang <span dir="ltr"><<a href="mailto:jczhang@mcs.anl.gov" target="_blank">jczhang@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I think it is an oversight. MPI_Type_free in MPICH is ok with uncommitted datatypes. I will correct it. <div>Thanks.</div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr">--Junchao Zhang</div></div></div>
<br><div class="gmail_quote"><div><div class="h5">On Fri, Dec 5, 2014 at 8:04 AM, Marc-Andre Hermanns <span dir="ltr"><<a href="mailto:m.a.hermanns@grs-sim.de" target="_blank">m.a.hermanns@grs-sim.de</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Dear MPICH team,<br>
<br>
I just recently stumbled over the MPICH manpage for MPI_Type_commit and<br>
MPI_Type_free.<br>
<br>
In the description of MPI_ERR_TYPE it states:<br>
<br>
"MPI_ERR_TYPE<br>
Invalid datatype argument. May be an uncommitted MPI_Datatype (see<br>
MPI_Type_commit). "<br>
<br>
What is meant by an uncommitted MPI_Datatype? As far as I know,<br>
MPI_Type_free should be callable on uncommitted datatypes. So why is<br>
there this reference to the commit state?<br>
<br>
Cheers,<br>
Marc-Andre<br>
--<br>
Marc-Andre Hermanns<br>
Jülich Aachen Research Alliance,<br>
High Performance Computing (JARA-HPC)<br>
German Research School for Simulation Sciences GmbH<br>
<br>
Schinkelstrasse 2<br>
52062 Aachen<br>
Germany<br>
<br>
Phone: <a href="tel:%2B49%20241%2080%2099753" value="+492418099753" target="_blank">+49 241 80 99753</a><br>
Fax: <a href="tel:%2B49%20241%2080%206%2099753" value="+4924180699753" target="_blank">+49 241 80 6 99753</a><br>
<a href="http://www.grs-sim.de/parallel" target="_blank">www.grs-sim.de/parallel</a><br>
email: <a href="mailto:m.a.hermanns@grs-sim.de" target="_blank">m.a.hermanns@grs-sim.de</a><br>
<br>
<br></div></div>_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br></blockquote></div><br></div>
</blockquote></div><br></div>