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>
show more ...
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()
pluck ~1000 low hanging PetscCheckFalse() -> PetscCheck() fruit
chkerr and friends wrapped
doc: Fix a variety of manual page formatting issues/spend 1h
doc: fix References: sectionNotation:. * - textor. year - text
rename PetscAssert() -> PetscCheck() and PetscAssertDebug() -> PetscAssert()
add PetscAssert() and PetscAssertFalse()
SETERRQ[1-9]+ begone
applied attribute format fixes to mat headers
Add information on determing the number of threads used by MATSOLVERMKL_PARDISO and MATSOLVERMKL_CPARDISOAdd manual page for MATSOLVERMKL_CPARDISO, minor improvements to manual pages.Commit-type:
Add information on determing the number of threads used by MATSOLVERMKL_PARDISO and MATSOLVERMKL_CPARDISOAdd manual page for MATSOLVERMKL_CPARDISO, minor improvements to manual pages.Commit-type: documentation\spend 45mThanks-to: Pierre Jolivet
Remove all double blank lines from sourceCommit-type: petsc-style/2h
git: switch default branch from 'master' to 'main'
MATMKL_PARDISO: do not factorize Schur complement if interior solve has been requested
MatMKLPARDISO: factorize schur complement in driver routine
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
MatProduct: proper cleanup of additional data structureDo not mess with view/destroy routine, add an extra slot to MatProduct struct to stash the data, destroy/view routinesDeprecate MatFreeInterm
MatProduct: proper cleanup of additional data structureDo not mess with view/destroy routine, add an extra slot to MatProduct struct to stash the data, destroy/view routinesDeprecate MatFreeIntermediateStructures in favor of MatProductClearClean up base headers for matrix classesUpdate tests (remove some todos from ex70 because now the tests work properly)MatProductSetType should not set the setfromoptions operation!MatProductClear should reset operationsRemove no longer needed function compositionAdd few more PetscInfo messagesSingle dispatch routineMatProductSetFromOptions routines are now allowed to failMatProductSetFromOptions_SeqXBAIJ_SeqDense: support for MATPRODUCT_AtBMatTransposeMatMultNumeric_SeqAIJ_SeqDense: fix bug with leading dimensionsMake internal functions PETSC_INTERNFix a couple of places where the destroy routine of the matrix was changedProducts should all use internal data (or composed data attached to the internal data)Fix few bugs in MPIAIJ_MPIDENSE product with stages
Single petscdir.mk
BDDC and MKL_PARDISO: use MatProduct API
Fix broken PARDISO --with-precision=single and add a test to CI
build: add more support for not needing to set PETSC_DIR yet build with PETSc, also support for GNU make to directly use "make test" instead of "make -f gmakefile.test"Still needs -include ../petsc
build: add more support for not needing to set PETSC_DIR yet build with PETSc, also support for GNU make to directly use "make test" instead of "make -f gmakefile.test"Still needs -include ../petscdir.mk in many of the makefilesStill needs the link for ../petscdir.mk in many directoriesGNUMakefile: call legacy makefile recursively instead of including itGNUMakefile: promote default "all" target; "libs" builds libpetsc*GNUMakefile: If gnumake < 4.2 prefer makefile wrapper interface over direct gmakefile interface to avoid the following warningsgmakefile.test:92: arch-ci-linux-cxx-cmplx-pkgs-64idx/tests/testfiles: No such file or directorygmakefile:67: arch-ci-linux-cxx-cmplx-pkgs-64idx/lib/petsc/conf/files: No such file or directoryCommit-type: testing-fix, feature, usabilityThanks-to: Jed Brown jed@jedbrown.org
Changed XXXPinToCPU() to XXXBindToCPU() to prevent confusion.The reason for this change is that we already use the terminology"pinned" to refer to memory that is non-pageable, in the context ofPe
Changed XXXPinToCPU() to XXXBindToCPU() to prevent confusion.The reason for this change is that we already use the terminology"pinned" to refer to memory that is non-pageable, in the context ofPetscSF as well as allocating host memory when GPUs are being employed.
Merge remote-tracking branch 'origin/maint'
Activate PARDISO for complex symmetric matrices
123456