| #
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 ...
|
| #
1335eab4
|
| 15-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-04-05/petscattrformat-all-the-rest' into 'main'
Enable PETSC_ATTRIBUTE_FORMAT()
See merge request petsc/petsc!5085
|
| #
63a3b9bc
|
| 06-Apr-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Enable PETSC_ATTRIBUTE_FORMAT()
|
| #
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
|
| #
571c06ed
|
| 20-Mar-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-dm-aux-vec' into 'main'
DM: Add equation part to DM aux vector key
See merge request petsc/petsc!4995
|
| #
ac17215f
|
| 20-Mar-2022 |
Matthew G. Knepley <knepley@gmail.com> |
DM: Add equation part to DM aux vector key
|
| #
a531cba2
|
| 24-May-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/fix-plex-creation' into 'main'
Plex: Better handling of coordinate space
See merge request petsc/petsc!4007
|
| #
61a622f3
|
| 17-May-2021 |
Matthew G. Knepley <knepley@gmail.com> |
Plex: Better handling of coordinate space - Better default for creating coordinate space - DMPlexReplace_Static() should copy coordFunc - Creation functions that use extrusion should take tensor cell
Plex: Better handling of coordinate space - Better default for creating coordinate space - DMPlexReplace_Static() should copy coordFunc - Creation functions that use extrusion should take tensor cells - Allow Plex to turn off remapping on refinement - DMPlexCopyCoordinates() should preserve the coordinate space - Fix for handling of periodic coordinates - Remove periodic structures after localization - Cannot remap periodic coordinates because localized cells throw it off
show more ...
|
| #
68ce86a1
|
| 18-May-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-plex-ceed-integration' into 'main'
Plex: Initial CEED integration
See merge request petsc/petsc!3918
|
| #
30602db0
|
| 14-May-2021 |
Matthew G. Knepley <knepley@gmail.com> |
Plex: Update examples to use new creation interface
|
| #
e9494080
|
| 13-Apr-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-ds-residualbd-key' into 'main'
DS+FE+Doc: Make BdResidual take a key
See merge request petsc/petsc!3761
|
| #
45480ffe
|
| 06-Apr-2021 |
Matthew G. Knepley <knepley@gmail.com> |
DM+Plex: Boundary integration functions are now stored in a PetscWeakForm held in the Boundary object - Boundary residual/Jacobian functions now take a form key - Now store DMLabel in DSBoundary - Im
DM+Plex: Boundary integration functions are now stored in a PetscWeakForm held in the Boundary object - Boundary residual/Jacobian functions now take a form key - Now store DMLabel in DSBoundary - Improved Boundary, Weak Form, and DS viewers - Remove DMCopyBoundary(), DMCopyDisc() is sufficient - Need DMTransferDS_Internal() to create new DS with label in the correct DM - Correct all DMAddBoundary() in tests - Allow DMBoundary to hold just a label name if necessary since p4est is missing labels in a lot of places - Fix propagating coordinate dimension in DS
show more ...
|
| #
a09b138c
|
| 02-Apr-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-dm-aux-data' into 'main'
DM: Replace object composition with an API for auxiliary data
See merge request petsc/petsc!3798
|
| #
9a2a23af
|
| 02-Apr-2021 |
Matthew G. Knepley <knepley@gmail.com> |
DM: Replace object composition with an API for auxiliary data - Now allow data to be tagged with a label+value - Do not separately require a DM and Vec, get the DM from the Vec
|
| #
bdea225a
|
| 30-Dec-2020 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2020-10-08/fix-mpi-error-codes' into 'master'
Convert MPI error type to PETSc error with string message for all MPI calls
See merge request petsc/petsc!3326
|
| #
ffc4695b
|
| 08-Oct-2020 |
Barry Smith <bsmith@mcs.anl.gov> |
Convert MPI error type to PETSc error with string message for all MPI calls
Now 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 calls
Now 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
show more ...
|
| #
caa22a8a
|
| 04-Aug-2020 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'rlwalker/feature-plex-example-poroelasticity-cryer' into 'master'
Rlwalker/feature plex example poroelasticity cryer
See merge request petsc/petsc!3013
|
| #
56cf3b9c
|
| 27-Jul-2020 |
Matthew G. Knepley <knepley@gmail.com> |
Plex: Need to add BC for the solution time derivative in TS problems - Added DMPlexInsertTimeDerivativeBoundaryValues() - Added time derivative of the solution argument to DMAddBoundary(), DMGetBou
Plex: Need to add BC for the solution time derivative in TS problems - Added DMPlexInsertTimeDerivativeBoundaryValues() - Added time derivative of the solution argument to DMAddBoundary(), DMGetBoundary(), PetscDSAddBoundary(), PetscDSUpdateBoundary(), PetscDSGetBoundary()
show more ...
|
| #
95c3f1f4
|
| 06-Apr-2020 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-dm-addboundary-collective' into 'master'
Knepley/feature dm addboundary collective
See merge request petsc/petsc!2659
|