[petsc-users] Error when using PCDestroy

TAY wee-beng zonexo at gmail.com
Wed Sep 26 16:03:03 CDT 2012


Hi,

When I run a code in debug mode with -log_summary, there is no problem. 
However, in optimized mode, I encounter error "Caught signal number 11 
SEGV: Segmentation Violation, probably memory access out of range"

It happens at :

call PCDestroy(pc_semi_x,ierr)

Is there any reason why it works well in debug mode but not in optimized 
mode?

-- 
Yours sincerely,

TAY wee-beng



More information about the petsc-users mailing list