| #
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 ...
|
| #
28b400f6
|
| 03-Mar-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
pluck ~1000 low hanging PetscCheckFalse() -> PetscCheck() fruit
|
| #
5f80ce2a
|
| 24-Feb-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
chkerr and friends wrapped
|
| #
c244c1eb
|
| 15-Feb-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-plex-distribute-default' into 'main'
Plex: Change default to automatic distribution
See merge request petsc/petsc!4843
|
| #
e600fa54
|
| 14-Feb-2022 |
Matthew G. Knepley <knepley@gmail.com> |
Plex: Change default to automatic distribution - Add DMPlexDistributeGet/SetDefault() to change this - Add DMPlexCopy_Internal() to keep state in Plex object consistent
|
| #
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()
|
| #
4215a7ea
|
| 17-Jan-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'haplav/feature-dmlabel-hdf5-parallel-load' into 'main'
DMLabel parallel loading from petsc-native HDF5 format
See merge request petsc/petsc!4568
|
| #
e6ef0f20
|
| 18-Nov-2021 |
Vaclav Hapla <vaclav.hapla@erdw.ethz.ch> |
ex55: -compare_labels in test 10
|
| #
e6368b79
|
| 09-Sep-2021 |
Vaclav Hapla <vaclav.hapla@erdw.ethz.ch> |
DMPlexLabelsLoad_Internal works in parallel.
DMPlexLabelsLoad: add PetscSF sfXC arg.
|
| #
1213a643
|
| 31-Dec-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'haplav/fix-dmplex-name-handling' into 'main'
DMPlex: improve handling of object name within I/O
See merge request petsc/petsc!4689
|
| #
ed5e4e85
|
| 09-Dec-2021 |
Vaclav Hapla <vaclav.hapla@erdw.ethz.ch> |
DMPlexCreateFromFile: set object name if it is non-empty;
* allow for names set by loader (e.g. exodus) * ex55: meshname set only from option * DMPlexCreateFromOptions_Internal: better handling of -
DMPlexCreateFromFile: set object name if it is non-empty;
* allow for names set by loader (e.g. exodus) * ex55: meshname set only from option * DMPlexCreateFromOptions_Internal: better handling of -dm_plex_filename
show more ...
|
| #
be7a8307
|
| 18-Nov-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'ksagiyam/dmplex_path_change' into 'main'
Ksagiyam/dmplex path change
Closes #956 and #896
See merge request petsc/petsc!4441
|
| #
96b7d01a
|
| 11-Oct-2021 |
Vaclav Hapla <vaclav.hapla@erdw.ethz.ch> |
add dm_impls_plex_tests-ex55_10% testing datafile backward compatibility
|
| #
c9ad657e
|
| 02-Aug-2021 |
ksagiyam <k.sagiyama@imperial.ac.uk> |
plexhdf5: Introduce storage versioning and version 2.0.0;
* introduce DMPlexStorageVersion x.y.z * if no version specified in file => 1.0.0 [original version before the project - that in petsc rel
plexhdf5: Introduce storage versioning and version 2.0.0;
* introduce DMPlexStorageVersion x.y.z * if no version specified in file => 1.0.0 [original version before the project - that in petsc release 3.16.0] * check version in both file and option -dm_plex_view_hdf5_storage_version * version 2.0.0 changes paths to topology, labels, coordinates * support both versions 1.0.0 and 2.0.0 for writing * use sizeof in PetscSNPrintf() calls
show more ...
|
| #
cd7e8a5e
|
| 03-Aug-2021 |
ksagiyam <k.sagiyama@imperial.ac.uk> |
plex: DMPlex needs to be named before calling DM{View, Load}()
DMPlexCreateFromFile() takes mesh name as argument
|
| #
1ddba829
|
| 01-Oct-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'haplav/feature-dmlabelcompare' into 'main'
add DMLabelCompare() and DMCompareLabels()
See merge request petsc/petsc!4345
|
| #
38883f1b
|
| 21-Sep-2021 |
Vaclav Hapla <vaclav.hapla@erdw.ethz.ch> |
dm/impls/plex/tests/ex55.c: extend with label comparison
|