| #
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 ...
|
| #
94bad497
|
| 04-Mar-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
rewrote the PetscLL macros as functions to let the linter understand them. Also helps reduce the staggering amount of code duplication in Mat
|
| #
5f80ce2a
|
| 24-Feb-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
chkerr and friends wrapped
|
| #
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
|
| #
524285cf
|
| 22-Feb-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'dalcinl/options-yaml' into 'master'
Enhancements to YAML options
See merge request petsc/petsc!3629
|
| #
d06005cb
|
| 17-Feb-2021 |
Lisandro Dalcin <dalcinl@gmail.com> |
YAML: Inserting all files/strings seen in other files and command line
|
| #
c5c1f447
|
| 16-Feb-2021 |
Lisandro Dalcin <dalcinl@gmail.com> |
PetscOptions: Add public #define PETSC_MAX_OPTION_NAME
|
| #
8ec9a424
|
| 15-Feb-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'dalcinl/options-yaml' into 'master'
Enancements to YAML options
See merge request petsc/petsc!3618
|
| #
5c23ca1c
|
| 10-Feb-2021 |
Lisandro Dalcin <dalcinl@gmail.com> |
Enhancements to YAML options
* Pass PetscOptions object to PetscOptionsInsertFileYAML().
* PetscOptionsInsert{File|String}YAML() are now always available and will fail at runtime if PETSc was not
Enhancements to YAML options
* Pass PetscOptions object to PetscOptionsInsertFileYAML().
* PetscOptionsInsert{File|String}YAML() are now always available and will fail at runtime if PETSc was not configured with YAML.
* Mapping keys starting with '$$' are considered dummy and not inserted. These keys can be used with `!include` tags and for the definition of YAML anchors to be expanded later with the merge key '<<'.
* Sequences of one-mappings insert an option with the list of keys. For example, the following YAML options
```yaml map: - key0: abc - key1: xyz - key2: 123 ```
insert the following options
``` -map key0,key1,key2 -map_key0 abc -map_key1 xyz -map_key2 123 ```
show more ...
|
| #
16924cb1
|
| 26-Aug-2020 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2020-08-16/fix-source-formatting' into 'master'
Turn on checkbadSource test to generate an error when found; fix all source code that causes errors
See merge request petsc/petsc
Merge branch 'barry/2020-08-16/fix-source-formatting' into 'master'
Turn on checkbadSource test to generate an error when found; fix all source code that causes errors
See merge request petsc/petsc!3064
show more ...
|
| #
2da392cc
|
| 17-Aug-2020 |
Barry Smith <bsmith@mcs.anl.gov> |
Turn on checkbadSource test to generate an error when found; fix all source code that causes errors
Commit-type: portability-fix, testing-fix, style-fix, feature, maintainability /spend 1.5h
|
| #
08a3f2ed
|
| 26-Jun-2020 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'haplav/improve-options-monitor' into 'master'
improve options monitor
See merge request petsc/petsc!2912
|
| #
c5b5d8d5
|
| 08-Apr-2020 |
Vaclav Hapla <vaclav.hapla@erdw.ethz.ch> |
-options_monitor and -options_monitor_cancel have immediate effect.
* No need to call for PetscOptionsSetFromOptions * PetscOptionsMonitorDefault now uses plain PetscPrintf if NULL context (viewer)
-options_monitor and -options_monitor_cancel have immediate effect.
* No need to call for PetscOptionsSetFromOptions * PetscOptionsMonitorDefault now uses plain PetscPrintf if NULL context (viewer) is passed * so we can avoid creating a viewer early in PetscInitialize * -options_monitor_cancel cancels just hard-wired monitors * Remove PetscOptionsSetFromOptions * Remove PetscOptionsMonitorCancel * Introduce concept of options with absolute precedence * -options_monitor,-options_monitor_cancel,-h,-help,-skip_petscrc,-options_file_yaml,-options_string_yaml * PetscOptionsInsert: improve -skip_petscrc handling * Call PetscOptionsInsertArgs just once per PetscOptionsInsert * Improve related manpages
show more ...
|
| #
147094f7
|
| 15-May-2020 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'tisaac/feature-yaml-string' into 'master'
Added PetscOptionsInsertStringYAML and -options_string_yaml
See merge request petsc/petsc!2791
|
| #
080f0011
|
| 13-May-2020 |
Toby Isaac <tisaac@cc.gatech.edu> |
Added PetscOptionsInsertStringYAML and -options_string_yaml
In order to test this new feature, I had to add the ability to parse strings with newlines in the 'args:' of tests.
|
| #
b98ee319
|
| 29-Mar-2020 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/haplav/petscoptionsbegin-title-obligatory'
|
| #
76280437
|
| 28-Mar-2020 |
Vaclav Hapla <vaclav.hapla@erdw.ethz.ch> |
PetscOptionsBegin: Title argument made obligatory
to avoid (null) headers in -help output.
Additionally * PetscOptionsBegin() inarg validation * fix a few examples which break this * fix TaoMatGetS
PetscOptionsBegin: Title argument made obligatory
to avoid (null) headers in -help output.
Additionally * PetscOptionsBegin() inarg validation * fix a few examples which break this * fix TaoMatGetSubMat() to use PetscObjectOptionsBegin() instead of PetscOptionsBegin() * fix weird position of PetscOptionsEnd() in TAO examples
show more ...
|
| #
a9e32f46
|
| 12-Dec-2019 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/petscpartitioner-target-weights' into 'master'
Fix PetscPartitioner and add support for target partition weights
See merge request petsc/petsc!2333
|
| #
b0bdc838
|
| 26-Nov-2019 |
Stefano Zampini <stefano.zampini@gmail.com> |
Add PetscOptionsDeprecateNoObject
this is to deprecate options like this PetscOptionsGetBool(NULL,NULL,"....)
|
| #
dfb7f63b
|
| 09-Jul-2019 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'barry/feature-boundedint'
|
| #
1c575b32
|
| 07-Jul-2019 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'maint'
|
| #
26bd1501
|
| 05-Jul-2019 |
Barry Smith <bsmith@mcs.anl.gov> |
Remove use of _ and __ in front of PETSc include guards. Reason: C99 Reserved Identifiers
Commit-type: portability-fix
|
| #
5a856986
|
| 21-Jun-2019 |
Barry Smith <bsmith@mcs.anl.gov> |
Added PetscOptionsBoundInt(), error if value below bound, and PetscOptionsRangeInt(), error if out of range
Replaced 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 range
Replaced a small amount of the usage in the source code. Easy, slightly boring process to replace the rest
Commit-type: error checking
show more ...
|