[petsc-dev] handling any order of MatSetType() and MatSetSizes()

Shri abhyshr at mcs.anl.gov
Thu Jul 1 15:42:05 CDT 2010

> Despite the latest fix (BTW, DO NOT USE C++ style comments!!!) for

Sorry about the C++ sytle comments,removed the ++ from them :)

> SeqDense, things are still broken... I think that the code
> MatSetSizes_SeqDense should be moved to the preallocation routine and
> then removed from the _MatOpts table.
> [dalcinl at trantor petsc4py-dev]$ python dense-mat.py
> ------------------------------------------------------------------------
> [0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation,

 Pushed a fix for this. Let me know if its still breaking.


More information about the petsc-dev mailing list