Home
last modified time | relevance | path

Searched refs:logging (Results 1 – 25 of 30) sorted by relevance

12

/petsc/config/
H A Dgmakegen.py5 import logging
96logging.basicConfig(filename=self.pkg_arch_path('lib',self.pkg_name,'conf', 'gmake.log'), level=lo…
99 logging.basicConfig(filename='/dev/null', level=logging.DEBUG)
100 self.log = logging.getLogger('gmakegen')
H A Dtestparse.py41 import logging
/petsc/src/sys/tests/output/
H A Dex30_8.out1 # This program was run with logging synchronization. #
/petsc/src/binding/petsc4py/conf/
H A Dcyautodoc.py302 import logging
304 logging.Logger(__name__).exception(exc)
321 import logging
323 logging.Logger(__name__).exception(exc)
/petsc/src/binding/petsc4py/
H A D.ruff.toml32 "S110", # `try`-`except`-`pass` detected, consider logging the exception
H A DCHANGES.rst288 - Added support for PETSc logging features like stages, classes and
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DLog.pyx119 """Turn on logging of objects and events.
257 """Return whether logging is currently in progress.
298 """Push a stage on the logging stack.
310 """Pop a stage from the logging stack.
677 """Turn on logging of all events.
684 Activate (if `True`) or deactivate (if `False`) the logging of all events.
/petsc/doc/developers/
H A Dkernel.md270 used by default for the debug version of PETSc), provide simple logging
275 This section provides details about the implementation of event logging
279 The source code for the profile logging is in `src/sys/plog/`.
299 inherited from the basic object. Thus, these logging routines need never
316 This logging is usually done in the abstract interface file for the
H A Dtesting.md10 …sts of makefile and shell scripts that runs the executables with several logging and reporting fea…
65 In practice, we want to do various logging and counting by the test
999 desired requirements for reporting and logging.
1065 `petsc_harness.sh` is a small shell script that provides the logging and reporting
H A Dbuildsystem.md166 integrating logging with the rest of PETSc.
287 the final output and logging actions,
H A Dobjects.md59 and logging of profiling information and then call the function
/petsc/doc/changes/
H A D215.md55 - Turned off logging of objects and actions by default - saves
H A D320.md57 - Add `PetscLogHandlerStart()` to connect a `PetscLogHandler` to PETSc's global logging events
60 - Add `PetscLogEventsPause()` and `PetscLogEventsResume()` to isolate a logging event from unrelate…
H A D32.md23 because "log" is reserved for related to the performance logging
293 - The preloading macros as well as developer-level logging and
H A D2017.md141 - Added the runtime option -trmalloc_log, which activates logging of
H A D318.md130 Add NVIDIA NVTX sections to `Default` event logging. This tags code
/petsc/doc/manual/
H A Dprofiling.md327 user can either use the default logging file or specify a name via
333 instructions for logging MPI calls. For example, when using MPICH, this
341 It is possible to output the PETSc logging information in a nested format
372 steps involved in logging a user-defined portion of code, called an
397 optional user-defined event color (for use with *Jumpshot* logging; see
495 PETSc logging of individual events, one uses the commands
507 PETSc also provides routines that deactivate (or activate) logging for
509 such logging (de)activation are `Mat` (matrices), `Vec` (vectors),
535 calling `PetscInfoAllow(PETSC_TRUE)`. Such logging, which is used
559 One can turn on or off logging for particular classes at runtime
[all …]
/petsc/src/vec/is/sf/interface/
H A Dsf.c1494 if (!sf->vscat.logging) PetscCall(PetscLogEventBegin(PETSCSF_BcastBegin, sf, 0, 0, 0)); in PetscSFBcastBegin()
1498 if (!sf->vscat.logging) PetscCall(PetscLogEventEnd(PETSCSF_BcastBegin, sf, 0, 0, 0)); in PetscSFBcastBegin()
1528 if (!sf->vscat.logging) PetscCall(PetscLogEventBegin(PETSCSF_BcastBegin, sf, 0, 0, 0)); in PetscSFBcastWithMemTypeBegin()
1530 if (!sf->vscat.logging) PetscCall(PetscLogEventEnd(PETSCSF_BcastBegin, sf, 0, 0, 0)); in PetscSFBcastWithMemTypeBegin()
1556 if (!sf->vscat.logging) PetscCall(PetscLogEventBegin(PETSCSF_BcastEnd, sf, 0, 0, 0)); in PetscSFBcastEnd()
1558 if (!sf->vscat.logging) PetscCall(PetscLogEventEnd(PETSCSF_BcastEnd, sf, 0, 0, 0)); in PetscSFBcastEnd()
1592 if (!sf->vscat.logging) PetscCall(PetscLogEventBegin(PETSCSF_ReduceBegin, sf, 0, 0, 0)); in PetscSFReduceBegin()
1596 if (!sf->vscat.logging) PetscCall(PetscLogEventEnd(PETSCSF_ReduceBegin, sf, 0, 0, 0)); in PetscSFReduceBegin()
1625 if (!sf->vscat.logging) PetscCall(PetscLogEventBegin(PETSCSF_ReduceBegin, sf, 0, 0, 0)); in PetscSFReduceWithMemTypeBegin()
1627 if (!sf->vscat.logging) PetscCall(PetscLogEventEnd(PETSCSF_ReduceBegin, sf, 0, 0, 0)); in PetscSFReduceWithMemTypeBegin()
[all …]
/petsc/src/sys/memory/
H A Dmtr.c771 PetscErrorCode PetscMallocViewGet(PetscBool *logging) in PetscMallocViewGet() argument
774 *logging = (PetscBool)(PetscLogMalloc >= 0); in PetscMallocViewGet()
831 PetscErrorCode PetscMallocTraceGet(PetscBool *logging) in PetscMallocTraceGet() argument
834 *logging = (PetscBool)(PetscLogMallocTrace >= 0); in PetscMallocTraceGet()
/petsc/src/binding/petsc4py/docs/source/
H A Dapidoc.py5 from sphinx.util import logging
7 logger = logging.getLogger(__name__)
/petsc/src/vec/vec/utils/
H A Dvscat.c1322 sf->vscat.logging = PETSC_TRUE; in VecScatterBegin()
1327 sf->vscat.logging = PETSC_FALSE; in VecScatterBegin()
1360 sf->vscat.logging = PETSC_TRUE; in VecScatterEnd()
1364 sf->vscat.logging = PETSC_FALSE; in VecScatterEnd()
/petsc/include/petsc/private/
H A Dsfimpl.h63 …PetscBool logging; /* Indicate if vscat log events are happening. If yes, avo… member
/petsc/doc/miscellaneous/
H A Dcodemanagement.md99 logging into another machine -- there are no code or makefile
/petsc/src/ksp/pc/impls/hypre/
H A Dhypre.c50 PetscInt logging; member
1516 …_logging", "Print info to screen", "None", (PetscBool)jac->logging, (PetscBool *)&jac->logging, &f… in PCSetFromOptions_HYPRE_ParaSails()
1517 if (flag) PetscCallHYPRE(HYPRE_ParaSailsSetLogging(jac->hsolver, (HYPRE_Int)jac->logging)); in PCSetFromOptions_HYPRE_ParaSails()
1547 …tscCall(PetscViewerASCIIPrintf(viewer, " print info to screen %s\n", PetscBools[jac->logging])); in PCView_HYPRE_ParaSails()
2267 if (PetscLogPrintInfo) jac->logging = (int)PETSC_TRUE; in PCHYPRESetType_HYPRE()
2268 else jac->logging = (int)PETSC_FALSE; in PCHYPRESetType_HYPRE()
2275 PetscCallHYPRE(HYPRE_ParaSailsSetLogging(jac->hsolver, (HYPRE_Int)jac->logging)); in PCHYPRESetType_HYPRE()
/petsc/src/ksp/ksp/tutorials/output/
H A Dex2_help.out47 -log_view [:filename:[format]]: logging objects and events
49 -log_exclude <list,of,classnames>: exclude given classes from logging

12