| #
b0dcfd16
|
| 23-Mar-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-03-20/minor-fortran-cleanup' into 'main'
Minor cleanup of Fortran binding stuff to simplify future maintainance
See merge request petsc/petsc!8218
|
| #
6dd63270
|
| 20-Mar-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Minor cleanup of Fortran binding stuff to simplify future maintainance
There is no distinction between F90 and non-F90 code so combine ftn-custom and f90-custom directories and fortranimpl.h and f90
Minor cleanup of Fortran binding stuff to simplify future maintainance
There is no distinction between F90 and non-F90 code so combine ftn-custom and f90-custom directories and fortranimpl.h and f90impl.h files. Also move uses of f90 to ftn when simple
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 ...
|
| #
a663c1df
|
| 13-Apr-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
fafa7813
|
| 13-Apr-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-04-11/run-clang-format-on-ftn-custom/release' into 'release'
Format the ftn-custom files with clang-format. Apparently no particular reason we did not format them initially
Merge branch 'barry/2023-04-11/run-clang-format-on-ftn-custom/release' into 'release'
Format the ftn-custom files with clang-format. Apparently no particular reason we did not format them initially
See merge request petsc/petsc!6310
show more ...
|
| #
5975b3b6
|
| 11-Apr-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Format the ftn-custom files with clang-format. Apparently no particular reason we did not format them initially
|
| #
31d78bcd
|
| 02-Feb-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-12-10/petscerrorcode-nodiscard' into 'main'
Feature: Non-discardable PetscErrorCode
See merge request petsc/petsc!5923
|
| #
3ba16761
|
| 10-Dec-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Make PetscErrorCode a non-discardable enum
|
| #
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 ...
|
| #
5f80ce2a
|
| 24-Feb-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
chkerr and friends wrapped
|
| #
79982354
|
| 16-Nov-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2021-11-02/attribute-format-sys' into 'main'
Feature: PETSC_ATTRIBUTE_FORMAT - sys
See merge request petsc/petsc!4520
|
| #
3ca90d2d
|
| 15-Nov-2021 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
apply PETSC_ATTRIBUTE_FORMAT and related fixes to sys sources
|
| #
f507b629
|
| 21-Feb-2020 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'balay/remove-stdcall' into 'master'
Remove usage of PETSC_HAVE_FORTRAN_STDCALL, PETSC_BLASLAPACK_STDCALL,...
See merge request petsc/petsc!2546
|
| #
19caf8f3
|
| 21-Feb-2020 |
Satish Balay <balay@mcs.anl.gov> |
Remove usage of PETSC_HAVE_FORTRAN_STDCALL, PETSC_BLASLAPACK_STDCALL, HAVE_FORTRAN_MIXED_STR_ARG flags - as Compaq f90 compiler is no longer supported
|
| #
a1a5ab92
|
| 28-Jan-2019 |
Joseph Pusztay <josephpusztay@Josephs-MacBook-Pro.local> |
Merge branch 'master' into jpusztay/feature-swarm-symplectic-example
|
| #
34d8b122
|
| 09-Dec-2018 |
Patrick Farrell <patrick@pefarrell.org> |
Merge branch 'master' into knepley/feature-snes-patch
Not sure if this has done the right thing because there are no tests yet. Also, the fortran stubs break (it doesn't know what to do with SNESCo
Merge branch 'master' into knepley/feature-snes-patch
Not sure if this has done the right thing because there are no tests yet. Also, the fortran stubs break (it doesn't know what to do with SNESCompositeType), and I don't know how to fix it.
show more ...
|
| #
f35fe2a5
|
| 06-Dec-2018 |
Joseph Pusztay <josephpu@buffalo.edu> |
Merged petsc/petsc into master
|
| #
83c10b7e
|
| 04-Dec-2018 |
Pierre Jolivet <pierre.jolivet@enseeiht.fr> |
Merged petsc/petsc into master
|
| #
6a769c08
|
| 07-Nov-2018 |
Karl Rupp <me@karlrupp.net> |
Merge branch 'barry/fix-fortran-petscfileviewersetname' into maint [PR #1219]
* barry/fix-fortran-petscfileviewersetname: Added if (*ierr) check in two Fortran stubs where it was missing, to properl
Merge branch 'barry/fix-fortran-petscfileviewersetname' into maint [PR #1219]
* barry/fix-fortran-petscfileviewersetname: Added if (*ierr) check in two Fortran stubs where it was missing, to properly propogate error code up
show more ...
|
| #
2dfb58d7
|
| 07-Nov-2018 |
Karl Rupp <me@karlrupp.net> |
Merge branch 'barry/fix-fortran-petscfileviewersetname' [PR #1219]
* barry/fix-fortran-petscfileviewersetname: Added if (*ierr) check in two Fortran stubs where it was missing, to properly propogate
Merge branch 'barry/fix-fortran-petscfileviewersetname' [PR #1219]
* barry/fix-fortran-petscfileviewersetname: Added if (*ierr) check in two Fortran stubs where it was missing, to properly propogate error code up
show more ...
|
| #
d51f3b72
|
| 07-Nov-2018 |
Karl Rupp <me@karlrupp.net> |
Merge branch 'barry/fix-check-ierr-before-freechar/maint' into maint [PR #1220]
* barry/fix-check-ierr-before-freechar/maint: Add if (*ierr) return checks for all Fortran stubs that utilize FREECHAR
Merge branch 'barry/fix-check-ierr-before-freechar/maint' into maint [PR #1220]
* barry/fix-check-ierr-before-freechar/maint: Add if (*ierr) return checks for all Fortran stubs that utilize FREECHAR() Otherwise the ierr is overwritten by the FREECHAR() thus returning a zero error code when it should not
show more ...
|
| #
03132937
|
| 07-Nov-2018 |
Karl Rupp <me@karlrupp.net> |
Merge branch 'barry/fix-check-ierr-before-freechar/maint' [PR #1220]
* barry/fix-check-ierr-before-freechar/maint: Add if (*ierr) return checks for all Fortran stubs that utilize FREECHAR() Otherwis
Merge branch 'barry/fix-check-ierr-before-freechar/maint' [PR #1220]
* barry/fix-check-ierr-before-freechar/maint: Add if (*ierr) return checks for all Fortran stubs that utilize FREECHAR() Otherwise the ierr is overwritten by the FREECHAR() thus returning a zero error code when it should not
show more ...
|
| #
d49bb8f9
|
| 05-Nov-2018 |
Barry Smith <bsmith@mcs.anl.gov> |
Add if (*ierr) return checks for all Fortran stubs that utilize FREECHAR()
Otherwise the ierr is overwritten by the FREECHAR() thus returning a zero error code when it should not
Commit-type: bug-f
Add if (*ierr) return checks for all Fortran stubs that utilize FREECHAR()
Otherwise the ierr is overwritten by the FREECHAR() thus returning a zero error code when it should not
Commit-type: bug-fix Reported-by: Tim Steinhoff <kandanovian@gmail.com>
show more ...
|