<div dir="ltr">Satish, a few years ago you helped us transition the XGC Fortran code from v3.7.7 and we seemed to have regressed.<div><br><div>As I recall we removed the initialization of Mats (for example) in XGC. PETSc seems to initialize them with -2 in Fortran (Albert, cc'ed, verified this today) and I recall that from our previous conversation. As I look at the code now Fortran MatDestroy just goes straight to C, which would explain our crashes when we MatDestroy an uninitialized (-2) Mat.</div></div><div><br></div><div>What is the correct way to delete with initializing Fortran objects?</div><div><br></div><div>Thanks,</div><div>Mark</div><div><br></div><div><br></div></div>