[petsc-dev] printing the matrix name via -mat_view_info

Jed Brown jed at 59A2.org
Wed Sep 29 17:23:09 CDT 2010


On Wed, Sep 29, 2010 at 22:55,  <abhyshr at mcs.anl.gov> wrote:
>  What does PetscObjectName() do??Generate a random name??

Currently it generates a name that looks like

classname_commid_number

where number is incremented sequentially.

I would lean towards always naming everything so that a unique
identifier is available.  Unfortunately, doing so would make all the
test output non-reproducible because the identifier (for generated
names) includes some run-dependent information (commid above).  Maybe
name everything, but have an option to turn it off?

Jed



More information about the petsc-dev mailing list