[petsc-users] Issue about matsetvalues when turn off debugging
Gavin Ge
jianchaoge at gmail.com
Thu Dec 19 22:45:31 CST 2013
Thanks Jed. After configuring using this, how can I turn on the debugging option when I compile the code?
On Dec 18, 2013, at 5:16 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
> Gavin Ge <jianchaoge at gmail.com> writes:
>
>> Hi All:
>>
>> Hope everyone enjoy a nice holiday. I just got a problem with matsetvalues function when I mute the debugging option. A segmentation violation error jumps out when I set value for the very first element in the matrix. There is no problem for me to run the program when turning on the debugging option. I just want to tune this for better performance. Or is it better to turn on the debugging option? Could anybody help me with this? Thanks!
>
> Run in a debugger and get a stack trace. You can configure the
> non-debug PETSC_ARCH with COPTFLAGS='-O0 -g' to ensure that debugging
> symbols are available.
More information about the petsc-users
mailing list