| #
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 ...
|
| #
8031a1e3
|
| 22-Mar-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'balay/ftn-fixes' into 'main'
Fortran: fix PETSC_HAVE_FORTRAN_UNDERSCORE defs
See merge request petsc/petsc!8222
|
| #
8a6b6cad
|
| 21-Mar-2025 |
Satish Balay <balay@mcs.anl.gov> |
Fortran: fix PETSC_HAVE_FORTRAN_UNDERSCORE defs
And remove FORTRANDOUBLEUNDERSCORE, cleanup PETSC_HAVE_FORTRAN_UNDERSCORE_UNDERSCORE
Revert PETSC_VIEWER_STDOUT_BROKEN from 5022eb3e26e9dbfdd711345ef
Fortran: fix PETSC_HAVE_FORTRAN_UNDERSCORE defs
And remove FORTRANDOUBLEUNDERSCORE, cleanup PETSC_HAVE_FORTRAN_UNDERSCORE_UNDERSCORE
Revert PETSC_VIEWER_STDOUT_BROKEN from 5022eb3e26e9dbfdd711345efc14d09b0dee953f
show more ...
|
| #
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 ...
|
| #
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
|
| #
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
|
| #
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 ...
|
| #
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 ...
|
| #
59e7829c
|
| 07-Aug-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-parallel-submesh
* master: (2931 commits) remove N in docs for SNESQN replaced test tolerance with PETSC_SQRT_MACHINE_EPSILON fortran: PetscComp
Merge branch 'master' into knepley/feature-plex-parallel-submesh
* master: (2931 commits) remove N in docs for SNESQN replaced test tolerance with PETSC_SQRT_MACHINE_EPSILON fortran: PetscComplex type is missing from fortran initialize variables so that static analyzer doesn't mistakenly think they are used uninitialized. Move access of prefix until it is actually used Remove DMDASplitComm2d(), used in one example that was not tested Functions that do not return PetscErrorCode should not use PetscFunctionBegin/End paradgm remove unneeded reassignment of same value Missing CHKERRQ(); Mostly in Tao code Remove clang static analyser warning about passing NULL variable to strncat() missing newline in -ts_monitor_extreme minor fixes for integer counters Configure: Deal with '__func__' in C89 builds with newer Clang and GCC. Jenkinsfile: Increased timeout for tests to 5 minutes. 3.9 changes: further clarify removal of -pc_factor_mat_solver_package Options deprecations: add "PETSc" to inline warning removing unused variable MatShift support added to MATSUBMAT. Mimics MATSHELL functionality. Needed for matrix-free Hessians in TAO Newton-Line-Search methods. Add -ts_monitor_extreme Dev manual: add note on deprecating options database keys ...
Conflicts: src/dm/impls/plex/examples/tests/ex4.c
show more ...
|
| #
2f07c833
|
| 14-Apr-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-snes-ex13-spectral
* master: (2350 commits) migrate warning fix from next-tmp Revert "Remove dead code." clarifying comment in the code Remove dead
Merge branch 'master' into knepley/feature-snes-ex13-spectral
* master: (2350 commits) migrate warning fix from next-tmp Revert "Remove dead code." clarifying comment in the code Remove dead code. Add JuMP citation Copyedits and updates to developers manual Add more protection to intrinsics MPI: protect arguments in MPI macros Add the missing conditionals for 64-bit build Plex+VTK: Fix field type determination Fix bug in name cleanup Bib: Added ref Plex+VTK: Fix field type determination Plex: Updated test output - I am now hating this shit forgot to save file after moving prototypes to petscsys.h update Apple example project settings per Xcode Two functions should actually be public, used, for example from Apple MacOS and iOS programs includes should always be included relative to include directory Apple removed old locations of docsets SNES ex12: Updated test output ...
Conflicts: src/snes/examples/tutorials/ex13.c
show more ...
|
| #
6294108e
|
| 19-Mar-2018 |
Toby Isaac <tisaac@cc.gatech.edu> |
Merge remote-tracking branch 'origin/knepley/fix-snes-ex69' into tisaac/feature-dmfield
* origin/knepley/fix-snes-ex69: (311 commits) PetscFECreateDefault: fix custom Fortran interface to use MPI_
Merge remote-tracking branch 'origin/knepley/fix-snes-ex69' into tisaac/feature-dmfield
* origin/knepley/fix-snes-ex69: (311 commits) PetscFECreateDefault: fix custom Fortran interface to use MPI_Comm SNES ex69: Updated test output SNES ex69: Removed all mantle stuff and change fields to constants - Also use dsymutil for executables SNES ex69: Removed special partition SNES ex69: Fixed null space creation - Null space locks its vectors PetscFE: PetscFECreateDefault() now takes MPI_Comm instead of DM cleanup very ugly PCGAMG manual page minor clarifications for VecScatterCreate() manual page gcov: PETSC_ARCH is required onlyfor -run_gcov - and not for -merge_gcov [where it doesn't exist] make clearer in help statements what --with-external-packages-dir is for. Website: Added news entry for PETSc User Meeting 2018 on main page. CUDA: Further test output fixes for mat_tests-ex2 Turn off elemental test for parmetis running since this does not work on batch systems. 3.8 Changes: KSPCHEBYSHEV CUDA: Fixed most test errors due to MatMultTranspose* website: update urls website: fix Jason's name to match pic. Also add Todd's pic Dev manual: copyedit DMPlexDistributeLabels: Propagate the output flag cuda/cusp: update minimum supported versions of cuda to 7.5 and cusp to 0.5.0 ...
show more ...
|