| #
5cab5458
|
| 26-Jul-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-07-23/add-petscbeginuser' into 'main'
Add PetscFunctionBeginUser to all PETSc C/C++ examples
See merge request petsc/petsc!5470
|
| #
327415f7
|
| 23-Jul-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Add PetscFunctionBeginUser to all PETSc C/C++ examples
Now the stack frames will contain the main program and the correct line numbers in them
git ls-files | egrep "(tutorials|tests)" | xargs sed -
Add PetscFunctionBeginUser to all PETSc C/C++ examples
Now the stack frames will contain the main program and the correct line numbers in them
git ls-files | egrep "(tutorials|tests)" | xargs sed -i "s?\(PetscCall(PetscInitialize(&argc\)?PetscFunctionBeginUser;\n \1?g"
Commit-type: error-checking, testing-fix /spend 15m
show more ...
|
| #
527ad957
|
| 11-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-04-01/fix-petsc-options-begin-end/release' into 'main'
Remove bogus error returns from Begin/End() macros
See merge request petsc/petsc!5069
|
| #
d0609ced
|
| 02-Apr-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
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 changes
Commit-type: error-checking, style-fix /spend 8h
show more ...
|
| #
f882803c
|
| 26-Mar-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-02-23/variadic-chkerr' into 'main'
Variadic CHKERRQ()
See merge request petsc/petsc!4889
|
| #
9566063d
|
| 25-Mar-2022 |
Jacob Faibussowitsch <jacob.fai@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()
show more ...
|
| #
b122ec5a
|
| 24-Mar-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
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;
show more ...
|
| #
5f80ce2a
|
| 24-Feb-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
chkerr and friends wrapped
|
| #
65f1e9d4
|
| 21-Mar-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-03-20/rm-petsccheckfalse-tao' into 'main'
Remove use of PetscCheckFalse() from Tao
See merge request petsc/petsc!4998
|
| #
3c859ba3
|
| 20-Mar-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Remove use of PetscCheckFalse() from Tao
Commit-type: error-checking, housekeeping /spend 45m
|
| #
7d3e3cfb
|
| 16-Feb-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/tao-python' into 'main'
TAOPYTHON
See merge request petsc/petsc!4768
|
| #
a82e8c82
|
| 26-Jan-2022 |
Stefano Zampini <stefano.zampini@gmail.com> |
TAO: add TAOPYTHON class
deprecate Tao basic API to match SNES and TS paradigms TaoSetFromOptions: call TaoLineSearchSetFromOptions
|
| #
1241a243
|
| 13-Feb-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-01-05/c99' into 'main'
Feature: C99 and C++11
See merge request petsc/petsc!4700
|
| #
2c71b3e2
|
| 11-Feb-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
rename PetscAssert() -> PetscCheck() and PetscAssertDebug() -> PetscAssert()
|
| #
9ace16cd
|
| 28-Jan-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
add PetscAssert() and PetscAssertFalse()
|
| #
12ddc87b
|
| 30-Aug-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/fix-defined-define' into 'main'
requires: define -> requires: defined
Closes #984
See merge request petsc/petsc!4265
|
| #
dfd57a17
|
| 30-Aug-2021 |
Pierre Jolivet <pierre@joliv.et> |
requires: define -> requires: defined
|
| #
568088ac
|
| 08-Aug-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/unify-getctx' into 'main'
Unify XXGetYYContext calls
See merge request petsc/petsc!4212
|
| #
3ec1f749
|
| 04-Aug-2021 |
Stefano Zampini <stefano.zampini@gmail.com> |
Unify XXGetYYContext calls
always use void*
|
| #
82a6ae78
|
| 28-Jul-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/fix-some-missing-chkerr' into 'main'
Some missing CHKERR[Q|MPI]
See merge request petsc/petsc!4190
|
| #
1e1ea65d
|
| 27-Jul-2021 |
Pierre Jolivet <pierre@joliv.et> |
Some missing CHKERR[Q|MPI]
|
| #
a8cf78f8
|
| 24-May-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2021-05-16/fix-double-lines' into 'main'
Fix typos in source
See merge request petsc/petsc!3984
|
| #
4e278199
|
| 16-May-2021 |
Barry Smith <bsmith@mcs.anl.gov> |
Remove all double blank lines from source
Commit-type: petsc-style /2h
|
| #
49824467
|
| 13-Apr-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2021-04-06/fix-bad-error-code-returns' into 'main'
Fix bad error code returns in various places in PETSc
See merge request petsc/petsc!3846
|
| #
d8185827
|
| 07-Apr-2021 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix code that did not pass appropriate PETSc error flags to SETERRQ()
Add checkbadSource check for use of SETERRQ() without an appropriate error flag
Commit-type: error-checking, bug-fix, testing-f
Fix code that did not pass appropriate PETSc error flags to SETERRQ()
Add checkbadSource check for use of SETERRQ() without an appropriate error flag
Commit-type: error-checking, bug-fix, testing-fix, style-fix /spend 2.5h
show more ...
|