Hi all,<div><br></div><div>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.</div>
<div><br></div><div><br></div><div><div>Now, there are several questions I want to know. </div><div><br></div><div>(1) What are differences between debug version and optimized version in terms of memory management and communication?</div>
<div><br></div><div>(2) I print some memory usages. Why does the optimized version cost twice more memory than the debug version?</div><div><br></div><div>(3) How to debug the optimized code to fix memory issue?</div><div>
<br></div><div>Regards,</div>-- <br><div>Fande Kong</div>Department of Computer Science<div>University of Colorado at Boulder</div>
</div>