Use PetscTryTypeMethod when possible
Fix "Extra spaces in test harness rules" in checkbadSource
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 remote-tracking branch 'origin/release'
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()
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 ...
Fix bugs in handling PetscViewerGetSubViewer() and tabing in ASCII viewersReported-by: Pierre Jolivet
Spell matlab correctly as MATLABCommit-type: housekeeping
Fix typos
Merge branch 'barry/2023-10-25/rename-rules-doc' into 'main'Rename rules.doc and rules.utils because GitLab treats the former as a MS Word document.See merge request petsc/petsc!6965
CI: migrate linux-opt-misc to ARMAnd disable gcov as it gives errors on linux/armFix BT viewer for:not ok diff-dm_impls_plex_tests-ex13_0 # Error code: 1
Rename rules.doc and rules.utils because GitLab treats the former as a MS Word document.Thanks-to: Jed Brown
Remove DIRS variable and unneeded tabs from all makefiles since no longer neededCommit-type: housekeeping
Remove first and last empty lines
Convert all header guards to pragma once
Fix some malformed if !defined() header guards
Delete unused code
Add static to internal functions
12345678910>>...43