Matt, I wanted to add to valgrind.py a test that made sure valgrind.h was compilable. So I added a simple test
self.checkCompile('#include <valgrind/valgrind.h>','RUNNING_ON_VALGRIND;\n') the problem is I do not know where you stash the directory where the include file is put therefor the test fails because it does not know where to look for valgrind/valgrind.h Please pull and fix this now, since configure in petsc-dev is currently broken. Thanks Barry