Discussion:
[OMPI users] valgrind error with MPI_Win_create
Daniel Willen
2017-03-27 15:42:19 UTC
Permalink
Hello,

While trying to debug my application, I've discovered an issue with
valgrind and OpenMPI. Both MPI_Init and MPI_Win_create cause
conditional jump or move errors depend on unitialised value errors.

I've read the relevant section in the FAQ and searched the mailing
lists, but including the suppression file
($PREFIX/share/openmpi/openmpi-valgrind.supp) does not remove the
error. If this is expected behavior (as seems to be the case with
MPI_Init, based on the mailing list), I'll go ahead an add another
suppression rule to my .supp file, but I figured I'd post here just in
case the error on MPI_Win_create is new.

Open MPI version: 2.1.0
Valgrind version: 3.7.0
PATH: points to $PREFIX/bin
LD_LIBRARY_PATH: points to $PREFIX/lib
Test compile command: mpicc -g -std=c99 -Wall test-error.c -o test
Test run command: mpirun -np 2 valgrind ./test
Notes: Valgrind does not complain with only 1 processor (np = 1)

Attached files in tarball:
-- sample code to reproduce: test-error.c
-- valgrind output
-- config.log
-- output of ompi_info --all

Thanks,

Daniel Willen

Loading...