Minor changes in petsc4py manual
Docs: fix missing or extra dash in right-hand side
checkbadSource: rules for PetscFunctionBegin and derivatives
Remove duplicates and switch to python3
petsc4py: add bindings for PetscOptionsGetXXXArray
petsc4py documentation sprint (Faversham, England, 2023)Co-authored-by: Jack Betteridge <j.betteridge@imperial.ac.uk>Co-authored-by: Nathan Collier <nathaniel.collier@gmail.com>Co-authored-by: Li
petsc4py documentation sprint (Faversham, England, 2023)Co-authored-by: Jack Betteridge <j.betteridge@imperial.ac.uk>Co-authored-by: Nathan Collier <nathaniel.collier@gmail.com>Co-authored-by: Lisandro Dalcin <dalcinl@gmail.com>Co-authored-by: Iglesia Dolci <daia.dolci@gmail.com>Co-authored-by: David Ham <david.ham@imperial.ac.uk>Co-authored-by: Marcin Rogowski <marcin.rogowski@gmail.com>Co-authored-by: Koki Sagiyama <k.sagiyama@imperial.ac.uk>Co-authored-by: Connor Ward <c.ward20@imperial.ac.uk>Co-authored-by: Stefano Zampini <stefano.zampini@gmail.com>
show more ...
Update a python example for adjoint ARKIMEXTest the adjoint ARKIMEX in python
Make PetscErrorCode a non-discardable enum
Update rule for building PETSc .o files needed by petsc4py demoCommit-type: bug-fix/spend 10m
Fix demo makefiles to include petscvariables - after local variables are set
Set PYTHONPATH to use configure generated PETSC_MPI4PY_PYTHONPATH to run petsc4py demosSeveral demos do not run successfullyCommit-type: usability/spend 10m
makefile: fix typo - petsckdir.mk -> petscdir.mk
Add modern error checking to rest of Fortran examples/spend 2.5h
Merge branch 'barry/2022-05-03/cleanup-makefiles' into 'main'remove unneeded stuff from makefilesSee merge request petsc/petsc!5211
Add -include */petscdir.mk to makefile that lacked itfor i in `git ls-files | grep makefile | xargs grep -L petscdir.mk`; do echo $i ; str=`echo $i |sed -e 's?[-a-zA-Z0-9]*/?../?g' -e 's?makef
Add -include */petscdir.mk to makefile that lacked itfor i in `git ls-files | grep makefile | xargs grep -L petscdir.mk`; do echo $i ; str=`echo $i |sed -e 's?[-a-zA-Z0-9]*/?../?g' -e 's?makefile?petsckdir.mk?g'` ; cp $i tmp echo "-include $str" > $i cat tmp >> $idoneCommit-type: makefile, housekeeping/spend 15m
petsc4py plex: update bindings following metric api change
Cleanup of introduction of PetscCall()* remove bogus error flags from XXXBegin()/End() macros such as PetscOptionsBegin()/End()* rename for consistency certain XXXBegin()/End() macros such as Mat
Cleanup of introduction of PetscCall()* remove bogus error flags from XXXBegin()/End() macros such as PetscOptionsBegin()/End()* rename for consistency certain XXXBegin()/End() macros such as MatPreallocateInitialize()/Finalize()* fix many lingering ierr = XXX that arose from multiline function calls* sync slepc/hpddm - to use snapshots with the same changesCommit-type: error-checking, style-fix/spend 8h
Restore use of CHKERRQ in *.F90 examples
Docs: remove "Concepts:" and related comments in /*T .. T*/ blocksRemove all \*T ... comment blocks with e.g. cd src && find . -type f -exec sed -i '/^[! ] *\/\*T$/,/^[! ]*T\*\/$/d' {} \;Clea
Docs: remove "Concepts:" and related comments in /*T .. T*/ blocksRemove all \*T ... comment blocks with e.g. cd src && find . -type f -exec sed -i '/^[! ] *\/\*T$/,/^[! ]*T\*\/$/d' {} \;Clean up resulting double blank lines with e.g. cd src && find . type f \( -name "*.c" -o -name "*.cxx" -o -name "*.F" -o -name "*.F90" \) -exec sh -c "cat -s {} > tmp && mv tmp {}" \;Manually revert those changes from the vendored code (src/sys/yaml)Manually restore a few comments from these blocks.Manually remove "Concepts:" and "Processors:" comments from fileswhich have these outside of "\*T" blocks automatically deleted above.
fixup some remaining stragglers from !4889
The great renaming:- CHKERRQ() -> PetscCall()- CHKERRV() -> PetscCallVoid()- CHKERRMPI() -> PetscCallMPI()- CHKERRABORT() -> PetscCallAbort()- CHKERRCONTINUE() -> PetscCallContinue()- CHKERRXX
The great renaming:- CHKERRQ() -> PetscCall()- CHKERRV() -> PetscCallVoid()- CHKERRMPI() -> PetscCallMPI()- CHKERRABORT() -> PetscCallAbort()- CHKERRCONTINUE() -> PetscCallContinue()- CHKERRXX() -> PetscCallThrow()- CHKERRCXX() -> PetscCallCXX()- CHKERRCUDA() -> PetscCallCUDA()- CHKERRCUBLAS() -> PetscCallCUBLAS()- CHKERRCUSPARSE() -> PetscCallCUSPARSE()- CHKERRCUSOLVER() -> PetscCallCUSOLVER()- CHKERRCUFFT() -> PetscCallCUFFT()- CHKERRCURAND() -> PetscCallCURAND()- CHKERRHIP() -> PetscCallHIP()- CHKERRHIPBLAS() -> PetscCallHIPBLAS()- CHKERRHIPSOLVER() -> PetscCallHIPSOLVER()- CHKERRQ_CEED() -> PetscCallCEED()- CHKERR_FORTRAN_VOID_FUNCTION() -> PetscCallFortranVoidFunction()- CHKERRMKL() -> PetscCallMKL()- CHKERRMMG() -> PetscCallMMG()- CHKERRMMG_NONSTANDARD() -> PetscCallMMG_NONSTANDARD()- CHKERRCGNS() -> PetscCallCGNS()- CHKERRPTSCOTCH() -> PetscCallPTSCOTCH()- CHKERRSTR() -> PetscCallSTR()- CHKERRTC() -> PetscCallTC()
PetscInitialize() and PetscFinalize() wrapped:- ierr = PetscInitialize();if (ierr) return ierr;+ CHKERRQ(PetscInitialize());- ierr = PetscFinalize();- return ierr;+ CHKERRQ(PetscFinalize());+
PetscInitialize() and PetscFinalize() wrapped:- ierr = PetscInitialize();if (ierr) return ierr;+ CHKERRQ(PetscInitialize());- ierr = PetscFinalize();- return ierr;+ CHKERRQ(PetscFinalize());+ return 0;
chkerr and friends wrapped
TAO: add TAOPYTHON classdeprecate Tao basic API to match SNES and TS paradigmsTaoSetFromOptions: call TaoLineSearchSetFromOptions
petsc4py dmplex: fix typos in demo
123