[CMake] Memory checking MPI programs with valgrind?
Eric Noulard
eric.noulard at gmail.com
Thu Feb 26 11:28:49 EST 2009
2009/2/26 Bartlett, Roscoe A <rabartl at sandia.gov>:
> Hello,
>
> Does anyone know how to get CMake/CTest to do memory testing with MPI
> programs using valgrind? The problem is that by default valgrind just tests
> the mpiexec/mpirun driver program and not your user program. I think there
> are some options you can pass to valgrind to get it to do this
mpirun/mpiexec should somehow fork your program such that you need to add:
--trace-children=yes
to valgrind in order to make it trace the child process too.
> but has anyone used these through CMake/CTest and gotten the results submitted to a
> CDash dashboard?
Not me :-(
--
Erk
More information about the CMake
mailing list