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>
show more ...
Do not wrap PetscTryMethod() PetscUseMethod() in PetscCallIt produces shadow declarations and also serves no purpose since these macros do the appropriate error checking alreadyThere may be addit
Do not wrap PetscTryMethod() PetscUseMethod() in PetscCallIt produces shadow declarations and also serves no purpose since these macros do the appropriate error checking alreadyThere may be additions needed for running with a static error checkerCommit-type: error-checking/spend 15mReported-by:Lisandro Dalcin <dalcinl@gmail.com>
-Wtype-limits
Merge branch 'jczhang/feature-hypre-coo' into 'main'Support COO for MatHypreSee merge request petsc/petsc!5023
Mat: support COO for MatHypre
Mat: add MatSeqAIJGetCSRAndMemType()
Mat: provde a fast track for repeated MatMarkDiagonal_SeqAIJ()
fixup some remaining stragglers from !4889
Mat: Mat_MPIAIJCUSPARSE does not need to have its own cuSparse handle or cuda streamAs Mat_SeqAIJCUSPARSE already has them. Otherwise, if we create a cuSparse handle in Mat_MPIAIJCUSPARSE,and set
Mat: Mat_MPIAIJCUSPARSE does not need to have its own cuSparse handle or cuda streamAs Mat_SeqAIJCUSPARSE already has them. Otherwise, if we create a cuSparse handle in Mat_MPIAIJCUSPARSE,and set it as diagonal A and offdiagonal B's handle, then in MatDestroy_SeqAIJCUSPARSE(), we may destroythe same handle twice: one for for A, the other for B.
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
rewrote the PetscLL macros as functions to let the linter understand them. Also helpsreduce the staggering amount of code duplication in Mat
chkerr and friends wrapped
SuperLU_DIST: check for missing getline()
doc: more fixes to remove build warnings
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
doc: Fix a variety of manual page formatting issues/spend 1h
doc: fix References: sectionNotation:. * - textor. year - text
Remove function that has not been in the API or used in ten yearsCommit-type: housekeeping/spend 5mReported-by: Satish Balay <sbalay@mcs.anl.gov>
MATDENSE: improve CUDA support for PYTHON and add DLPACK supportdlpack code moved to dlpack.pxi
MatMult_AIJ_DENSE:prevent from unneeded copies
Minor
PetscMemType: PETSC_MEMTYPE_KOKKOS synonim of the backend memtype used
1...<<31323334353637383940>>...265