[petsc-users] Issue about matsetvalues when turn off debugging
Jed Brown
jedbrown at mcs.anl.gov
Wed Dec 18 17:16:59 CST 2013
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131218/e493caa8/attachment.pgp>
More information about the petsc-users
mailing list