Hi Bruce,

If you want to check if the window object is the same, you can compare the window handle value. Just note that if you do win_create-win_free-win_create, the second window may be assigned with the same handle as the first one.

Best regards,
Min
On 2019/04/17 17:32, Palmer, Bruce J via discuss wrote:

Hi,

Strictly for debugging purposes, is there a way in MPICH to determine if a MPI_Win created at point A in a code is the same window being accessed at point B? It doesn’t need to be portable, I’m just interested in using it to fix some bugs (that are probably not associated with MPI).

 

Bruce Palmer

Computer Scientist

Pacific Northwest National Laboratory

(509) 375-3899

 


_______________________________________________
discuss mailing list     discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss