On Tue, Jun 9, 2015 at 4:15 PM, Thomas Hisch <[email protected]> wrote:

> Hello,
>
> i want to conditionally enable and disable the 'info' log level in a
> python script using PetscInfoAllow. Is this possible in principle? I have
> tried to write the missing wrapper for PetscInfoAllow in petsc4py (see
> https://bitbucket.org/petsc/petsc4py/issue/25). However, disabling the
> 'info' log level with PetscInfoAllow(PETSC_FALSE, NULL) has no effect.
> after it was enabled with PetscInfoAllow(PETSC_TRUE, NULL).
>

Hmm, it really looks to me like this should work and I believe it does in
C. Do you have a small test?

  Thanks,

    Matt


> Best regards,
> Thomas
>
-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

Reply via email to