[mpich-discuss] [PATCH v2] test: add attrdeleteget, MPI_Attr_get called from delete_fn

Jed Brown jedbrown at mcs.anl.gov
Sat May 18 11:44:45 CDT 2013


Pavan Balaji <balaji at mcs.anl.gov> writes:

> You want to call MPI_ATTR_GET on the communicator you are deleting?  How
> is that a valid program?

The communicator shouldn't be invalidated until _after_ calling all the
delete_fn, so it should still be safe to check attributes from
delete_fn.  The 'flag' argument is used to indicate whether the
attribute is missing.



More information about the discuss mailing list