[petsc-users] Issue about matsetvalues when turn off debugging

Gavin Ge jianchaoge at gmail.com
Thu Dec 19 22:47:42 CST 2013


Thanks Barry. The problem is that the debugging couldn't detect any problem with the debugger. The crash only show up when debugger is turned off.




-----------------------------------------------
Gig' em
Jianchao Ge	
Dept. of Geology and Geophysics
Texas A&M University





On Dec 18, 2013, at 5:23 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

> 
> http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind
> 
> On Dec 18, 2013, at 4:50 PM, Gavin Ge <jianchaoge at gmail.com> wrote:
> 
>> 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!
>> 
>> Regards,
>> Gavin
>> 
>> 
>> 
>> 
>> 
> 



More information about the petsc-users mailing list