Michele Rosso <[email protected]> writes:

> Jed,
>
> In the petscconf.h I have
>
> #ifndef PETSC_USE_LOG
> #define PETSC_USE_LOG 1
> #endif
>
> so I guess that is not the problem.
> I run ex50: I attached the output. It does prints the summary.
> The I guess there is something wrong with my code. 
> I call mpi_init before petsc_initialize and then I finalize everything
> with petsc_finalize. 

Uh, there is no petsc_finalize (it's spelled PetscFinalize), but
remember that it doesn't finalize MPI unless PetscInitialize called
MPI_Init.

> I do not believe I added any other command that could turn off the
> log_summary output.

Then incrementally figure out what is different between your code and
the example.  Or use a debugger to track down the difference.

Attachment: signature.asc
Description: PGP signature

Reply via email to