| #
e6053022
|
| 02-Dec-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-11-21/fix-thread-safety-petscoptionsgetviewer' into 'main'
Fix PetscOptionsGetViewer() so it works in a thread-safe way
See merge request petsc/petsc!7047
|
| #
cd791dc2
|
| 21-Nov-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix PetscOptionsGetViewer() so it works in a thread-safe way
When PetscOptionsGetViewer() returns, for example, PETSC_VIEWER_STDOUT_SELF the same object is shared by all threads that call PetscOptio
Fix PetscOptionsGetViewer() so it works in a thread-safe way
When PetscOptionsGetViewer() returns, for example, PETSC_VIEWER_STDOUT_SELF the same object is shared by all threads that call PetscOptionsGetViewer(). In the previous code PetscObjectReference() and dereference (via PetscViewerDestroy() where called on the viewer by multiple threads after the viewer was accessed thus corrupting the object.
This branch introduces a PetscOptionsRestoreViewer() that allows not doing the referencing and dereferencing on persistant viewers, thus removing the specific race condition above.
Other possible solutions include
Use a lock on each PetscObjectReference/Dereference() just in case they are shared. Could be time consuming so one could mark each object as either threadshared or independent and only do the locks on threadshared objects. This lowers the cost but would require more extensive changes to PETSc infrastructure. And I do not know if this shared/not shared model is what we need in the long run, though it might be.
show more ...
|
| #
cbb74892
|
| 02-Dec-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
c87f018d
|
| 01-Dec-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-11-24/fix-ksp-manpages/release' into 'release'
Fix manual pages in KSP
See merge request petsc/petsc!7055
|
| #
562efe2e
|
| 01-Dec-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix manual pages in KSP
|
| #
ecceeb7d
|
| 02-Nov-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
3c093a9a
|
| 02-Nov-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-11-01/docs-kspcomputeeigenvalues/release' into 'release'
Fix manual pages in ksp/interface files
See merge request petsc/petsc!6988
|
| #
770d1940
|
| 01-Nov-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix manual pages in ksp/interface files
|
| #
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
|
| #
599e5203
|
| 03-Aug-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-07-18/manual-linter-fixes-ksp' into 'main'
Manual fixes needed for linter for the KSP directory
See merge request petsc/petsc!6735
|
| #
04c3f3b8
|
| 19-Jul-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Manual fixes needed for linter for the KSP directory
|
| #
00bc44a4
|
| 26-Jul-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-06-16/pcmpi-simplify-options-database-api' into 'main'
Change the options database API for PCMPI to eliminate the -mpi_ options...
See merge request petsc/petsc!6611
|
| #
7a99bfca
|
| 22-Jun-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Change the options database API for PCMPI to eliminate the -mpi_ options prefix; thus one can run -mpi_linear_solver_server -ksp_type cg -pc_type gamg to get the parallel version of these preconditio
Change the options database API for PCMPI to eliminate the -mpi_ options prefix; thus one can run -mpi_linear_solver_server -ksp_type cg -pc_type gamg to get the parallel version of these preconditioners.
Commit-type: usability
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
|
| #
feefa0e1
|
| 12-Jul-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Lint apply: ksp
|
| #
ea40eef9
|
| 29-Jun-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/pcsetup' into 'main'
do not call PCSetUp during applications
See merge request petsc/petsc!6636
|
| #
25ba59ee
|
| 26-Jun-2023 |
Stefano Zampini <stefano.zampini@gmail.com> |
Minor
|
| #
55750d55
|
| 26-Jun-2023 |
Stefano Zampini <stefano.zampini@gmail.com> |
KSPSetPC: must reset the setupstage if pc is different
|
| #
75a3c1a8
|
| 16-Jun-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/ksp-view-final-residual-vec' into 'main'
KSP: view final residual vector
See merge request petsc/petsc!6604
|
| #
055f6435
|
| 15-Jun-2023 |
Stefano Zampini <stefano.zampini@gmail.com> |
KSP: view final residual vector
|
| #
be50c303
|
| 03-Jun-2023 |
Satish Balay <balay@mcs.anl.gov> |
docs: additional chapter_ -> ch_ change in main after merge of release changes from !6520
|