| #
9b88ac22
|
| 29-Oct-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'MarDiehl/improve-Fortran-examples' into 'main'
Improve Fortran examples
See merge request petsc/petsc!8698
|
| #
c5e229c2
|
| 29-Sep-2025 |
Martin Diehl <mail@martin-diehl.net> |
place all the include statements at the top
Repeated inclusion in multiple location, e.g. at the start of a module or function is not needed. This becomes clear if all includes are outside of the ac
place all the include statements at the top
Repeated inclusion in multiple location, e.g. at the start of a module or function is not needed. This becomes clear if all includes are outside of the actual Fortran code. Added regex to check that with the help of @sbalay
show more ...
|
| #
edb0e59d
|
| 23-Sep-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-07-01/format-fortran-source-fprettify' into 'main'
format fortran source with fprettify
See merge request petsc/petsc!8514
|
| #
4820e4ea
|
| 23-Sep-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Run fprettify
|
| #
540c0c32
|
| 02-Jun-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-05-24/add-petsccall-fortran-examples' into 'main'
Update all Fortran examples to modern error checking with PetscCallXXX() wrappers around PETSc/MPI function calls.
See mer
Merge branch 'barry/2022-05-24/add-petsccall-fortran-examples' into 'main'
Update all Fortran examples to modern error checking with PetscCallXXX() wrappers around PETSc/MPI function calls.
See merge request petsc/petsc!5271
show more ...
|
| #
d8606c27
|
| 24-May-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Add modern error checking to rest of Fortran examples
/spend 2.5h
|
| #
f8402805
|
| 24-May-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Add modern error checking to sys/tests and tutorial Fortran examples
Commit-type: error-checking /spend 45m
|
| #
e3673178
|
| 12-May-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-05-01/fix-petsccall-fortran' into 'main'
Add proper support for PetscCall(), PetscCallMPI() for Fortran
See merge request petsc/petsc!5196
|
| #
49c86fc7
|
| 01-May-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Add proper support for PetscCall(), PetscCallMPI() for Fortran
Also add support for PetscCallA(), PetscCallMPIA() for Fortran that abort
Provide support for printing the Fortran line and filenames
Add proper support for PetscCall(), PetscCallMPI() for Fortran
Also add support for PetscCallA(), PetscCallMPIA() for Fortran that abort
Provide support for printing the Fortran line and filenames with the errors or not depending on how long Fortran source code lines can be
Minor improvements to handling calls to PetscError() with no function string
Commit-type: error-checking, feature /spend 2h
show more ...
|
| #
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
|
| #
984676b9
|
| 20-Mar-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'pricardo/fortran-use-mpi-module' into 'main'
Fix Fortran mpi inheritance issue
See merge request petsc/petsc!3715
|
| #
8c8af28e
|
| 19-Mar-2021 |
Pedro Ricardo C. Souza <pricardo@aimirimsti.com.br> |
F90: Encapsulate the usage of MPI in petsc.mod and import only needed definitions into other petsc modules.
This requires an explicit use of petsc.mod [or mpi.mod or mpi_f18.mod] from user code
|
| #
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
|
| #
c20d7725
|
| 22-Mar-2020 |
Jed Brown <jed@jedbrown.org> |
Merge branch 'jed/promote-examples-tests-tutorials' [petsc/petsc!2610]
* jed/promote-examples-tests-tutorials: Promote examples/{tests,tutorials}/ to {tests,tutorials}/
|
| #
c4762a1b
|
| 18-Mar-2020 |
Jed Brown <jed@jedbrown.org> |
Promote examples/{tests,tutorials}/ to {tests,tutorials}/
This shortens paths and improves consistency between test target names and paths to the source and output files. Most of the work was compl
Promote examples/{tests,tutorials}/ to {tests,tutorials}/
This shortens paths and improves consistency between test target names and paths to the source and output files. Most of the work was completed by this script, followed by mild cleanup of nonconforming cases.
for makefile in `git ls-files 'src/*makefile'`; do if rg -q 'DIRS.*\bexamples\b' $makefile; then base=$(dirname $makefile) dirs=$(cd $base/examples && ls -d tests tutorials 2>/dev/null | xargs echo) perl -pi -e "s#^(DIRS.*)\bexamples\b#\1${dirs}#" $makefile git rm $base/examples/makefile for t in $dirs; do git mv $base/examples/$t $base/ perl -pi -e "s#^(LOCDIR[[:space:]]*=).*#\1 $base/$t/#" $base/$t done fi done
git grep -l -E -z 'examples/(tutorials|tests)' | xargs -0 perl -pi -e 's#examples/(tutorials|tests)#\1#g' git checkout @ \ src/docs/website/documentation/changes/ \ src/benchmarks/results/
show more ...
|