$ mpicc -Wall main.c mcs-lock-fop.c

$ while true; do mpiexec -n 2 ./a.out ; done

At some point it does locks up.

On Tue, Mar 14, 2017 at 7:52 PM, Balaji, Pavan <balaji@anl.gov> wrote:

Thanks.  I can't seem to reproduce the deadlock anymore after the MODE_NOCHECK hint.  Can you tell us how to reproduce it?

  -- Pavan

> On Mar 14, 2017, at 1:43 PM, Ask Jakobsen <afj@qeye-labs.com> wrote:
>
> Sorry, now header file is attached.
>
> On Tue, Mar 14, 2017 at 5:11 PM, Balaji, Pavan <balaji@anl.gov> wrote:
>
> > On Mar 14, 2017, at 4:58 AM, Ask Jakobsen <afj@qeye-labs.com> wrote:
> > The MPI_Fetch_and_op version trying to implement Pavan's ideas as I understand it (no async progress necessary, but also tested with it enabled).
>
> The header file is missing.
>
>   -- Pavan
>
> _______________________________________________
> discuss mailing list     discuss@mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
>
> <mcs-lock.h>_______________________________________________
> discuss mailing list     discuss@mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss

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



--
Ask Jakobsen
R&D

Qeye Labs
Lersø Parkallé 107
2100 Copenhagen Ø
Denmark

mobile: +45 2834 6936
email: afj@Qeye-Labs.com