Merge remote-tracking branch 'origin/release'
Replace !rank with rank == 0See also https://gitlab.com/petsc/petsc/-/merge_requests/4146
Fix streams benchmark
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
show more ...
modernize benchmarks/streams/MPIVersion.c
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
Fix python code for streams tests that processes data for plot of speedupsCommit-type: portability\spend 10mReported-by: Adem Candas <candas@itu.edu.tr>
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.
doc: fix checksource errros from 0e3d61c972ee8b0cd7b6ee2ab64f8543b0740577
Remove use of * at beginning of comment line and /** and **/
Remove all double blank lines from sourceCommit-type: petsc-style/2h
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
checkbadSource: apply rules to *.cu *.cpp sources, and expand CHKERRQ check to CHKERR(Q|MPI|CUDA|CUBLAS|CUSPARSE)
Single petscdir.mk
Provide support for not setting PETSC_DIR when gnumake is being used; this will prevent some petsc-maint/petsc-users email threadsCommit-type: error-checking, testing-fix, feature, exampleThanks-t
Provide support for not setting PETSC_DIR when gnumake is being used; this will prevent some petsc-maint/petsc-users email threadsCommit-type: error-checking, testing-fix, feature, exampleThanks-to: Jed Brown <jed@jedbrown.org>Thanks-to: Lisandro Dalcin <dalcinl@gmail.com>
added CUDA option for STREAMS
Improve streams benchmark usage, now both MPI and OpenMP produce similar output and both can use process.pyAdded make rules openmpstreams, openmpstreams and changed streams and stream to mpistreams
Improve streams benchmark usage, now both MPI and OpenMP produce similar output and both can use process.pyAdded make rules openmpstreams, openmpstreams and changed streams and stream to mpistreams and mpistreamCommit-type: feature, benchmarking
Added PetscOptionsBoundInt(), error if value below bound, and PetscOptionsRangeInt(), error if out of rangeReplaced a small amount of the usage in the source code. Easy, slightly boring process to
Added PetscOptionsBoundInt(), error if value below bound, and PetscOptionsRangeInt(), error if out of rangeReplaced a small amount of the usage in the source code. Easy, slightly boring process to replace the restCommit-type: error checking
Remove legacy and cmake compile systems- Remove legacy and cmake compile systems from makefiles and config- Clean out various dead code from makefile and lib/petsc/conf/rules- Update lib/petsc/co
Remove legacy and cmake compile systems- Remove legacy and cmake compile systems from makefiles and config- Clean out various dead code from makefile and lib/petsc/conf/rules- Update lib/petsc/conf/test to build all examples, not just those beginning with ex, update examples makefiles to remove now unneeded rules- Deprecated make gnumake, replaced with make libsNote: retained clean-legacy since it is used by clean in rulesCommit-type: style-fix, featureThanks-to: Jed Brown <jed@jedbrown.org> and Satish Balay <balay@mcs.anl.gov>
Include <petsc/mpiuni/mpi.h> instead of requiring extra -I on command-lineThis makes a PETSc --with-mpi=0 behave more predictably for people whodo not want to know about MPI.
python: futurize stage 1 (modernize python-2 code)This should have no behavioral change. It was generated by running futurize -1 -nw config lib setup.py src systemsfollowed by reverting some
python: futurize stage 1 (modernize python-2 code)This should have no behavioral change. It was generated by running futurize -1 -nw config lib setup.py src systemsfollowed by reverting some "from . import" relative imports (PEP 328without 366) and fixing up RDict.py __contains__ to not cause recursion.
Complete benchark example with display of logging communication time for VecScatterDocumented binding options for Intel mpirunFunded-by: P-ECPTime: 4
123456