| #
4e8208cb
|
| 31-Jan-2026 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2026-01-13/ftn-generation-for-context-functions' into 'main'
Fortran generation of interface definitions for functions that take and return context variables (void *ctx and PetC
Merge branch 'barry/2026-01-13/ftn-generation-for-context-functions' into 'main'
Fortran generation of interface definitions for functions that take and return context variables (void *ctx and PetCtx ctx)
See merge request petsc/petsc!8956
show more ...
|
| #
2a8381b2
|
| 13-Jan-2026 |
Barry Smith <bsmith@mcs.anl.gov> |
Add automatic generated fortran support for setting and returning contexts
Major cleanup of the code for setting and returning application (previously called user) contexts - PetscCtx ctx is now t
Add automatic generated fortran support for setting and returning contexts
Major cleanup of the code for setting and returning application (previously called user) contexts - PetscCtx ctx is now the standard for passing in contexts - PetscCtxRt ctx is the standard for passing out contexts, including context destroy routines based on PetscCtxDestroyFn
Both of these are typedef to void*
Also removed most use of user and userctx for context arguments now consistently named ctx
Improved documentation on PetscCtx and PetscCtxRt and on how to use contexts (including getting them) from Fortran
show more ...
|
| #
e2904c9e
|
| 10-Dec-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
16685b2a
|
| 10-Dec-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'thrust' into 'release'
Fix builds against CUDA 13.1
See merge request petsc/petsc!8890
|
| #
29d3d2f8
|
| 10-Dec-2025 |
Nuno Nobre <nuno.nobre@stfc.ac.uk> |
Fix builds against CUDA 13.1
- Fix usage of deprecated thrust:: APIs in CCCL 3.1 - Explicitly include "thrust/copy.h" to fix builds w/ CUDA 13.1 - configure: use SuperLU_DIST 9.2.1 for CUDA 13.1 - C
Fix builds against CUDA 13.1
- Fix usage of deprecated thrust:: APIs in CCCL 3.1 - Explicitly include "thrust/copy.h" to fix builds w/ CUDA 13.1 - configure: use SuperLU_DIST 9.2.1 for CUDA 13.1 - CI: update linux-cuda-latest to test with CUDA 13.1
show more ...
|
| #
b5f0bcd6
|
| 29-Nov-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'release'
|
| #
5b12497f
|
| 27-Nov-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/fix-unnecessary-reduce' into 'main'
Mat: set appropriate NO_OFF_PROC_ENTRIES to bypass MPI_Allreduce()
See merge request petsc/petsc!8872
|
| #
65d518f3
|
| 26-Nov-2025 |
Pierre Jolivet <pierre@joliv.et> |
MatAssemblyEnd(): fix missing space in -info
|
| #
428a0f93
|
| 25-Nov-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/typos' into 'release'
Fix typos
See merge request petsc/petsc!8868
|
| #
5c7eeb11
|
| 25-Nov-2025 |
Pierre Jolivet <pierre@joliv.et> |
Fix typos
|
| #
e8c0849a
|
| 20-Nov-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-10-18/optimize-aij-ops' into 'main'
Refactor handling of diagonal marking in *AIJ and SELL matrices
See merge request petsc/petsc!8797
|
| #
421480d9
|
| 19-Oct-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
- Replace MatMissingDiagonal() and MatMarkDiagonals_SeqXXX() with MatGetDiagonalMarkers_SeqXXX()
- Mat_SeqXXX->diag is not automatically created during MatAssemblyEnd() saving memory and time
- Replace MatMissingDiagonal() and MatMarkDiagonals_SeqXXX() with MatGetDiagonalMarkers_SeqXXX()
- Mat_SeqXXX->diag is not automatically created during MatAssemblyEnd() saving memory and time
- Accessing Mat_SeqXXX->diag now requires the use of MatGetDiagonalMarkers_SeqXXX() except when the current values are known to be correct; for example during numerical factorizations and solves
- Mat_SeqXXX->diag is now never shared among matrices; hence the free_diag flag is gone. That was always a risky proposition since any of the owning matrices could chang the values thus making them incorrect for other owners.
show more ...
|
| #
07425a8d
|
| 18-Oct-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
This MR optimize some MAT[SB]AIJ operations related to the diagonal
The longer term goal is to refactor some Mat_SeqXXX non-numeric code to make it easier to also implement it on GPUs. For example,
This MR optimize some MAT[SB]AIJ operations related to the diagonal
The longer term goal is to refactor some Mat_SeqXXX non-numeric code to make it easier to also implement it on GPUs. For example, MatGetDiagonal() and friends
This commit - MatMarkDiagonal_SeqAIJ/ELL() - now use change in mat->nonzerostate to determine if it needs to recheck the diagonal locations - sets diagDense flag for a complete diagonal - MatInvertDiagonal_SeqAIJ/ELL() - now uses change in mat->state to determine if diagonal entries and inverses need to be recomputed - name changed to MatInvertDiagonalForSOR_SeqAIJ/ELL() for code clarity - Added MatInvertDiagonal_SeqAIJ_Inode() for use by MatSOR_SeqAIJ_Inode() - now uses change in mat->state to determine if block diagonal entries and inverses need to be recomputed
show more ...
|
| #
b31b2f82
|
| 10-Nov-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-10-24/fix-dmshellsetdestroyctx' into 'main'
Finish converting the function prototypes of destroy for contexts to use PetscCtxDestroyFn
See merge request petsc/petsc!8810
|
| #
cc1eb50d
|
| 27-Oct-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Change names of Mat_XXX product contexts to MatProductCtx_XXX for code maintainability
Update destroy callback of all MatProductCtx and MatShellSetMatProductOperation() to use PetscCtxDestroyFn
|
| #
dafee712
|
| 24-Oct-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-09-30/add-matgetdiagonal-cuda' into 'main'
Implements MatGetDiagonal for CUDA to take place on device.
See merge request petsc/petsc!8756
|
| #
9ee18893
|
| 30-Sep-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Implements MatGetDiagonal for CUDA to take place on device.
Reported-by: Pierre.LEDAC@cea.fr Thanks-to: Junchao Zhang
|
| #
5ff6d247
|
| 24-Oct-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
b1c27acf
|
| 24-Oct-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/doc-cusparse' into 'release'
Minor fixes to MATXXXAIJCUSPARSE manual pages
See merge request petsc/petsc!8808
|
| #
53220ed8
|
| 15-Oct-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Minor fixes to MATXXXAIJCUSPARSE manual pages
|
| #
6c5cb1a8
|
| 20-Oct-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-10-18/optimize-matzeroentries-seqaijcusparse' into 'main'
MatZeroEntries_SeqAIJCUSPARSE() was zeroing both the CPU and GPU array....
See merge request petsc/petsc!8796
|
| #
f5d0f301
|
| 18-Oct-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
MatZeroEntries_SeqAIJCUSPARSE() was zeroing both the CPU and GPU array. Instead just zero the GPU array if it is available, save unneeded CPU operation.
|
| #
bdeb5a2b
|
| 19-Sep-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-09-18/fix-etags-cu' into 'main'
fix etag failure
See merge request petsc/petsc!8709
|
| #
46aba097
|
| 18-Sep-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
the etags parse got confused by the text Function cxxxx() in a comment in a CU file so remove it
|
| #
cd871708
|
| 16-Sep-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'cuda' into 'main'
Fix CUDA 13 API incompatibilities
See merge request petsc/petsc!8632
|