[petsc-users] valgrind with petscmpiexec

Jed Brown jed at jedbrown.org
Tue Dec 15 22:10:38 CST 2020


Barry Smith <bsmith at petsc.dev> writes:

>   No idea. Perhaps petscmpiexec could be modified so it only ran valgrind on the first 10 ranks? Not clear how to do that. Or valgrind should get a MR that removes this small arbitrary limitation on the number of processes. 576 is so 2000 :-)

I don't want it stuffed into petscmpiexec, but I routinely run Valgrind or gdb on a subset of ranks

mpiexec -n 3 valgrind --track-origins=yes ./app -args : -n 5 ./app -args


More information about the petsc-users mailing list