<html><head></head><body class="ApplePlainTextBody" dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br>   First run with valgrind http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind<br><br><br><br><blockquote type="cite">On May 25, 2016, at 2:35 AM, Constantin Nguyen Van <constantin.nguyen.van@openmailbox.org> wrote:<br><br>Hi,<br><br>I'm a new user of PETSc and I try to use it with MUMPS functionalities to compute a nullbasis.<br>I wrote a code where I compute 4 times the same nullbasis. It does work well when I run it with several procs but with only one processor I get an error on the 2nd iteration when KSPSetUp is called. Furthermore when it is run with a debugger ( --with-debugging=yes), it works fine with one or several processors.<br>Have you got any idea about why it doesn't work with one processor and no debugger?<br><br>Thanks.<br>Constantin.<br><br>PS: You can find the code and the files required to run it enclosed.<br></blockquote><br></body></html>