| #
3048253c
|
| 06-Jun-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
The various PetscXXXRegisterFinalize() should execute finalizers in reverse order of registration
|
| #
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 ...
|
| #
cfd92c66
|
| 22-Jul-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'tisaac/feature-type-generic-petsc-valid-pointer' into 'main'
Implement a type generic PetscValidPointer
See merge request petsc/petsc!6693
|
| #
4f572ea9
|
| 18-Jul-2023 |
Toby Isaac <toby.isaac@gmail.com> |
Rename PetscValidPointer -> PetscAssertPointer
|
| #
7a2f837d
|
| 06-Jul-2023 |
Toby Isaac <toby.isaac@gmail.com> |
Deploy new PetscValidPointer, remove PetscValidXXXPointer
|
| #
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
|
| #
9ee624c4
|
| 10-Jul-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Remove PetscTextBelt()
|
| #
e58ea030
|
| 10-Jul-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Remove PetscTellMyCell()
|
| #
723b7f29
|
| 05-Jul-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-06-15/add-fortran-file-viewer' into 'main'
Allow one to attach a PETSCVIEWERASCII to a Fortran file unit
See merge request petsc/petsc!6607
|
| #
fbf9dbe5
|
| 16-Jun-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
HAVE_FORTRAN should be USE_FORTRAN_BINDINGS since it is about generating the Fortran bindings, not about if the Fortran compiler exists
|
| #
6612abce
|
| 23-Jun-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
689d015c
|
| 23-Jun-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'main-patch-d368' into 'release'
Docs: Add DOI for PETSc users manual
See merge request petsc/petsc!6625
|
| #
9a2cd68e
|
| 23-Jun-2023 |
Matthew Knepley <knepley@gmail.com> |
Docs: Add DOI for PETSc users manual
|
| #
f79834e4
|
| 15-Jun-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jed/warn-unused-options-opt' into 'main'
Warn about unused options even in optimized builds
See merge request petsc/petsc!6601
|
| #
59f199a7
|
| 14-Jun-2023 |
Jed Brown <jed@jedbrown.org> |
Warn about unused options even in optimized builds
PETSc has warned since the dawn of time in debug mode about misspellings like below, but this warning is suppressed in optimized mode and the user
Warn about unused options even in optimized builds
PETSc has warned since the dawn of time in debug mode about misspellings like below, but this warning is suppressed in optimized mode and the user must use -options_left to activate it (which also prints all the options). This commit causes the below to be printed whether or not we're in optimized mode.
WARNING! There are options you set that were not used! WARNING! could be spelling mistake, etc! There is one unused database option. It is: Option left: name:-ksp_type_gmres (no value) source: command line
show more ...
|
| #
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 ...
|