| #
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
|
| #
02c639af
|
| 14-Oct-2025 |
Martin Diehl <mail@martin-diehl.net> |
Fortran: enforce lower case keywords and operators
also fixed occasional capitals in used modules with the help of @prj-
|
| #
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
|
| #
6d8694c4
|
| 20-Mar-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-04-29/add-fortran-enums' into 'main'
Major updates to Fortran interface
See merge request petsc/petsc!7517
|
| #
ce78bad3
|
| 20-Feb-2025 |
Barry Smith <bsmith@petsc.dev> |
Fortran 90: fully embrace After 34 years!
- deprecate use of 'F90' in Fortran function names - use Fortran pointers when appropriate - the new Fortran API is not backward compatible with previous ve
Fortran 90: fully embrace After 34 years!
- deprecate use of 'F90' in Fortran function names - use Fortran pointers when appropriate - the new Fortran API is not backward compatible with previous versions! - also clean up inconsistent PETSc code detected by new Fortran generation tools - drop use of bfort - automatically generate all the Fortran PETSc objects, enums etc from the include files - generate most of the Fortran interface definitions and functions from the source code - simplify the number and organization of Fortran modules
Co-authored-by: Jose E. Roman <jroman@dsic.upv.es>
show more ...
|
| #
a623e290
|
| 12-Jun-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-05-29/minor-fortran-stub-cleanup' into 'main'
More improvements to Fortran stubs and interfaces
See merge request petsc/petsc!7598
|
| #
5d83a8b1
|
| 30-May-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
This requires some changes to user FORTRAN code
Pass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an array Pass PETSC_NULL_ENUM when argument returns an enum instead of
This requires some changes to user FORTRAN code
Pass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an array Pass PETSC_NULL_ENUM when argument returns an enum instead of PETSC_NULL_INTEGER Pass arrays (and not scalar values) when the argument is expecting an array; this means replace, for example, the argument v with [v] Use PetscObjectIsNull(obj) to check if the object is NULL, instead of obj == PETSC_NULL_XXX
The compiler will now automatically prevent you from using the wrong argument type for the first three bullets above This will also require an update sowing with the new sowing branch this MR is using.
show more ...
|
| #
d3c48830
|
| 06-Nov-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/fix-exodusii-check' into 'main'
Knepley/fix exodusii check
See merge request petsc/petsc!6985
|
| #
46ac1a18
|
| 01-Nov-2023 |
Matthew G. Knepley <knepley@gmail.com> |
Plex+ExodusII: Remove bad check
|
| #
5e8c9ebd
|
| 26-Oct-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/fix-plex-setup' into 'main'
Plex: Fix setup for RDycore
See merge request petsc/petsc!6877
|
| #
c14a7e84
|
| 19-Sep-2023 |
Matthew G. Knepley <knepley@gmail.com> |
ExodusII; Fix check for reserved labels - Disable check for many tests
|
| #
c72397d7
|
| 25-May-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-05-14/add-fortran-petsccheck' into 'main'
Add PetscCheck() and PetscCheckA() for Fortran
See merge request petsc/petsc!6464
|
| #
dcb3e689
|
| 14-May-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Add PetscCheck() and PetscCheckA() for Fortran
Also fix incorrect use of " in Fortran examples that should be '
|
| #
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
|
| #
b3667271
|
| 09-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
f475bb4c
|
| 08-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jose/release/restore-chkerrq-fortran' into 'release'
Restore use of CHKERRQ in *.F90 examples
See merge request petsc/petsc!5088
|
| #
ba213955
|
| 06-Apr-2022 |
Jose E. Roman <jroman@dsic.upv.es> |
Restore use of CHKERRQ in *.F90 examples
|
| #
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 ...
|
| #
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
|
| #
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
|
| #
c8cf22ab
|
| 06-Jul-2020 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/feature-max-path-len-fortran' into 'master'
Determine PETSC_MAX_PATH_LEN at configure time
See merge request petsc/petsc!2957
|