Skip to content

libnbc does not retain datatypes #1304

@ggouaillardet

Description

@ggouaillardet

This ticket is about the issue initially reported by Thomas Ponweiser at http://www.open-mpi.org/community/lists/users/2016/01/28265.php

libnbc does not retain datatypes, from a pragmatic point of view, that means that if a datatype is used in a collective operation, and then this datatype is MPI_Type_free() before the collective completes, there is a risk the obj_reference_count becomes 0 and the datatype is freed before being used.

this scenario is explicitly permitted by the MPI standard

http://www.mpi-forum.org/docs/mpi-1.1/mpi-11-html/node58.html
"Any communication that is currently using this datatype will complete normally." And: " Freeing a datatype does not affect any other datatype that was built from the freed datatype."

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions