| #
5fa70555
|
| 06-Nov-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'hongzh/energy-monitor' into 'main'
Add the logging of gpu energy
See merge request petsc/petsc!8817
|
| #
5268dc8a
|
| 14-Aug-2025 |
Hong Zhang <hongzhang@anl.gov> |
Add the logging of gpu energy
- Remove unneeded PETSC_HAVE_DEVICE macro - -log_view_gpu_energy requires CUDA version >= 12.2 - Use PetscDefined instead of macro
|
| #
c9df829d
|
| 14-Apr-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
a52a81c1
|
| 12-Apr-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'balay/fix-PetscAddLogDouble' into 'release'
fix build error with --with-threadsafety --with-log=0
See merge request petsc/petsc!8304
|
| #
cac61b71
|
| 10-Apr-2025 |
Satish Balay <balay@mcs.anl.gov> |
fix build error with --with-threadsafety --with-log=0
/usr/bin/ld: /home/tomcat/fran_jb/PETsC/petsc_dir/arch-linux2-c-opt/lib/libpetsc.so: undefined reference to `PetscAddLogDouble'
Reported-by: Ju
fix build error with --with-threadsafety --with-log=0
/usr/bin/ld: /home/tomcat/fran_jb/PETsC/petsc_dir/arch-linux2-c-opt/lib/libpetsc.so: undefined reference to `PetscAddLogDouble'
Reported-by: Juan.Franco@dlr.de
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 ...
|
| #
72c1e49e
|
| 14-Nov-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
804cf993
|
| 14-Nov-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'dalcinl/fix-static-inline-unused/release' into 'release'
`static inline` functions in headers do not need `PETSC_UNUSED`
See merge request petsc/petsc!8006
|
| #
52e36f93
|
| 13-Nov-2024 |
Lisandro Dalcin <dalcinl@gmail.com> |
`static inline` functions in headers do not need `PETSC_UNUSED`
|
| #
d8e47b63
|
| 17-Sep-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-09-02/rebased-fix-conversion-warnings' into 'main'
Compiler finds (and forbid) casts from higher precision integers to lower
See merge request petsc/petsc!7806
|
| #
6497c311
|
| 25-Aug-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']
Also fix the code to repository to compile cleanly with these flags in th
Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']
Also fix the code to repository to compile cleanly with these flags in the CI
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
|
| #
970231d2
|
| 07-Mar-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/clang-format-18' into 'main'
clang-format version 18
See merge request petsc/petsc!6902
|
| #
f4f49eea
|
| 11-Feb-2024 |
Pierre Jolivet <pierre@joliv.et> |
Remove multiple parentheses and extra semicolon
git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g
Remove multiple parentheses and extra semicolon
git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g' git grep -l -E "Petsc(.)*\(\(\*[a-zA-Z0-9_]*\)," | xargs sed -r -i'' 's#Petsc([a-zA-Z0-9_]*)\(\(\*([a-zA-Z0-9_]*)\), #Petsc\1(*\2, #g' git grep -l -E "([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)" | xargs sed -r -i'' 's#([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)#\1\2#g'
show more ...
|
| #
b22c9ba6
|
| 08-Jan-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
338bea87
|
| 08-Jan-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-01-04/fix-includes-man-pages/release' into 'release'
Barry/2024 01 04/fix includes man pages/release
See merge request petsc/petsc!7165
|
| #
af27ebaa
|
| 05-Jan-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix manual page formating in include directory
|
| #
3e249a84
|
| 12-Dec-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
14c69dc6
|
| 09-Dec-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jed/pre-load-multiple' into 'release'
PetscPreLoad: allow calling multiple times
See merge request petsc/petsc!7098
|
| #
960d3302
|
| 08-Dec-2023 |
Jed Brown <jed@jedbrown.org> |
PetscPreLoad: allow calling multiple times
Sometimes applications are used in outer loops that would enter the PetscPreLoadBegin/PetscPreLoadEnd block multiple times. This failed when attempting to
PetscPreLoad: allow calling multiple times
Sometimes applications are used in outer loops that would enter the PetscPreLoadBegin/PetscPreLoadEnd block multiple times. This failed when attempting to re-register a stage name. Here, we allow it to be called multiple times. The first call will behave as before, setting PetscPreLoadingOn (which the user may check to do a throw-away iteration) and then activating the stage for timing. Subsequent calls will skip the preloading iteration.
Reported-by: Gautam Bisht
show more ...
|
| #
9dd11ecf
|
| 25-Aug-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2023-08-17/header-guard-check' into 'main'
Check header guards
See merge request petsc/petsc!6822
|