mpich icon indicating copy to clipboard operation
mpich copied to clipboard

bug: lock request operations, and returning failure

Open mpichbot opened this issue 9 years ago • 3 comments

Originally by dinan on 2012-11-12 14:44:22 -0600


Lock request operations currently cannot fail at the target and return a failure response to the origin. Because of this, we're not able to properly handle many cases of incorrect passive target usage.

One such example is attached.

mpichbot avatar Oct 14 '16 17:10 mpichbot

Originally by dinan on 2012-11-12 14:46:07 -0600


Attachment added: win_sync_lock_fence2.c (1.7 KiB) This example forces and incorrect interleaving of active target (fence) and passive target epochs.

mpichbot avatar Oct 14 '16 17:10 mpichbot

Originally by dinan on 2012-11-12 14:46:15 -0600


Attachment added: win_sync.h (1.8 KiB)

mpichbot avatar Oct 14 '16 17:10 mpichbot

Confirmed. Lock request should return failure (via active message ACK) if there it is received inside a pending fence.

hzhou avatar Oct 14 '21 01:10 hzhou