[CMake] Memory checking MPI programs with valgrind?

2009-02-26 Thread Bartlett, Roscoe A
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

Re: [CMake] Memory checking MPI programs with valgrind?

2009-02-26 Thread Eric Noulard
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

Re: [CMake] Memory checking MPI programs with valgrind?

2009-02-26 Thread Bartlett, Roscoe A
-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

Re: [CMake] Memory checking MPI programs with valgrind?

2009-02-26 Thread Doss, Nathan E
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

Re: [CMake] Memory checking MPI programs with valgrind?

2009-02-26 Thread Bill Hoffman
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