Re: [mpich-discuss] [PATCH v2] test: add attrdeleteget, MPI_Attr_get called from delete_fn
18 May
2013
18 May
'13
11:36 a.m.
Pavan Balaji <[email protected]> writes:
Hi Jed,
You should use MPI_COMM_CREATE_KEYVAL and MPI_COMM_GET_ATTR. KEYVAL_CREATE and ATTR_GET are deprecated.
I used the MPI-1 terminology because our code maintains compatibility (mostly because old MVAPICH is common on RHEL systems).
I'm not sure I understand the program. If the comm is invalidated before the delete_fn is called, this is erroneous.
Yes, with MS-MPI, the comm passed to delete_fn is invalid, as evidenced by MPI_Attr_get failing.
But if it is invalidated after the delete_fn is called, this is valid. So what exactly are you trying to do?
We just wanted to call MPI_Attr_get inside the delete_fn. This test is just a minimal test case for that.
4813
Age (days ago)
4813
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jed Brown