Add PetscCheck() and PetscCheckA() for FortranAlso fix incorrect use of " in Fortran examples that should be '
Update some discussions in the users manualAlso fix 32bit, 64bit, 32 bit, 64 bit throughout and blas and blas/lapack
Remove need for seperate lib/petsc/conf/test file by merging with rules fileCommit-type: maintainability
Merge branch 'barry/2023-02-22/rm-locdir' into 'main'Remove need for hardwired LOCDIR in all makefilesSee merge request petsc/petsc!6113
Remove unneeded declarations of LOCDIR from all the makefilesCommit-type:documentation
CI: migrate to Ubuntu-22.04:- arch-ci-linux-without-fc: use updated boost (from prior commit)- arch-ci-linux-pkgs-dbg-ftn-interfaces: fix warning src/sys/tutorials/ex3.c, disable PETSC_HAVE_THREAD
CI: migrate to Ubuntu-22.04:- arch-ci-linux-without-fc: use updated boost (from prior commit)- arch-ci-linux-pkgs-dbg-ftn-interfaces: fix warning src/sys/tutorials/ex3.c, disable PETSC_HAVE_THREADSAFETY in src/ksp/ksp/tutorials/ex2.c, src/snes/tutorials/ex19.c, disable superlu_dist- arch-ci-linux-pkgs-opt: use CXXFLAGS=-Wno-deprecated-declarations to suppress warnings from moab with gcc-12- arch-ci-linux-xsdk-dbg: fix warnings with PetscFree() in src/dm/impls/swarm/swarm_migrate.c, src/dm/impls/swarm/tests/ex9.c, src/ts/utils/dmplexlandau/plexland.c- arch-ci-linux-opt-misc- arch-ci-linux-pkgs-64idx- arch-ci-linux-64idx-i8: snes_tutorials-ex78_2 fail on es only? use mcpu- arch-ci-linux-opt-cxx-quad- arch-ci-linux-ILP64: Use -Wno-discarded-qualifiers to suppress warnings from mpich2- arch-ci-linux-64idx-i8-uni: snes_tutorials-ex78_2 fail on es only? use mcpudetails: (arch-ci-linux-pkgs-dbg-ftn-interfaces: disable superlu_dist)[balay@pj01 petsc]$ make check> ** On entry to DGEMM parameter number 8 had an illegal valuePossible problem with ex19 running with superlu_dist, diffs above[balay@pj01 tutorials]$ valgrind --tool=memcheck -q ./ex19 -da_grid_x 20 -da_grid_y 20 -pc_type lu -pc_factor_mat_solver_type superlu_distlid velocity = 0.0025, prandtl # = 1., grashof # = 1.==1342260== Conditional jump or move depends on uninitialised value(s)==1342260== at 0x6C918B2: __kmp_fork_call (runtime/src/kmp_runtime.cpp:2183)==1342260== by 0x6C841BA: __kmpc_fork_call (runtime/src/kmp_csupport.cpp:300)==1342260== by 0x61BAE8A: pdgstrf (SRC/dlook_ahead_update.c:124)==1342260== by 0x618C523: pdgssvx (SRC/pdgssvx.c:1173)==1342260== by 0x5047C39: MatLUFactorNumeric_SuperLU_DIST (superlu_dist.c:445)==1342260== by 0x4CAB6B9: MatLUFactorNumeric (matrix.c:3224)==1342260== by 0x58C0892: PCSetUp_LU (lu.c:120)==1342260== by 0x56EFEC2: PCSetUp (precon.c:994)==1342260== by 0x55B8181: KSPSetUp (itfunc.c:405)==1342260== by 0x55BB878: KSPSolve_Private (itfunc.c:823)==1342260== by 0x55BB3FC: KSPSolve (itfunc.c:1069)==1342260== by 0x59AB119: SNESSolve_NEWTONLS (ls.c:210)
show more ...
Merge remote-tracking branch 'origin/release'
Fix Typos
Sys: Updated tests
Switch from egrep to grep -E
source code format changes due to .clang-format changes
clang-format: convert PETSc sources to comply with clang-format
remove dead code whose inappropriately located comments mess up clangformatCommit-type: formatting/spend 15m
Name all modules in Fortran examples consistently with examplenamemodule to* prevent conflicts between examples* to make it easy to determine which module files generated in the filesystem are for
Name all modules in Fortran examples consistently with examplenamemodule to* prevent conflicts between examples* to make it easy to determine which module files generated in the filesystem are for each exampleCommit-type: housekeeping/spend 20mThanks-to: Satish Balay
Add PetscFunctionBeginUser to all PETSc C/C++ examplesNow the stack frames will contain the main program and the correct line numbers in themgit ls-files | egrep "(tutorials|tests)" | xargs sed -
Add PetscFunctionBeginUser to all PETSc C/C++ examplesNow the stack frames will contain the main program and the correct line numbers in themgit ls-files | egrep "(tutorials|tests)" | xargs sed -i "s?\(PetscCall(PetscInitialize(&argc\)?PetscFunctionBeginUser;\n \1?g"Commit-type: error-checking, testing-fix/spend 15m
Add PETSc CI mode to allow better handling of errors and system dependent output when running in test harness-petsc_ci - automatically set for all runs in test harness-petsc_ci_portable_error_out
Add PETSc CI mode to allow better handling of errors and system dependent output when running in test harness-petsc_ci - automatically set for all runs in test harness-petsc_ci_portable_error_output - ensures all error messages (when possible are system and compiler information),should be only used in tests that are explicitly testing the error handlingThis allows proper comparisons of runs on different machines and when errors are intentionally triggered to test error handlingCommit-type: error-checking, testing-fix/spend 5h
PetscObjectFunctionCompose: clean up composed functions at Destroy time
Add modern error checking to rest of Fortran examples/spend 2.5h
Add modern error checking to sys/tests and tutorial Fortran examplesCommit-type: error-checking/spend 45m
Add proper support for PetscCall(), PetscCallMPI() for FortranAlso add support for PetscCallA(), PetscCallMPIA() for Fortran that abortProvide support for printing the Fortran line and filenames
Add proper support for PetscCall(), PetscCallMPI() for FortranAlso add support for PetscCallA(), PetscCallMPIA() for Fortran that abortProvide support for printing the Fortran line and filenames with the errors or not depending on how long Fortran source code lines can beMinor improvements to handling calls to PetscError() with no function stringCommit-type: error-checking, feature/spend 2h
Get values of makefile SOURCE etc from the file system instead of makefilesUse SUBMANSEC from include files for manual sections instead of the makefileUnfortunately this has to be one large commi
Get values of makefile SOURCE etc from the file system instead of makefilesUse SUBMANSEC from include files for manual sections instead of the makefileUnfortunately this has to be one large commit since the changes all have to be done at onceCommit-type: docs/spend 10m
remove garbage from makefilesIncluding * unused FLAGS variables * All: lib that did not work * stray blank lines etcCommit-type: housekeeping/spend 1h
Enable PETSC_ATTRIBUTE_FORMAT()
Cleanup of introduction of PetscCall()* remove bogus error flags from XXXBegin()/End() macros such as PetscOptionsBegin()/End()* rename for consistency certain XXXBegin()/End() macros such as Mat
Cleanup of introduction of PetscCall()* remove bogus error flags from XXXBegin()/End() macros such as PetscOptionsBegin()/End()* rename for consistency certain XXXBegin()/End() macros such as MatPreallocateInitialize()/Finalize()* fix many lingering ierr = XXX that arose from multiline function calls* sync slepc/hpddm - to use snapshots with the same changesCommit-type: error-checking, style-fix/spend 8h
1234