Merge branch 'barry/2026-02-14/remove-last-of-source-horizontal-lines' into 'main'Remove the last of the use of horizontal lines --- as seperators. With modern...See merge request petsc/petsc!9039
Fix the inconsistent usage of #if [!]defined XXX compared to defined(XXX)Thanks-to: Pierre JolivetAn LLM Claude detected the incosnsitency it was not used to remove the inconsistency
Remove the last of the use of horizontal lines --- as seperators. With modern code development systems they are not needed and just an eye-sore
Fix leading spaces in benchmarks/streams
Replace mpirun with mpiexec, as only the latter is in the standard
Add make checkshellcheck and shellcheck to use shellcheck on PETSc scripts
Merge branch 'jczhang/2024-06-26/revise-mpi-openmp-stream' into 'main'Revise MPI and OpenMP stream benchmarksSee merge request petsc/petsc!7651
benchmarks: format mpistream output
clangformat: apply to src/src/benchmarks
checkbadSource: enforce proper style in makefiles
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 ...
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
add legend to streams plot and ensure all axis labels are shown
Add shared memory support for PCMPI using both shmget() and MPI_Win_allocate_shared()
Add SELLHIP- The HIP kernels are converted directly from their CUDA version- AMD GPUs and NVIDIA GPUs use different warp sizes. We set the warp size to 64 by default for AMD GPUs to faciliate comp
Add SELLHIP- The HIP kernels are converted directly from their CUDA version- AMD GPUs and NVIDIA GPUs use different warp sizes. We set the warp size to 64 by default for AMD GPUs to faciliate compile-time code optimization
checkbadSource: rules for PetscFunctionBegin and derivatives
Remove duplicates and switch to python3
Remove first and last empty lines
Fix some documentation and typos
Only makefiles in the test and tutorial directories need lib/petsc/conf/testCommit-type: housekeeping
Remove unneeded declarations of LOCDIR from all the makefilesCommit-type:documentation
Make PetscErrorCode a non-discardable enum
Add benchmark script, driver for SpMV- Support multiple mat formats- Included Kokkos- Use SSGET to download SuiteSparse matrix automatically
makefile: fix typo - petsckdir.mk -> petscdir.mk
12345678910>>...16