Fix style of 6497c311e7b976d467be1503c1effce92a60525c
Housekeeping
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
checkbadSource: enforce proper style in makefiles
Deprecate MPIU_BOOL which used to be for PETSc' enum Bool but now is just MPI_C_BOOL so no longer needs its own name
One-liners from petsc/petsc!5344 and petsc/petsc!5557Slightly reworked regular expressiongit ls-files -z -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | while IFS= read -r -d '' file; do cat
One-liners from petsc/petsc!5344 and petsc/petsc!5557Slightly reworked regular expressiongit ls-files -z -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | while IFS= read -r -d '' file; do cat $file | tr '\n' '\r' | sed -E 's/\r([ ]*)(for|if|while|else) ([^\r]*)\{\r[ ]*Petsc([a-zA-Z]*)\(([^\r]*)\);\r[ ]*\}\r/\r\1\2 \3Petsc\4(\5);\r/g' | tr '\r' '\n' > ${file}.joe; mv ${file}.joe ${file}done
show more ...
Merge remote-tracking branch 'origin/release'
Sys: fix datetype and op used in MPIU_Allreduce wrt time
Log: fix a bug with unsync'ed variables resulting in unmatched MPI_AllreduceThe variable is a timer such that the bug was non-deterministic.The test code ex2f.F90 is adapted by Christiaan Klaij <
Log: fix a bug with unsync'ed variables resulting in unmatched MPI_AllreduceThe variable is a timer such that the bug was non-deterministic.The test code ex2f.F90 is adapted by Christiaan Klaij <C.Klaij@marin.nl>Reported-by: Christiaan Klaij <C.Klaij@marin.nl>Reported-by: Zongze Yang <yangzongze@gmail.com>
Sys: replace processors with processes as process is the correct term in MPIMPI uses "MPI process" and "rank of MPI process".Not meant to replace all "processors" in petsc code, but some importan
Sys: replace processors with processes as process is the correct term in MPIMPI uses "MPI process" and "rank of MPI process".Not meant to replace all "processors" in petsc code, but some important ones in -log_view output
Logging - Fix order of nested resumed events to match original nesting
Merge branch 'zach/log_roctx' into 'main'Add `-log_roctx` to automatically instrument PETSc events for rocprofSee merge request petsc/petsc!8372
Add `-log_roctx` to automatically instrument PETSc events for rocprof
Sys: more fixes for PetscLogView()Reported-by: Volker Jacht @jac_grs
Sys: check in PetscLogView() only when in PetscFinalize()Fixes #1761Reported-by: Volker Jacht @jac_grs
Fix -log_view to display 1e-6 correctly
Logging: Account for multiple log viewers in final checks (with new test)PetscLogHandlerView_Default_Info() wants to be sure that the only objects still in existenceat the end are the viewers for
Logging: Account for multiple log viewers in final checks (with new test)PetscLogHandlerView_Default_Info() wants to be sure that the only objects still in existenceat the end are the viewers for the log handlers: this commit creates globals to keep track ofhow many of these have been created and destroyed.sys_tests-ex30_11 and sys_tests-ex30_12 test this functionalityReported-by: Jed Brown <jed@jedbrown.org>Co-authored-by: Jed Brown <jed@jedbrown.org>Helped-by: Pierre Jolivet <pierre@joliv.et>
Fix wrong case for PETSc
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 modulesCo-authored-by: Jose E. Roman <jroman@dsic.upv.es>
Fix typos
CUDA: include <nvtx3/nvToolsExt.h> in newer CUDA
Brain dead fixes for useless casts
Log: fix another nan in log view output
1234