Fix bug where 0 is passed into ... that expects a pointer. On MacOS M2 system it is passed on the stack as int causing crash
add tests for MUMPS with MATNEST
Fix PetscCallMPI(MPI_Allreduce()) with PETSc types
Fix long term bug in example where it started a SNESSolve off at a Jacobian of exactly 0Commit-type: bug
Fix bug in handling of -snes_linesearch_maxstep.It should be relative to fnorm, not an absolute valueCommit-type: bug-fix
Replace sprintf with snprintf to eliminate compiler warnings/Users/petsc/builds/qaG_QyAe/1/petsc/petsc/src/mat/tests/cJSON.c:121:3: error: 'sprintf' is deprecated: This function is provided for com
Replace sprintf with snprintf to eliminate compiler warnings/Users/petsc/builds/qaG_QyAe/1/petsc/petsc/src/mat/tests/cJSON.c:121:3: error: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Werror,-Wdeprecated-declarations] sprintf(version, "%i.%i.%i", CJSON_VERSION_MAJOR, CJSON_VERSION_MINOR, CJSON_VERSION_PATCH); ^Also fix compiler warning:/scratch/svcpetsc/glci-builds-stage2/AbTGp5-t/0/petsc/petsc/src/mat/tests/cJSON.c: In function ‘print_string_ptr’:/scratch/svcpetsc/glci-builds-stage2/AbTGp5-t/0/petsc/petsc/src/mat/tests/cJSON.c:817:47: error: ‘%04x’ directive output truncated writing 4 bytes into a region of size 3 [-Werror=format-truncation=] 817 | snprintf((char *)output_pointer, 4, "u%04x", *input_pointer); | ^~~~/scratch/svcpetsc/glci-builds-stage2/AbTGp5-t/0/petsc/petsc/src/mat/tests/cJSON.c:817:45: note: directive argument in the range [0, 255] 817 | snprintf((char *)output_pointer, 4, "u%04x", *input_pointer); | ^~~~~~~In file included from /usr/include/stdio.h:867, from /scratch/svcpetsc/glci-builds-stage2/AbTGp5-t/0/petsc/petsc/src/mat/tests/cJSON.c:41:/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 6 bytes into a destination of size 4 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~cc1: all warnings being treated as errors
show more ...
Merge branch 'knepley/feature-hybrid-mass' into 'main'Plex: Can now specify a mass weighting to hybrid residualSee merge request petsc/petsc!6210
Plex: Can now specify a mass weighting to hybrid residual- This is not a complete fix. We need to match up quadrature points across the interface.
Remove need for seperate lib/petsc/conf/test file by merging with rules fileCommit-type: maintainability
SNESNEWTONTR: add support for NPC and sufficient decreaseadd tests
Add implementation of 4th-kind Chebyshev polynomial smoother
SNESNEWTONTR: add dogleg and Cauchy fallbacks from NTRDC
Fix build error with linux-misc-32bit
Fix unused-parameter warningsrc/ts/utils/dmplexlandau/cuda/landaucu.cu:71:272: error: unused parameter ‘a_lambdas’ [-Werror=unused-parameter]
Config: add --with-mpiexec-tail to add arguments right before user's executableSo that we are albe to do mpiexec <mpiexec_flags> -n <np> <mpiexec_tail> ./ex1
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
Merge branch 'balay/ci-migrate' into 'main'CI: migrate some Ubuntu-18.04 jobs to 22.04See merge request petsc/petsc!6119
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)
Double spaces, wrong backticks, or unneeded braces
Merge branch 'dcampbell/add-dmnetworkview-py' into 'main'Added Matplotlib viewer functionality to DMViewSee merge request petsc/petsc!5953
update ex1.c and ex2.c; add tests
Merge branch 'release'
Mat: use MatSeqAIJGet/RestoreArrayXxx() to access matrix data in MatCreateSubMatrix_SeqAIJOtherwise, when the matrix is offloaded, we will forget to set the matrix's offload state
Merge remote-tracking branch 'origin/release'
1...<<11121314151617181920>>...27