Re: [OMPI users] False positives and even failure with Open MPI and memchecker

2016-11-05 Thread Gilles Gouaillardet
so it seems we took some shortcuts in pml/ob1 the attached patch (for the v1.10 branch) should fix this issue Cheers Gilles On Sat, Nov 5, 2016 at 10:08 PM, Gilles Gouaillardet wrote: > that really looks like a bug > > if you rewrite your program with > > MPI_Sendrecv(&l, 1, MPI_INT, rank

Re: [OMPI users] False positives and even failure with Open MPI and memchecker

2016-11-05 Thread Gilles Gouaillardet
that really looks like a bug if you rewrite your program with MPI_Sendrecv(&l, 1, MPI_INT, rank_next, tag, &l_prev, 1, MPI_INT, rank_prev, tag, MPI_COMM_WORLD, &status); or even MPI_Irecv(&l_prev, 1, MPI_INT, rank_prev, tag, MPI_COMM_WORLD, &req); MPI_Send(&l, 1, MPI_INT, rank_next, tag,

Re: [OMPI users] False positives and even failure with Open MPI and memchecker

2016-11-05 Thread Gilles Gouaillardet
Hi, note your printf line is missing. if you printf l_prev, then the valgrind error occurs in all variants at first glance, it looks like a false positive, and i will investigate it Cheers, Gilles On Sat, Nov 5, 2016 at 7:59 PM, Yvan Fournier wrote: > Hello, > > I have observed what seems to