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 <[email protected]> wrote:

> Gavin Ge <[email protected]> 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.

Reply via email to