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()
show more ...
pluck ~1000 low hanging PetscCheckFalse() -> PetscCheck() fruit
chkerr and friends wrapped
rename PetscAssert() -> PetscCheck() and PetscAssertDebug() -> PetscAssert()
add PetscAssert() and PetscAssertFalse()
SETERRQ[1-9]+ begone
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.
Fix manpages: Input/Output Parameter --> Parameters
Merge remote-tracking branch 'origin/release'
Begin adding missing descriptions to manual pagesCommit-type: bug-fix, docs-onlyReported-by: sowing error detection
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.
PetscViewer: Improve handling of file modes.* add FILE_MODE_UNDEFINED for initial invalid value (internal use only)* distinguish between not yet set and unsupported mode* unify error messages in
PetscViewer: Improve handling of file modes.* add FILE_MODE_UNDEFINED for initial invalid value (internal use only)* distinguish between not yet set and unsupported mode* unify error messages in PetscViewerFileSetName_XXX* PetscViewerFileSetName_HDF5(): FILE_MODE_UPDATE = FILE_MODE_APPEND* PetscViewerHDF5Open(): improve doc* Deprecate PetscViewerVUSetMode, replace by PetscViewerFileSetMode_VU()
git: switch default branch from 'master' to 'main'
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
Fix memory leaks in TSTrajectoryCreate_Memory() and possibly bugs1) The binary open did not switch to native vector loads hence each load for vectors with DMDA involved transformsbetween natural a
Fix memory leaks in TSTrajectoryCreate_Memory() and possibly bugs1) The binary open did not switch to native vector loads hence each load for vectors with DMDA involved transformsbetween natural and PETSc ordering, this used large memory allocations. But the binary create for writing the vectorsdid set the native option hence likely the results for the example ex5adj.c were incorrect in the past2) add the skipinfo for the binary open in TSTrajectoryCreate_Memory() since they are not needed.3) when allocating buffer space in PetscViewerBinaryWriteReadAll() do not use the space on rank zero since the bufferis not needed for that.Reported-by: Anton Glazkov <anton.glazkov@chch.ox.ac.uk>Thanks-to: Hong Zhang <hongzhang@anl.gov>/spend 1h
Add better error handling for PETSC_VIEWER_XXX_(), results in clearer error messagesCommit-type: error-checking/spend 30m
Fix warnings in NVIDIA compilers (formerly PGI): variable was never used
Turn on checkbadSource test to generate an error when found; fix all source code that causes errorsCommit-type: portability-fix, testing-fix, style-fix, feature, maintainability/spend 1.5h
Updated the use of sizeof() when possible instead of using hardwired sizes for functions whose string argumentsneed sizes. In particular done for PetscOptionsGetString(), PetscOptionsString(), and a
Updated the use of sizeof() when possible instead of using hardwired sizes for functions whose string argumentsneed sizes. In particular done for PetscOptionsGetString(), PetscOptionsString(), and a few other utilitiesCommit-type: style-fixDevelopment Tools: Vim, Emacs, Eclipse
PetscViewerBinary man pages: fix PetscBinaryViewer typo in .seealso links
Fix wrong semicolons
Binary-IO: Various fixes and enhancements* Add missing error checking* Reorganize and remove duplicated code for easier maintenance* Fix STDIO with FILE_MODE_READ to open files only in process ze
Binary-IO: Various fixes and enhancements* Add missing error checking* Reorganize and remove duplicated code for easier maintenance* Fix STDIO with FILE_MODE_READ to open files only in process zero* Fix MPIIO subviewers to synchronize the file on Get/Restore
123456789