<div>I have been successfully using valgrind for a long long time with petsc but now suddenly it refuses to work. E.g. calling up a properly functioning program causes a crash:</div><div><br></div><div>mpiexec -n 2 valgrind --tool=memcheck -q --num-callers=20 MySolver</div>
<div><br></div><div>cr_libinit.c:183 cri_init: sigaction() failed: Invalid argument</div><div><div>cr_libinit.c:183 cri_init: sigaction() failed: Invalid argument</div><div><br></div><div>=====================================================================================</div>
<div>= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES</div><div>= EXIT CODE: 134</div><div>= CLEANING UP REMAINING PROCESSES</div><div>= YOU CAN IGNORE THE BELOW CLEANUP MESSAGES</div><div>=====================================================================================</div>
<div>APPLICATION TERMINATED WITH THE EXIT STRING: Aborted (signal 6)</div></div><div><br></div><div>Same problem if I run without mpiexec at all, just on one proc.</div><div><br></div><div>Google found just one and only related page on valgrind pages but I was not able to conclude much. Did anyone else experience the same problem?</div>
<div><br></div><div>Thanks,</div><div>Dominik</div>