better debugging capabilitiesusing MPIU wrappers where available and PetscCallMPI for all MPI(U)functions
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#'
show more ...
Convert some SETERRQ() to PetscCheck()
One-liners from petsc/petsc!5344 and petsc/petsc!5557Slightly reworked regular expressiongit ls-files -z -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | while IFS= read -r -d '' file; do cat
One-liners from petsc/petsc!5344 and petsc/petsc!5557Slightly reworked regular expressiongit ls-files -z -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | while IFS= read -r -d '' file; do cat $file | tr '\n' '\r' | sed -E 's/\r([ ]*)(for|if|while|else) ([^\r]*)\{\r[ ]*Petsc([a-zA-Z]*)\(([^\r]*)\);\r[ ]*\}\r/\r\1\2 \3Petsc\4(\5);\r/g' | tr '\r' '\n' > ${file}.joe; mv ${file}.joe ${file}done
missing "s" for isascii and issundials
Remove explicitly listed empty files and switch to output/empty.out
Merge remote-tracking branch 'origin/release'
fortran no semicolon at end of lineRemove all unneeded ; at end of Fortran source code lineAdd checkbadSource to check for semicolon at the end of lines
SF: disable two tests for sf_window as they are frequent timed out with the CI job linux-hip-cmplxIt happens more often with openmpi
Merge branch 'release'
PetscLayoutMapLocal: support negative indices
Remove the last of the uses of $ in the first line of formatted manual pages
SF: add checks against using MPI_REPLACE in MPI_Reduce_local
SF: enable HIP complex
Mat: Fix and improve the performance of dense matrix multiplicationMat: Add MATDENSEFROMVECTYPE constructor typeNow in a tests set you can do``` testset: args: -mat_type densefromvectype
Mat: Fix and improve the performance of dense matrix multiplicationMat: Add MATDENSEFROMVECTYPE constructor typeNow in a tests set you can do``` testset: args: -mat_type densefromvectype test: test_cuda requires: cuda args: -vec_type veccuda test: test_hip requires: hip args: -vec_type vechip```(This assumes that you call `MatSetVecType()` before you call`MatSetFromOptions()`)Mat_MPIDense: Cache offsets of MatDenseGetSubMatrix() to avoid communication in more casesMat: Add missing implementations for internal "MatMultColumnRange()" interfaceMat_MPIDense: Fix the zeroing of buffers in multiplication routinesMat_MPIDense: Add optimization of MatMatMult routines when all columns are owned by rank 0The communication for intermediate buffers can be handled with allreduce / bcast operations,but we use the PetscSF matvec context instead of MPI routines directly so that we willuse gpu-aware MPI if possible.
Fix wrong case for PETSc
Minor cleanup of Fortran binding stuff to simplify future maintainanceThere is no distinction between F90 and non-F90 code so combine ftn-custom and f90-custom directories and fortranimpl.h and f90
Minor cleanup of Fortran binding stuff to simplify future maintainanceThere is no distinction between F90 and non-F90 code so combine ftn-custom and f90-custom directories and fortranimpl.h and f90impl.h files. Also move uses of f90 to ftn when simple
Update to clang-format-20
Fix Fortran
Fix typos
Fortran 90: fully embrace After 34 years!- deprecate use of 'F90' in Fortran function names- use Fortran pointers when appropriate- the new Fortran API is not backward compatible with previous ve
Fortran 90: fully embrace After 34 years!- deprecate use of 'F90' in Fortran function names- use Fortran pointers when appropriate- the new Fortran API is not backward compatible with previous versions!- also clean up inconsistent PETSc code detected by new Fortran generation tools- drop use of bfort- automatically generate all the Fortran PETSc objects, enums etc from the include files- generate most of the Fortran interface definitions and functions from the source code- simplify the number and organization of Fortran modulesCo-authored-by: Jose E. Roman <jroman@dsic.upv.es>
some code fixes
some doc/manual page fixes
12345678910>>...30