TAO: add TAOPYTHON classdeprecate Tao basic API to match SNES and TS paradigmsTaoSetFromOptions: call TaoLineSearchSetFromOptions
rename PetscAssert() -> PetscCheck() and PetscAssertDebug() -> PetscAssert()
add PetscAssert() and PetscAssertFalse()
remove trailing newline from SETERRQ
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 ...
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
requires: define -> requires: defined
Unify XXGetYYContext callsalways use void*
Some missing CHKERR[Q|MPI]
Update badsource rules- Zero or more spaces are not allowed for more returning types- zero spaces not allowed for for|if|while
Remove all double blank lines from sourceCommit-type: petsc-style/2h
Fix code that did not pass appropriate PETSc error flags to SETERRQ()Add checkbadSource check for use of SETERRQ() without an appropriate error flagCommit-type: error-checking, bug-fix, testing-f
Fix code that did not pass appropriate PETSc error flags to SETERRQ()Add checkbadSource check for use of SETERRQ() without an appropriate error flagCommit-type: error-checking, bug-fix, testing-fix, style-fix/spend 2.5h
fixed bug in ex1.c in tao constrained tutorials
pdipm: improve solver by adding a shift option for the KKT matrix so that it will always be positive definite.
TAOALMM implemented for generally constrained optimization
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
Change the KKT matrix used by pdipm solve to a symmetric indefinite matrix to use MUMPS Cholesky.
Turn on checkbadSource test to generate an error when found; fix all source code that causes errorsCommit-type: portability-fix, testing-fix, style-fix, feature, maintainability/spend 1.5h
Merge remote-tracking branch 'origin/maint'
add check for equality constraints to pdipmadd -no_eq option to ex1.c to remove equality constraintsCo-authored-by: Hong Zhang <hzhang@mcs.anl.gov>
Factored matrices should not view information about MatSetValues() mallocsCommit-type: style-fix, feature/spend 40m
Most external factorization packages do not use the ordering provided by PETSc, therefor only provide it when needed.Adds MatOrderingType external to indicate not to generate an ordering and use wh
Most external factorization packages do not use the ordering provided by PETSc, therefor only provide it when needed.Adds MatOrderingType external to indicate not to generate an ordering and use what the package needsNow -pc_view will not print the wrong PETSc ordering when the ordering is done externallySaves some memory and compute time.Commit-type: optimizationTime: 1.2 hoursReported-by: Junchao Zhang <junchao.zhang@gmail.com>Thanks-to: Stefano Zampini <stefano.zampini@gmail.com>
Updated the use of sizeof() when possible instead of using hardwired sizes for functions whose string argumentsneed sizes. In particular done for PetscOptionsGetString(), PetscOptionsString(), and a
Updated the use of sizeof() when possible instead of using hardwired sizes for functions whose string argumentsneed sizes. In particular done for PetscOptionsGetString(), PetscOptionsString(), and a few other utilitiesCommit-type: style-fixDevelopment Tools: Vim, Emacs, Eclipse
Single petscdir.mk
1234