[Facets-devel] PETSC ERROR

Barry Smith bsmith at mcs.anl.gov
Thu Jun 4 16:25:17 CDT 2009


On Jun 4, 2009, at 4:23 PM, Satish Balay wrote:

>> On Thu, 4 Jun 2009, Barry Smith wrote:
>
>>> In the future we may just wish to ditch the file argument from
>>> PETScInitialize()
>
> I guess - to do this - we'll have to split up the options part from
> PETScInitialize() - and have it be similar to
> MPI_Init()/MPI_Finalize() - [as PetscIntialize()/Finalize() depends
> upon this code]
>
> Normal code:
>
> PetscInitialize()
> PetscFinalize()
>
> Optional code:
>
> MPI_Init()
> PetscOptionsInitialize()

   Cannot do this and don't want to. Don't want  
PetscOptionsInitialize() to be callable before PetscInitialize().

    Barry

>
> PetscInitialize()
> PetscFinalize()
> PetscOptionsFinalize()
> MPI_Finalize()
>
> Satish




More information about the petsc-dev mailing list