<div dir="ltr">In the MPI_T return code Table (P589), there are <div><br></div><div>Return Codes for Datatype Functions: MPI_T_ENUM_*</div><div><div>MPI_T_ERR_INVALID_INDEX The enumeration index is invalid or has been deleted.</div>
<div>MPI_T_ERR_INVALID_ITEM The item index queried is out of range (for MPI_T_ENUM_GET_ITEM only)</div><div><br></div><div>Why we used "<span style="color:rgb(255,0,0)">enumeration index</span>" here? Since in the standard, it is called a handle. And why designed MPI_T_ERR_INVALID_ITEM specially for MPI_T_ENUM_GET_ITEM?</div>
<div>In my view, there should be MPI_T_ERR_INVALID_ENUM, MPI_T_ERR_INVALID_INDEX respectively.</div><div><br clear="all"><div><div dir="ltr">--Junchao Zhang</div></div>
</div></div></div>