18 May
2013
18 May
'13
11:47 a.m.
On 05/18/2013 11:44 AM US Central Time, Jed Brown wrote:
Pavan Balaji <[email protected]> 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.
Can you point me to the appropriate location in the standard for this? All I can find is: "The comm_delete_attr_fn function is invoked when a communicator is deleted by MPI_COMM_FREE or when a call is made explicitly to MPI_COMM_DELETE_ATTR." -- Pavan -- Pavan Balaji http://www.mcs.anl.gov/~balaji