Style: replace "!rank" with "rank == 0"In SF tutorial ex1 (src/vec/is/sf/tutorials/ex1.c), add parentheses around "rank == 0". This is relevant because ! binds more tightly than +, but == binds les
Style: replace "!rank" with "rank == 0"In SF tutorial ex1 (src/vec/is/sf/tutorials/ex1.c), add parentheses around "rank == 0". This is relevant because ! binds more tightly than +, but == binds lesstightly, so the result of the computation would otherwise change.
show more ...
Merge branch 'hzhang/tao-pdipm-update' into 'main'add PCSetPreSolve(); resolve remaining issues of MR3821See merge request petsc/petsc!4120
Fix manpages: Input/Output Parameter --> Parameters
address issues raised by Barry for MR3821fix a comment in mumps.cadd PCSetPreSolve(); rm several private '#include'; cleanup KKTAddShifts(), PCPreSolve_PDIPM(), TaoSetup_PDIPM()add 'requires: mump
address issues raised by Barry for MR3821fix a comment in mumps.cadd PCSetPreSolve(); rm several private '#include'; cleanup KKTAddShifts(), PCPreSolve_PDIPM(), TaoSetup_PDIPM()add 'requires: mumps' to src/tao/constrained/tutorials/ex1.c' -- pdipm cannot handle zeropivot yetupdate ex1 for distributed Hessian and Jacobiansupdate webmanualupdate tao->gnorm0 and tao->step = mu in TaoSNESFunction_PDIPM_residual()
Fix spelling errors in manpages and comments
Merge remote-tracking branch 'origin/release'
PCMatApply: fix swapped dimensions
PCApply: fix swapped dimensions to check;improve error messages
Remove all double blank lines from sourceCommit-type: petsc-style/2h
Merge branch 'tisaac/feature-spqr' into 'main'Implement interface to SuiteSparseQR (SPQR) sparse direct QR factorization.See merge request petsc/petsc!3976
Implement interface to SuiteSparseQR (SPQR) sparse direct QR factorization.
Linter using libClang that checks PetscValidHeaderSpecifcType, PetscValidHeaderSpecific, PetscValidHeader, PetscValid[XXX]Pointer, PetscValidType, PetscCheckSameComm, PetscValidLogicalCollectiveXXX f
Linter using libClang that checks PetscValidHeaderSpecifcType, PetscValidHeaderSpecific, PetscValidHeader, PetscValid[XXX]Pointer, PetscValidType, PetscCheckSameComm, PetscValidLogicalCollectiveXXX for validity. Automatically generates diff files for problems with a known solution.
Minor fixes
Fortran: re-init destroyed petsc objects so that they are different from null objectsReported-by: Jose E. Roman <jroman@dsic.upv.es>
PCHPDDM: no compilation --with-shared-libraries=0
petscviewer: fix the fortran bindings of XXXViewFromOptions when called with obj=PETSC_NULL_XXX
General fixes
Convert MPI error type to PETSc error with string message for all MPI callsNow PETSc examples will ONLY return PETSc error codes and never MPI error codes directly so we can understand and post-pro
Convert MPI error type to PETSc error with string message for all MPI callsNow PETSc examples will ONLY return PETSc error codes and never MPI error codes directly so we can understand and post-process their errors better.The test harness will now automatically retry tests that fail with MPI, this may help with Intel MPI that produces seemingly random failures.Commit-type: error-checking/spend 30m
Do not log KSPSolve() and PCApply() from in PCSetUp()Do not log KSPSetUp() from within KSPSolve()Commit-type: logging/spend 90mReported-by: Stefano Zampini <stefano.zampini@gmail.com>
Merge branch 'knepley/feature-plex-adaptive-interpolation' into 'master'Knepley/feature plex adaptive interpolationSee merge request petsc/petsc!3018
PCMG: Added adaptive interpolation- Added coarse vectors to resolve at each level- Added adaptation flag and API- Added option -pc_mg_adapt_interp to turn on adaptation- Use -dm_interpolator_ada
PCMG: Added adaptive interpolation- Added coarse vectors to resolve at each level- Added adaptation flag and API- Added option -pc_mg_adapt_interp to turn on adaptation- Use -dm_interpolator_adapt_k to set subspace size and -dm_interpolator_adapt_use_poly to select type of functions- Doc fixes for functions- Fix options for construction of a vanilla coarse space- Require Galerkin matrices for adaptive interpolation- Fixed problem with composed eigenvalue- Normalize eigenvector in smoothing loop- Added option to use generalized eigenvector basis (For some reason, this is worse on test problems)- Make adaptive allocation happen only initially, protect adaptive functions from invalid levels
Slightly improved the handling of PCFailedReason on multiple rankspc->failedreasonrank now contains the failed reason from the current rankpc->failedreason continues the unified common value colle
Slightly improved the handling of PCFailedReason on multiple rankspc->failedreasonrank now contains the failed reason from the current rankpc->failedreason continues the unified common value collected in KSPCheckNorm/DotThis parallel code can check the common value and be sure to do the same action on each processAlso printed message now provide the accurate value instead of the value on rank 0Changed KSPReasonView() and KSPReasonViewFromOptions() to KSPCOnvergeReasonView() and KSPConvergedReasonViewFromOptions()Added the PetscViewerFormat argument to the public KSPReasonViewFromOptions() and removed the private functionRemoved some off the PCFailedReaon processing code from KSPSolve_PREONLY since buggily assumed the same reason all ranksThe error message on KSP failure now also prints the PCFailedReason if appropriateNeeded to add a new alt fileReported-by: Yu, Xiangyu <Xiangyu.Yu@bp.com>
KSPMatSolve() + PCMatApply(): minor fixes
12345678910>>...23