Automatically create manual pages for hash table objects created with PETSC_HASH_SET()Previous documention was not intuitive since it did not match the names in the source code usageIdentical cha
Automatically create manual pages for hash table objects created with PETSC_HASH_SET()Previous documention was not intuitive since it did not match the names in the source code usageIdentical changes for documentation for PETSC_HASH_MAP objects must be made. I will do it once this MR is accepted so that the process will be quick and easy.Commit-type: documentation, usability/spend 2.5h
show more ...
Merge branch 'barry/2022-04-04/segbuffextract-optional' into 'main'Make the final argument to PetscSegBufferExtractAlloc() be optionalSee merge request petsc/petsc!5082
Remove some PetscCheckFalse()
Make the final argument to PetscSegBufferExtractAlloc() be optionalIt is often a dummy argument that is just discarded anyways and the code is cleanerto just directly support it as optionalCommi
Make the final argument to PetscSegBufferExtractAlloc() be optionalIt is often a dummy argument that is just discarded anyways and the code is cleanerto just directly support it as optionalCommit-type: style/spend 10m
Fix mpiu_allreduce to always return PetscErrorCodes, never MPI error codesBoth for debug and optimized buildsAlso removes shadow declaration errors from use of mpiu_allreduceCommit-type: error-
Fix mpiu_allreduce to always return PetscErrorCodes, never MPI error codesBoth for debug and optimized buildsAlso removes shadow declaration errors from use of mpiu_allreduceCommit-type: error-checkingReported-by: Lisandro Dalcin <dalcinl@gmail.com>
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;
fixes from recent linter change
pluck ~1000 low hanging PetscCheckFalse() -> PetscCheck() fruit
chkerr and friends wrapped
MPI: replace HAVE_MPI_IBARRIER with HAVE_MPI_NONBLOCKING_COLLECTIVES
Merge branch 'barry/2022-03-13/fix-some-manualpages/release' into 'main'Improve generation of manual pages/fix a variety of manul pages basic formattingSee merge request petsc/petsc!4969
Merge branch 'stefanozampini/dlpack' into 'main'improve dlpack supportSee merge request petsc/petsc!4858
doc: fix References: sectionNotation:. * - textor. year - text
Minor
add PetscSortedCheckDupsInt()
PETSCSYS: Fix and add test for PetscGlobalMinMax
Merge branch 'barry/2022-02-24/rm-petscassert-false' into 'main'Remove PetscAssertFalse(), change some incorrect use of PetscAssert*() for...See merge request petsc/petsc!4887
Remove PetscAssertFalse(), change some incorrect use of PetscAssert*() for OUTOFRANGE to PetscCheck()Commit-type: error-checking, style-fix/spend 1h
do not PetscInfo the natural run lengths in sortgenerates enourmous output files for trivial small codesCommit-type: usability/spend 5m
Merge remote-tracking branch 'origin/release'
Merge branch 'jczhang/feature-improve-mataij-coo' into 'main'Do COO preallocation on MATAIJ and share the plan with other device matrix typesSee merge request petsc/petsc!4831
Sys: add PetscCountCast(), PetscSortIntWithCountArray(), PetscSortIntWithIntCountArrayPair()
Fix capitalization of proper nouns etc in PETSc documentationAdd capitalization guide to the developers style guideCommit-type: documentation/spend 20m
12345678910>>...31