Try another implementation like MPICH (or derivates thereof, e.g. MVAPICH2,
or Intel MPI).  If you do not see the problem there, then it's pretty good
evidence that it is an Open-MPI bug.

In my experience, the developers of both Open-MPI and MPICH can be shamed
into fixing bugs when the competing implementation is demonstrated to be
superior.  Your mileage may vary.

Jeff

On Mon, Dec 4, 2017 at 8:32 AM, Philip Blakely <pmblak...@gmail.com> wrote:

> Hello,
>
> Just following up on this from a few weeks ago since no one seems to
> have responded. Does anyone have any suggestions as to whether this is
> a genuine memory leak with OpenMPI or some other kind of problem I
> need to debug?
>
> For more real-world context: this was triggered by a CFD code we use
> in our research group, which uses the Boost MPI library. As part of
> its serialization of std::vectors, Boost makes use of MPI_Alloc_mem
> (balanced by MPI_Free_mem, as in the example I gave), and this appears
> to be the cause of a memory leak which eventually results in some of
> our simulations crashing due to lack of memory. So, there's no obvious
> way I can work around this without replacing a lot of Boost code by a
> hand-coded equivalent.
>
> Any suggestions welcome.
>
> Thanks,
>
> Philip
> _______________________________________________
> users mailing list
> users@lists.open-mpi.org
> https://lists.open-mpi.org/mailman/listinfo/users
>



-- 
Jeff Hammond
jeff.scie...@gmail.com
http://jeffhammond.github.io/
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Reply via email to