Merge branch 'dalcinl/bt-byte' into 'main'Implement PetscBT with new PetscByte datatype as unsigned charSee merge request petsc/petsc!9046
Merge remote-tracking branch 'origin/release'
Fix MPI_Comm_rank/size API mixups in helpers (#1865,#1866)
Switch some defined(PETSC_ to PetscDefined(
Implement PetscBT with new PetscByte datatype as unsigned char
MatConjugate(): no need to check for USE_COMPLEX in implementations
Minor cleanup: use MPI_IN_PLACE when possible and avoid extra allocation
MatView(): do not print block size twice
MatDiagonalScale(): consolidate test of input Vecs
Rework MAT_SYMMETRIC and MAT_HERMITIAN options
MatNorm: fix some non-scalable implementations for NORM_1Reported-by: Vincent Robert <vincent.robert@cea.fr>
Housekeeping
Optimizations on Seq_[SB]AIJ operations that use MatGetDiagonalMarkers.
- 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 ...
Minor fixes
checkbadSource: enforce proper style in makefiles
Enable ScaLAPACK and MUMPS for other precisions
Avoid extra allocation
Merge branch 'barry/2025-09-04/deprecate-mpiu-bool' into 'main'Deprecate MPIU_BOOL which used to be for PETSc's enum Bool but now is just MPI_C_BOOLSee merge request petsc/petsc!8691
Deprecate MPIU_BOOL which used to be for PETSc' enum Bool but now is just MPI_C_BOOL so no longer needs its own name
Mat: add ops for zerorowscolumnslocal
Remove unnecessary braces around one-linersgit grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\
Remove unnecessary braces around one-linersgit grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\) {([^;]*);([^;]*)}$#\1\2 \(\3\)\4;\5#'
Convert some SETERRQ() to PetscCheck()
12345678910>>...69