remove trailing newline from SETERRQ
apply PETSC_ATTRIBUTE_FORMAT and related fixes to sys sources
Style: replace "!rank" with "rank == 0"In SF tutorial ex1 (src/vec/is/sf/tutorials/ex1.c), add parentheses around "rank == 0". This is relevant because ! binds more tightly than +, but == binds les
Style: replace "!rank" with "rank == 0"In SF tutorial ex1 (src/vec/is/sf/tutorials/ex1.c), add parentheses around "rank == 0". This is relevant because ! binds more tightly than +, but == binds lesstightly, so the result of the computation would otherwise change.
show more ...
Fix manpages: more errors reported by doctext
Fix manpages: mismatching number of parameters
Fix manpages: Input/Output Parameter --> Parameters
Merge branch 'jed/rm-distutils' into 'main'config: remove distutils from buildSee merge request petsc/petsc!4253
Fix Input/Output/Parameter keywords in manpages
config: remove distutils from builddistutils is deprecated and will be removed in Python-3.12: https://www.python.org/dev/peps/pep-0632/Most features carry over readily with sysconfig (part of
config: remove distutils from builddistutils is deprecated and will be removed in Python-3.12: https://www.python.org/dev/peps/pep-0632/Most features carry over readily with sysconfig (part of minimal python,unlike distutils, which is often an optional package). One exception isdistutils.sysconfig.parse_makefile, which is more full-featured thansysconfig._parse_makefile (a private method that exists in python 2.7and all tested python 3 versions). Specifically, _parse_makefile()cannot handled lines continued with trailing backslash (\) and thus wemust forbid continuations for DIRS and SOURCE* lines -- just use a lineas long as it needs to be. This system will hopefully be renovated anyway.Commit-type: portability
Update badsource rules- Zero or more spaces are not allowed for more returning types- zero spaces not allowed for for|if|while
Remove all double blank lines from sourceCommit-type: petsc-style/2h
Linter using libClang that checks PetscValidHeaderSpecifcType, PetscValidHeaderSpecific, PetscValidHeader, PetscValid[XXX]Pointer, PetscValidType, PetscCheckSameComm, PetscValidLogicalCollectiveXXX f
Linter using libClang that checks PetscValidHeaderSpecifcType, PetscValidHeaderSpecific, PetscValidHeader, PetscValid[XXX]Pointer, PetscValidType, PetscCheckSameComm, PetscValidLogicalCollectiveXXX for validity. Automatically generates diff files for problems with a known solution.
Documentation fixes
Merge remote-tracking branch 'origin/release'
petscviewer: fix the fortran bindings of XXXViewFromOptions when called with obj=PETSC_NULL_XXX
Convert MPI error type to PETSc error with string message for all MPI callsNow PETSc examples will ONLY return PETSc error codes and never MPI error codes directly so we can understand and post-pro
Convert MPI error type to PETSc error with string message for all MPI callsNow PETSc examples will ONLY return PETSc error codes and never MPI error codes directly so we can understand and post-process their errors better.The test harness will now automatically retry tests that fail with MPI, this may help with Intel MPI that produces seemingly random failures.Commit-type: error-checking/spend 30m
Merge branch 'release'
Add Fortran PetscDrawSetSaveFinalImage PetscDrawSetSaveCommit-type: fortran/spend 10mReported-by: Frank Bramkamp <bramkamp@nsc.liu.se>
Draw: If save path has directories, use that full path
Added functionality to selectively filter PetscInfo() output based on calling class tomimic some OS system logs. New functionality includes:- Filter for a set of classes- Filter out a set of class
Added functionality to selectively filter PetscInfo() output based on calling class tomimic some OS system logs. New functionality includes:- Filter for a set of classes- Filter out a set of classes- Filter for MPI/PETSC_COMM_SELF- Filter for anything not on MPI/PETSC_COMM_SELF- Writing PetscInfo() output to new file- Appending output to existing PetscInfo() file- Any combination of the aboveCredit to Vaclav Hapla for raising the initial issue, helping design the eventual API, andsubstantially assisting in debugging.
Remove usage of PETSC_HAVE_FORTRAN_STDCALL, PETSC_BLASLAPACK_STDCALL, HAVE_FORTRAN_MIXED_STR_ARG flags - as Compaq f90 compiler is no longer supported
Merge remote-tracking branch 'origin/maint'
git grep -l "seperate" | xargs sed -i '' -e 's/seperate/separate/g'Commit-type: spelling-fixReported-by: Pierre JOLIVET <Pierre.Jolivet@enseeiht.fr>
Sys: Replace 0 -> NULL for pointers
12345678910