[petsc-users] Crash when using valgrind

Dominik Szczerba dominik at itis.ethz.ch
Fri Apr 19 06:36:00 CDT 2013


On Thu, Apr 18, 2013 at 3:29 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
> Dominik Szczerba <dominik at itis.ethz.ch> writes:
>
>>> What happens when you pass -no_signal_handler to the PETSc program?
>>>
>>
>> valgrind --tool=memcheck -q --num-callers=20 MySolver -no_signal_handler
>>
>> No change, i.e:
>>
>> cr_libinit.c:183 cri_init: sigaction() failed: Invalid argument
>> Aborted (core dumped)
>
> Can you run simple BLCR-using programs in Valgrind?  You might have to
> do your debugging in a non-BLCR build.

I now found that it seems to be an issue with the system mpich2 that I
am using. Thanks for the pointer.

Dominik


More information about the petsc-users mailing list