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
2009/2/26 Bartlett, Roscoe A raba...@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
-Original Message-
From: Eric Noulard [mailto:eric.noul...@gmail.com]
Sent: Thursday, February 26, 2009 9:29 AM
To: Bartlett, Roscoe A
Cc: cmake@cmake.org; Willenbring, James M; Perschbacher, Brent M
Subject: Re: [CMake] Memory checking MPI programs with valgrind?
2009/2/26
I don't know if you've considered it and I'm not sure if it would work
in your situation, but you might be able to use mpirun to run valgrind.
For example:
mpirun mpirun args valgrind valgrind args executable
executable args
--ND
___
Powered by
Bartlett, Roscoe A wrote:
Does anyone know how to get valgrind to not search for errors in the parent but
only in the children?
No way to do that, but you can create a suppression file. If you add
--gen-suppressions=all to the valgrind command line it will create
entries for the