[OMPI users] Weird behavior using MPI_Lock

2015-02-13 Thread Thibaud Kloczko
Hi all, I observed non-consistent behaviors for the lock functions when applied to windows either created using MPI_Win_create or using MPI_Win_allocate/MPI_Win_allocate_shared. I am using openmpi 1.8.4. A sample of the code is joined to this mail. 1- Locking a window created using allocate fu

Re: [OMPI users] Fail to lock/unlock a shared memory window iteratively

2015-02-13 Thread Thibaud Kloczko
Hi Nathan, Thanks a lot for your fast answer ! - Original Message - | From: "Nathan Hjelm" | To: "Open MPI Users" | Sent: Friday, 13 February, 2015 3:12:12 AM | Subject: Re: [OMPI users] Fail to lock/unlock a shared memory window iteratively | | | There was a bug in the MPI_MODE_NOCH

[OMPI users] Fail to lock/unlock a shared memory window iteratively

2015-02-12 Thread Thibaud Kloczko
MPI job) I observed the same behaviour when allocating the window using MPI_Win_allocate function. On the other hand, everything works well with MPI_Win_Create . Am I wrong somewhere, any idea would be great :-) ! Cheers, Thibaud Klo