Skip to content

clarify what functions can be called on uncommitted datatypes #17

Open
@jeffhammond

Description

@jeffhammond

This text

4.1.9 Commit and Free
A datatype object has to be committed before it can be used in a communication. 
As an argument in datatype constructors, uncommitted and also committed datatypes 
can be used. There is no need to commit basic datatypes. They are “pre-committed.”

leaves some ambiguity since the functions MPI_TYPE_SIZE(_X) and MPI_TYPE_GET_{CONTENTS,ENVELOPE,EXTENT(_X),TRUE_EXTENT(_X)} lie outside of the union of "communication" and "datatype constructors".

It would be helpful to users if the text was unambiguous about the functions that can and cannot be called on uncommitted datatypes.

Metadata

Metadata

Assignees

Labels

chap-datatypesDatatypes Chapter Committeempi-6For inclusion in the MPI 5.1 or 6.0 standardno-wgDiscussion doesn't have a current working group

Type

No type

Projects

Status

To Do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions