Should PetscObjectName be collective?

Barry Smith bsmith at mcs.anl.gov
Wed Nov 18 09:27:59 CST 2009


On Nov 18, 2009, at 8:52 AM, Jed Brown wrote:

> http://petsc.cs.iit.edu/petsc/petsc-dev/rev/ecbd2dcad71a
>
> Note that there are a couple other places where keyvals are created  
> (with no way to free them).  Does it make sense to put those fields  
> into this one?
>
> Is there a reason that petscinitialize_() duplicates much of
> PetscInitialize()?  Seems like we ought to have the common stuff in a
> PetscInitialize_Private().

    There was a reason for this duplication many years ago. I do not  
know if it is still needed. There is the business of the fortran  
"initialization" being done twice which may be fragile. You could try  
merging but test it relentlessly :-)


    Barry

>
> Jed
>




More information about the petsc-dev mailing list