PetscViewerGet/RestoreSubViewer: fix docs
Minor fixes
PetscViewerASCIISynchronizedPrintf: add missing tab initialization
Use PetscTryTypeMethod when possible
Merge branch 'barry/2024-01-03/docs-c2html' into 'main'Remove recursive build of c2html files; no longer uses classic makefilesSee merge request petsc/petsc!7167
Fix "Extra spaces in test harness rules" in checkbadSource
Merge remote-tracking branch 'origin/release'
fix makefiles with tab char
Minor sort-related fixes
Sys: add PetscSafePointerPlusOffset() to pacify UBSan
Merge branch 'barry/2023-12-22/rm-libbase' into 'main'LIBBASE is no longer used in make so remove itSee merge request petsc/petsc!7139
Merge branch 'barry/2023-12-18/docs-fix-type-compare-nay/release' into 'release'Fix docs for PetscObjectBaseTypeCompareAny() and PetscObjectTypeCompareAny()See merge request petsc/petsc!7131
LIBBASE is no longer used in make so remove it
Remove MANSEC from makefiles it is not needed in, tutorials and tests
Fix docs for PetscObjectBaseTypeCompareAny() and PetscObjectTypeCompareAny()
Merge branch 'barry/2023-12-11/very-minor-fixes-from-linter/release' into 'release'minor fixes for things found by Jacob's linterSee merge request petsc/petsc!7109
Update references in the manual pages to use Sphinx citation processing
minor fixes for things found by Jacob's linter
Fix PetscOptionsGetViewer() so it works in a thread-safe wayWhen PetscOptionsGetViewer() returns, for example, PETSC_VIEWER_STDOUT_SELF the same object is sharedby all threads that call PetscOptio
Fix PetscOptionsGetViewer() so it works in a thread-safe wayWhen PetscOptionsGetViewer() returns, for example, PETSC_VIEWER_STDOUT_SELF the same object is sharedby all threads that call PetscOptionsGetViewer(). In the previous code PetscObjectReference() anddereference (via PetscViewerDestroy() where called on the viewer by multiple threads after the viewerwas accessed thus corrupting the object.This branch introduces a PetscOptionsRestoreViewer() that allows not doing the referencing and dereferencingon persistant viewers, thus removing the specific race condition above.Other possible solutions includeUse a lock on each PetscObjectReference/Dereference() just in case they are shared. Could be time consuming so onecould mark each object as either threadshared or independent and only do the locks on threadshared objects. This lowersthe cost but would require more extensive changes to PETSc infrastructure. And I do not know if this shared/not shared modelis what we need in the long run, though it might be.
show more ...
Merge branch 'barry/2023-10-19/fix-pcview-redundant/release' into 'main'Fix bugs in handling PetscViewerGetSubViewer() and tabing in ASCII viewersSee merge request petsc/petsc!6948
Fix bugs in handling PetscViewerGetSubViewer() and tabing in ASCII viewersReported-by: Pierre Jolivet
Fix formatting in some makefiles
12345678910>>...64