Config: get rid of PETSC_HAVE_OMPI_MAJOR_VERSION and include it in petscpkg_version.h
cupm: fix visibility to build without warningsThanks-to: Lawrence Mitchell
SYS: fix typos in printf with 64-bit indices
Sys: add error messages on discrepancy in cuda arches between configure time and runtime; also log view runtime cuda arch
Minor formatting fixes
Remove multiple parentheses and extra semicolongit 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 semicolongit 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 ...
Consolidate PETSc stream types
Merge remote-tracking branch 'origin/release'
Minor fixes to website material
LIBBASE is no longer used in make so remove it
Fix bugs in handling PetscViewerGetSubViewer() and tabing in ASCII viewersReported-by: Pierre Jolivet
Rename rules.doc and rules.utils because GitLab treats the former as a MS Word document.Thanks-to: Jed Brown
Remove DIRS variable and unneeded tabs from all makefiles since no longer neededCommit-type: housekeeping
Convert all header guards to pragma once
Merge branch 'jczhang/2023-08-08/feature-hypre-device-matzerorows' into 'main'Support MatZeroRows on MatHYPRE on deviceSee merge request petsc/petsc!6790
Sys: add PetscGetCurrentCUDA/HIPStream()
The various PetscXXXRegisterFinalize() should execute finalizers in reverse order of registration
Profiling: Switch logging over to the new PetscLogHandler infrastructure- Move data structures only needed by the default logger now (Action, Object) to logdefault.c- Create petsclogdeprecated.
Profiling: Switch logging over to the new PetscLogHandler infrastructure- Move data structures only needed by the default logger now (Action, Object) to logdefault.c- Create petsclogdeprecated.h and petsc/private/logimpldeprecated.h for publicly visible symbols that are now deprecated. Yes, lots of symbols in petsc/private/logimpl.h were not only visible but had docstrings.- The macros PetscLogEventBegin(), PetscLogEventEnd(), PetscLogEventSync(), PetscLogObjectCreate(), and PetscLogObjectDestroy() now looks through the log handlers in PetscLogHandlers, sees if they have they appropriate callbacks (Exposed in PetscLogHandlerHot), and calls them. Up to 4 log handlers can run simultaneously.- All queries about the registered things now go through petsc_log_state.- Output functions dispatch to the appropriate PetscLogHandler- There is no need for xmllogevent.c, xmlviewer.c, eventlog.c, classlog.c, and stagelog.c anymore. Some orphaned functions (PetscLogSetThreshold(), PetscLogEventSetDof(), PetscLogEventSetError(), PetscASend(), PetscARecv(), PetscAReduce())- PetscFEOpenCLLogResidual() did some intrusive things related to the old logging infrastruture: the private header for the default log handler is now imported into feopencl.c so that it can do equivalent things with the new infrastructure.- PetscLogPauseCurrentEvent_Internal() is replaced with PetscLogEventsPause()Deprecated symbols include:- All functions related to PetscStageLog and the resizable array structs that it contained.- The legacy EventBegin()/EventEnd() callbacks.- PetscLogAllBegin(), which actually reported less information than PetscLogDefaultBegin() because it was not kept up-to-date with regards to GPU profiling.
Rename PetscValidPointer -> PetscAssertPointer
extern template CUPM Interface and SolverInterface as well
Remove ifdef __cplusplus for cupmthrustutility.hpp
Wrap thrust timers in PetscFunctionBegin/End() so the stack trace is shown, include proper headers for THRUST_VERSION, and define PETSC_THRUST_HAS_ASYNC if we detect it
remove ifdef __cplusplus from C++-only headers
Don't use PetscMemcpy() or PetscArraycpy() to copy the ops struct
Make the double-pointer nature of PetscDeviceContextGetStreamHandle_Internal() explicit
123456