| #
d12b462c
|
| 15-Oct-2023 |
Toby Isaac <toby.isaac@gmail.com> |
Profiling: autostart -log_perfstubs if TAU_EXEC_PATH is in the environment
|
| #
998f8aac
|
| 08-Oct-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/cleanup' into 'main'
Autumn cleanup
See merge request petsc/petsc!6915
|
| #
5afa97f7
|
| 08-Oct-2023 |
Pierre Jolivet <pierre@joliv.et> |
Remove unnecessary spaces
|
| #
33fbd385
|
| 22-Sep-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'tisaac/feature-log-nvtx' into 'main'
Profiling: Create PETSCLOGHANDLERNVTX (`-log_view` no longer required for Nsight ranges)
See merge request petsc/petsc!6884
|
| #
61cc7448
|
| 21-Sep-2023 |
Toby Isaac <toby.isaac@gmail.com> |
Profiling: Create PETSCLOGHANDLERNVTX
|
| #
9c5460f9
|
| 17-Aug-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2023-08-09/linter-detect-static-function-candidates' into 'main'
Linter detect possible static functions
See merge request petsc/petsc!6796
|
| #
66976f2f
|
| 14-Aug-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Add static to internal functions
|
| #
9c861a52
|
| 07-Aug-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'tisaac/feature-malloc-dump-finalize' into 'main'
Sys: Introduce -on_error_malloc_dump and PETSC_ERR_MEM_LEAK
See merge request petsc/petsc!6745
|
| #
9beb8f72
|
| 07-Aug-2023 |
Toby Isaac <toby.isaac@gmail.com> |
Sys: Introduce -on_error_malloc_dump and PETSC_ERR_MEM_LEAK
To avoid a malloc dump that swamps the error output of another error, this makes calling `PetscMallocDump()` in the error handlers opt-in,
Sys: Introduce -on_error_malloc_dump and PETSC_ERR_MEM_LEAK
To avoid a malloc dump that swamps the error output of another error, this makes calling `PetscMallocDump()` in the error handlers opt-in, with a different flag (`-on_error_malloc_dump`) from the flag for calling `PetscMallocDump()` in `PetscFinalize()` (just `-malloc_dump`).
The addition of `PETSC_ERR_MEM_LEAK` allows for better error messages: `~PoolAllocator()` can detect a memory leak even if the system is not out of memory, so the error message will not say that for `PETSC_ERR_MEM_LEAK`.
show more ...
|
| #
6c37f76f
|
| 27-Jul-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'tisaac/feature-log-handler' into 'main'
Deglobalize logging into PetscLogHandler and PetscLogState
See merge request petsc/petsc!6709
|
| #
ad2e3d55
|
| 14-Jul-2023 |
Toby Isaac <toby.isaac@gmail.com> |
Profiling: Use PetscOptionsGetViewers() in -log_view
|
| #
b665b14e
|
| 18-Jul-2023 |
Toby Isaac <toby.isaac@gmail.com> |
Profiling: Switch logging over to the new PetscLogHandler infrastructure
- Move data structures only needed by the default logger now (Action, Object) to logdefault.c
- Create petsclogdeprecated.
Profiling: Switch logging over to the new PetscLogHandler infrastructure
- Move data structures only needed by the default logger now (Action, Object) to logdefault.c
- Create petsclogdeprecated.h and petsc/private/logimpldeprecated.h for publicly visible symbols that are now deprecated. Yes, lots of symbols in petsc/private/logimpl.h were not only visible but had docstrings.
- The macros PetscLogEventBegin(), PetscLogEventEnd(), PetscLogEventSync(), PetscLogObjectCreate(), and PetscLogObjectDestroy() now looks through the log handlers in PetscLogHandlers, sees if they have they appropriate callbacks (Exposed in PetscLogHandlerHot), and calls them. Up to 4 log handlers can run simultaneously.
- All queries about the registered things now go through petsc_log_state.
- Output functions dispatch to the appropriate PetscLogHandler
- There is no need for xmllogevent.c, xmlviewer.c, eventlog.c, classlog.c, and stagelog.c anymore. Some orphaned functions (PetscLogSetThreshold(), PetscLogEventSetDof(), PetscLogEventSetError(), PetscASend(), PetscARecv(), PetscAReduce())
- PetscFEOpenCLLogResidual() did some intrusive things related to the old logging infrastruture: the private header for the default log handler is now imported into feopencl.c so that it can do equivalent things with the new infrastructure.
- PetscLogPauseCurrentEvent_Internal() is replaced with PetscLogEventsPause()
Deprecated symbols include:
- All functions related to PetscStageLog and the resizable array structs that it contained.
- The legacy EventBegin()/EventEnd() callbacks.
- PetscLogAllBegin(), which actually reported less information than PetscLogDefaultBegin() because it was not kept up-to-date with regards to GPU profiling.
show more ...
|
| #
2611ad71
|
| 14-Jul-2023 |
Toby Isaac <toby.isaac@gmail.com> |
Profiling: Improve !defined(PETSC_USE_LOG) #defines
- If we cast macro arguments to void, we can avoid unused errors that have forced lots of conditionally included code like this:
```c #if def
Profiling: Improve !defined(PETSC_USE_LOG) #defines
- If we cast macro arguments to void, we can avoid unused errors that have forced lots of conditionally included code like this:
```c #if defined(PETSC_USE_LOG) PetscLogEvent event; #endif ```
- Having global counters like petsc_TotalFlops externed event if !PetscDefined(USE_LOG) helps to remove a lot of needless `#ifdef`s around code that can instead be placed in `if (PetscDefined(USE_LOG)) {}` blocks.
show more ...
|
| #
02477ebb
|
| 15-Jul-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2023-06-30/enable-doc-lint' into 'main'
Enable docs linting
See merge request petsc/petsc!6667
|
| #
10450e9e
|
| 12-Jul-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Manual linter fixes: sys
|
| #
aec76313
|
| 12-Jul-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Lint apply: sys
|
| #
febce1c0
|
| 13-Jul-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2023-07-10/cleanup-unused-options' into 'main'
Cleanup Unused Options
See merge request petsc/petsc!6689
|
| #
d75802c7
|
| 11-Jul-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Remove -log_summary
|
| #
3ff54359
|
| 11-Jul-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Remove -malloc_info
|
| #
db9fc945
|
| 11-Jul-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Remove -malloc [no] option
|
| #
4ff6d9f4
|
| 19-Jun-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-06-09/fix-petscoptionsgetbool' into 'main'
Fix PetscOptionsGetBool() so it sets ivalue to PETSC_FALSE if the option is not given
See merge request petsc/petsc!6575
|
| #
40dd793e
|
| 19-Jun-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix PetscOptionsGetBool() so it sets ivalue to PETSC_FALSE if the option is not given
|
| #
6bb88016
|
| 03-Jun-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jose/fix-imbalanced' into 'main'
Fix imbalanced parenthesis
See merge request petsc/petsc!6547
|
| #
7b89eedc
|
| 03-Jun-2023 |
Jose E. Roman <jroman@dsic.upv.es> |
Fix imbalanced parenthesis
|
| #
6bb0c1aa
|
| 02-Jun-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-05-26/allow-mpiaij-32bit-large-nz' into 'main'
Allow viewing and loading MATMPIAIJ matrices with a total number of nonzeros greater than PETSC_INT_MAX
See merge request pet
Merge branch 'barry/2023-05-26/allow-mpiaij-32bit-large-nz' into 'main'
Allow viewing and loading MATMPIAIJ matrices with a total number of nonzeros greater than PETSC_INT_MAX
See merge request petsc/petsc!6514
show more ...
|