[mpich-discuss] How to deal with Valgrind reporting leaks in MPICH MPI library calls?

Guo, Yanfei yguo at anl.gov
Thu Aug 18 13:49:21 CDT 2016

Hi Ed,

I tried a couple Bcast unittest with the same MPICH and valgrind version. I could not reproduce the problem on our side. Can you provide an example code that has this problem?

Yanfei Guo
Postdoctoral Researcher
MCS Division, ANL

On 8/18/16, 10:29 AM, "Ed Hartnett" <edwardjameshartnett at gmail.com> wrote:

    I am using MPICH 3.2, built with: ./configure --prefix=/usr/local --enable-g=mem,dbg,meminit
    I am using valgrind 3.11.0.
    When I run valgrind on one of my MPI programs, I get a large number of reported leaks for PMPI_Bcast().
    Am I doing something wrong? I thought that this version of MPICH, when used with configure flag --enable-g=mem,dbg,meminit, would allow valgrind to work on MPI programs without false positives.
    Any suggestion would be helpful.

discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:

More information about the discuss mailing list