PetscInfoAllow
Issue #25
closed
Is it possible to call PetscInfoAllow
within a python script?
Comments (8)
-
reporter -
Mmm, perhaps using the command line is the only way to activating it? There are some things you can activate only before PetscInitialize() is called.
-
reporter Shall I create an issue entry on the PETSc project page and ask there?
-
I would say just email petsc-dev and ask about it. Basically, you want to deactivate -info after it being activated. It seems this is not supported.
-
- changed status to on hold
-
reporter With petsc/slepc 3.6 I get the expected output now. Shall I open a PR? What kind of API do you propose?
-
Yes, make a PR to
maint
branch. Just use your diff, but please name the methodinfoAllow()
. -
- changed status to closed
wrap PetscInfoAllow
closes
#25Signed-off-by: Thomas Hisch thomas.hisch@tuwien.ac.at
→ <<cset 76dec9a664eb>>
- Log in to comment
The following patch implements the missing InfoAllow wrapping.
However, calling
PETSc.Sys.info_allow(False)
afterPETSc.Sys.info_allow(True)
seems to have no effect. Any ideas?