[petsc-users] memory crash with optimized petsc

Fande Kong fande.kong at colorado.edu
Mon Jun 3 01:24:16 CDT 2013


Hi all,

I can correctly run my application based on the petsc ( --with-debugging =
yes). But the same code encounters memory crash when it runs with optimized
version ( --with-debugging = no) . The detailed information for errors and
results is attached. The logs for configure and make are also attached.


Now, there are several questions I want to know.

(1) What are differences between debug version and optimized version in
terms of memory management and communication?

(2) I print some memory usages. Why does the optimized version cost twice
more memory than the debug version?

(3) How to debug the optimized code to fix memory issue?

Regards,
-- 
Fande Kong
Department of Computer Science
University of Colorado at Boulder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130603/da9076eb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make and configure.zip
Type: application/zip
Size: 678518 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130603/da9076eb/attachment-0004.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: result_debug_out.zip
Type: application/zip
Size: 23372 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130603/da9076eb/attachment-0005.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: result_optimized_error.zip
Type: application/zip
Size: 13025 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130603/da9076eb/attachment-0006.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: result_optimized_out.zip
Type: application/zip
Size: 16479 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130603/da9076eb/attachment-0007.zip>


More information about the petsc-users mailing list