| #
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 ...
|
| #
cef0416b
|
| 15-May-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-04-26/fix-sowing-viewers' into 'main'
Remove manual Fortran stubs for PetscViewer and PetscObject arguments since now handled by sowing
See merge request petsc/petsc!7511
|
| #
ffeef943
|
| 28-Apr-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Update to sowing version that supports PetscViewer and PetscObject
Remove manual Fortran stubs for PetscViewer and PetscObject arguments since now handled by sowing
Also handles the passing of null
Update to sowing version that supports PetscViewer and PetscObject
Remove manual Fortran stubs for PetscViewer and PetscObject arguments since now handled by sowing
Also handles the passing of null objects correctly
show more ...
|
| #
1ed6e3ff
|
| 25-Apr-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-04-13/fix-sowing-strings' into 'main'
Update PETSc to use sowing bfort that handles string arguments and PETSC_NULL_INT
See merge request petsc/petsc!7480
|
| #
cc4c1da9
|
| 14-Apr-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Update source code removing all unneeded /*@C and associated manual stubs and interfaces
|
| #
2331c7e5
|
| 01-May-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-04-29/fix-pcasmcreatesubdomains2d' into 'main'
Fix PCASMCreateSubdomains2D() and PCGASMCreateSubdomains2D() to work from Fortran
See merge request petsc/petsc!6394
|
| #
6141accf
|
| 01-May-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix PCASMCreateSubdomains2D() and PCGASMCreateSubdomains2D() to work from Fortran
Test code contributed by LEONARDO MUTTI
Reported-by: LEONARDO MUTTI <leonardo.mutti01@universitadipavia.it>
|
| #
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
|
| #
3c124016
|
| 24-May-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2021-04-12/support-for-nvhpc' into 'main'
These are fixes needed for clean builds with NVIDIA's HPC software toolkit
See merge request petsc/petsc!3882
|
| #
5162e2cf
|
| 24-May-2021 |
Barry Smith <bsmith@mcs.anl.gov> |
Various fixes for NVIDIA's nvhpc toolkit
The nvhpc systems separates the CUDA math libaries and includes from the regular CUDA material thus cuda.py has to detect and manage this separation automati
Various fixes for NVIDIA's nvhpc toolkit
The nvhpc systems separates the CUDA math libaries and includes from the regular CUDA material thus cuda.py has to detect and manage this separation automatically.
Note also the nvhpc includes the MPI compilers in another directory which should be used with MPI.
Do not use outer C++ compiler as Kokkos compiler as that may not match the compiler used by nvcc, instead use the C++ compiler that nvcc uses. This is tricky because this compiler has to have access to the MPI headers since it sees all of the PETSc headers.
/spend 14h
show more ...
|
| #
e3e09d54
|
| 08-Apr-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'bourdin/exodus-viewer' into 'main'
exodusii: viewer updates
See merge request petsc/petsc!3836
|
| #
6823f3c5
|
| 06-Apr-2021 |
Blaise Bourdin <bourdin@lsu.edu> |
exodusii: viewer updates - finished implementing PETSCVIEWEREXODUSII - Call the proper exodusii function when VecView/Load and DMView/Load are invoked on a PETSCVIEWEREXODUSII viewer - Added
exodusii: viewer updates - finished implementing PETSCVIEWEREXODUSII - Call the proper exodusii function when VecView/Load and DMView/Load are invoked on a PETSCVIEWEREXODUSII viewer - Added interface to define second order exodusii meshes - updated dm/impls/plex/tests/ex26.c
show more ...
|
| #
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
|
| #
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 ...
|