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
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 ...
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
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>
Brain dead fixes for useless casts
Log: fix another nan in log view output
Remove unneeded parentheses
Fix MPIU_* routines to always return MPI error codes and thus be usable with PetscCallMPI()Introduce MPIU_Count to be used when MPI_Count is not available
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
sys: fix a typo in error messagesTo fix confusing messages such as [0]PETSC ERROR: Collective event SFBcastEnd not called collectively 45 != 45
Sys: use CPU timing when PETSC_HAVE_KOKKOS_WITHOUT_GPU
Sys: fix a bug; need to init the lock in PetscLogHandler_Default
-log_view: processor -> process
Sys: add error messages on discrepancy in cuda arches between configure time and runtime; also log view runtime cuda arch
Fix PetscLogHandlerView_Default_Info() to use PetscViewerASCIIPrintf() instead of PetscFPrintf()So it can work with PetscViewerASCIIWorldSetFileUnit()
Error on PetscViewerASCIIGetPointer() if viewer uses Fortran file unitCommit-type: error-checking
12