Profiling: Improve !defined(PETSC_USE_LOG) #defines- If we cast macro arguments to void, we can avoid unused errors that have forced lots of conditionally included code like this:```c #if def
Profiling: Improve !defined(PETSC_USE_LOG) #defines- If we cast macro arguments to void, we can avoid unused errors that have forced lots of conditionally included code like this:```c #if defined(PETSC_USE_LOG) PetscLogEvent event; #endif```- Having global counters like petsc_TotalFlops externed event if !PetscDefined(USE_LOG) helps to remove a lot of needless `#ifdef`s around code that can instead be placed in `if (PetscDefined(USE_LOG)) {}` blocks.
show more ...
Merge branch 'barry/2023-07-17/used-petsc-static-array-lenght' into 'main'Fix the places that should be using PETSC_STATIC_ARRAY_LENGTHSee merge request petsc/petsc!6724
Add specific vertex viewing for DMNetwork -- zoom in on selected vertices
Fix the places that should be using PETSC_STATIC_ARRAY_LENGTH
Rename VecChop() into VecFilter()
Rename PetscValidPointer -> PetscAssertPointer
Fix error in src/snes/tutorials/ex70.c that does not call VecAssembly in parallel
Merge branch 'barry/2023-07-17/fix-matrix-free' into 'main'matrix free in docs and comments should be matrix-freeSee merge request petsc/petsc!6725
SNES ex12: minor
matrix free in docs and comments should be matrix-free
Merge branch 'jacobf/2023-07-10/cleanup-unused-options' into 'main'Cleanup Unused OptionsSee merge request petsc/petsc!6689
Remove -log_summary
Merge branch 'barry/2023-07-02/nice-error-message-when-first-error-is-not-properly-handled' into 'main'When the user does not properly handle a returned error code and another error...See merge r
Merge branch 'barry/2023-07-02/nice-error-message-when-first-error-is-not-properly-handled' into 'main'When the user does not properly handle a returned error code and another error...See merge request petsc/petsc!6655
Fix bug with SuperLU_DIST if single precision version is not available but PETSc tries to use it
Need to have test harness remove -options_left to tests that test handling of errors in testsCommit-type: testing
Merge remote-tracking branch 'origin/release'
Fix typos
Fix make check when --prefix points to a read-only file systemIn general make check should not be writing anything in a directory indicated by $PETSC_DIR since that is where PETSc is installed.Sa
Fix make check when --prefix points to a read-only file systemIn general make check should not be writing anything in a directory indicated by $PETSC_DIR since that is where PETSc is installed.Satish, we should have a make install that then uses chmod u-w newpetscdir ; make check to verify this bug never reappearsReported-by: Drew Parsons
SNES ex19: add a bunch of HYPRE tests
Merge branch 'hzhang/dmnetworkview-color' into 'main'Add color component to CoordinateDMSee merge request petsc/petsc!6479
Add color component to CoordinateDM in DMView_Network_CSV()Add color handling to DMNetwork visualization scriptAdd check for coordinateDM creation in DMView_Network_CSV()Update ex1.c: set couple
Add color component to CoordinateDM in DMView_Network_CSV()Add color handling to DMNetwork visualization scriptAdd check for coordinateDM creation in DMView_Network_CSV()Update ex1.c: set coupled_snes_max_it=power_snes_max_it=water_snes_max_it=1 to illustrate interaction between subsnes and coupledsnes set color=localf at vertices to monitor convergence over dmnetwork optimize UserMonitor()Update src/dm/impls/network/tests/ex2.c to test '-dmnetwork_view draw'Co-authored-by: dccampbell1@shockers.wichita.edu
Merge branch 'zach/replace-linpack-cgtql1-with-lapack-stev' into 'main'Replace LINPACKcgtql1 with LAPACKstev for computing sym tri eigenvaluesSee merge request petsc/petsc!6536
KSPCHEBYSHEV: need to call skip set from options for the PC
Replace LINPACKcgtql1 with LAPACKstev for computing sym tri eigenvaluesSpecifically, removes translated Fortran and Algol routines which had non-terminating loops if assumptions were violated with
Replace LINPACKcgtql1 with LAPACKstev for computing sym tri eigenvaluesSpecifically, removes translated Fortran and Algol routines which had non-terminating loops if assumptions were violated with a standard LAPACK eigenvalue solver routine. Add new alternatives due to minor differences in eigenvalue estimates.
12345678910>>...27