Fix PDIPM with no inequality constraint
Fix several typos in error strings
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'
Merge branch 'rylee/pdipm-patch' into 'maint'bugfix: added check for equality constraints to pdipmSee merge request petsc/petsc!3026
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>
Non-ASCII characters in source should be an immediate error, not allowed in masterI wasted a huge amount of time with Python 3 and difficulties reading files with stdin and friendsdue to non-ASCII
Non-ASCII characters in source should be an immediate error, not allowed in masterI wasted a huge amount of time with Python 3 and difficulties reading files with stdin and friendsdue to non-ASCII characters in the sourceCommit-type: error-checking, portability-fix, testing-fix, style-fix, feature/spend 5h
show more ...
Fix misuse of PETSC_COMM_WORLD in library codeThere are still many left, I'm tired of fixing them[szampini@localhost petsc]$ git grep PETSC_COMM_WORLD | grep -v tests | grep -v tutorials | grep '
Fix misuse of PETSC_COMM_WORLD in library codeThere are still many left, I'm tired of fixing them[szampini@localhost petsc]$ git grep PETSC_COMM_WORLD | grep -v tests | grep -v tutorials | grep '\.c' | awk '{print $1}' | uniqsrc/benchmarks/streams/CUDAVersion.cu:src/benchmarks/streams/SSEVersion.c:src/contrib/fun3d/comp/flow.c:src/contrib/fun3d/incomp/flow.c:src/dm/impls/forest/p4est/petsc_p4est_package.c:src/dm/impls/moab/dmmbfem.cxx:src/dm/impls/moab/dmmbmg.cxx:src/dm/impls/moab/dmmbutil.cxx:src/dm/impls/moab/dmmbvec.cxx:src/dm/impls/moab/dmmoab.cxx:src/dm/impls/network/network.c:src/dm/impls/stag/stag.c:src/dm/impls/stag/stag1d.c:src/dm/impls/stag/stag2d.c:src/dm/impls/stag/stag3d.c:src/dm/impls/stag/stagda.c:src/dm/impls/stag/stagutils.c:$src/dm/impls/swarm/data_ex.c:src/dm/impls/swarm/swarm.c:src/dm/impls/swarm/swarm_migrate.c:src/ksp/ksp/impls/fcg/pipefcg/pipefcg.c:src/ksp/ksp/impls/gcr/pipegcr/pipegcr.c:src/ksp/ksp/impls/gmres/pipefgmres/pipefgmres.c:src/ksp/ksp/impls/tsirm/tsirm.c:src/ksp/ksp/interface/itcreate.c:src/ksp/ksp/interface/iterativ.c:src/ksp/ksp/interface/saws/kspsaws.c:src/ksp/pc/impls/bddc/bddcfetidp.c:src/ksp/pc/impls/fieldsplit/fieldsplit.c:src/ksp/pc/impls/gamg/util.c:src/ksp/pc/impls/gasm/gasm.c:src/ksp/pc/impls/is/nn/nn.c:src/ksp/pc/impls/patch/pcpatch.c:src/ksp/pc/impls/tfs/gs.c:src/ksp/pc/impls/tfs/tfs.c:src/ksp/pc/impls/tfs/xxt.c:src/ksp/pc/impls/tfs/xyt.c:src/ksp/pc/interface/precon.c:src/mat/impls/aij/mpi/mpiaij.c:#definesrc/mat/interface/matrix.c:src/mat/interface/matrix.c:.src/mat/interface/matrix.c:src/mat/interface/matrix.c:$src/mat/utils/multequal.c:src/snes/interface/saws/snessaws.c:src/snes/interface/snes.c:src/sys/classes/draw/interface/drawreg.c:src/sys/classes/random/interface/random.c:src/sys/classes/random/interface/randomc.c:src/sys/classes/viewer/impls/ams/ams.c:src/sys/classes/viewer/impls/ams/amsopen.c:src/sys/classes/viewer/impls/ascii/vcreatea.c:src/sys/classes/viewer/impls/mathematica/mathematica.c:src/sys/dll/reg.c:src/sys/dll/reg.c:staticsrc/sys/dll/reg.c:src/sys/error/adebug.c:src/sys/error/checkptr.c:src/sys/error/errstop.c:src/sys/error/pstack.c:src/sys/error/signal.c:src/sys/ftn-custom/zutils.c:src/sys/info/verboseinfo.c:src/sys/logging/plog.c:src/sys/logging/utils/eventlog.c:src/sys/logging/xmllogevent.c:src/sys/memory/mal.c:src/sys/memory/mtr.c:src/sys/objects/aoptions.c:src/sys/objects/aoptions.c:+src/sys/objects/aoptions.c:src/sys/objects/ftn-custom/zstart.c:src/sys/objects/ftn-custom/zstartf.c:src/sys/objects/inherit.c:src/sys/objects/init.c:src/sys/objects/options.c:+src/sys/objects/options.c:src/sys/objects/pinit.c:MPI_Commsrc/sys/objects/pinit.c:src/sys/utils/mpitr.c:src/sys/utils/mpits.c:+src/sys/utils/pbarrier.c:src/sys/utils/pdisplay.c:src/sys/yaml/yamlimpls.c:src/sys/yaml/yamlimpls.c:+src/sys/yaml/yamlimpls.c:src/tao/pde_constrained/impls/lcl/lcl.c:src/ts/interface/ts.c:src/vec/is/is/utils/iscoloring.c:src/vec/vec/impls/seq/seqviennacl/vecviennacl.cxx:src/vec/vec/interface/vector.c:.src/vec/vec/interface/vector.c:
Tao: Replace 0 -> NULL for pointers
TAOPDIPM: Add primal-dual interior point method solver in TAO
Merge branch 'hzhang/dmnetwork-vltogordering' [PR #1882]* hzhang/dmnetwork-vltogordering:add Set/GetVertexLocalToGlobalOrdering(), used by constrained optimization applicationbugfix for IPMUpdate
Merge branch 'hzhang/dmnetwork-vltogordering' [PR #1882]* hzhang/dmnetwork-vltogordering:add Set/GetVertexLocalToGlobalOrdering(), used by constrained optimization applicationbugfix for IPMUpdateAi() in Tao. Create Ai using local column sizebugfix for DMInitialize_Network(). contibuted by Shri
fix memory leak of ipm when nproc > 1
bugfix for IPMUpdateAi() in Tao. Create Ai using local column size
Fixes for doctext update
Revert the function name where it is referenced
TAOSetUpdate: change the Update callbackIn SNES, the update function does not uses contexts, and thus it does not appear in the callback prototypeWith TAO, since we are explcitily passing the ctx
TAOSetUpdate: change the Update callbackIn SNES, the update function does not uses contexts, and thus it does not appear in the callback prototypeWith TAO, since we are explcitily passing the ctx via TAOSetUpdate, we have to give it back to the user when performing the call
Regularization changed to x-x_old, user hook added into optimization loops, eliminated explicit MatTransposeMatMult option in Hessian computation
Changed VecScatterCreate() to take a communicator and return scatter as other first class PETSc objects do.Changed old VecScatterCreate() to VecScatterCreateWithData()Completed basic refactorizati
Changed VecScatterCreate() to take a communicator and return scatter as other first class PETSc objects do.Changed old VecScatterCreate() to VecScatterCreateWithData()Completed basic refactorization of VecScatter code, ready for new implementations to be added.(There is still some code duplication between the VecScatter MPI1 and MPI3 code but it can be fixed at anytime without requiring changes to the VecScatter API.Part 5 of a refactorization of VecScatter to be treated as a first class PETSc objectCommit-type: style-fix
initialize variables so that static analyzer doesn't mistakenly think they are used uninitialized.Commit-type: testing-fixReported-by: clang static analyzer
Man pages: add newlines after "Notes:"This allows for proper formatting from sowing.On OS X (using gsed, not the default BSD sed), from the PETSc root directory: find src include -type f \(
Man pages: add newlines after "Notes:"This allows for proper formatting from sowing.On OS X (using gsed, not the default BSD sed), from the PETSc root directory: find src include -type f \( -name "*.c" -or -name "*.h" -or -name "*.cxx" \) | xargs gsed -i 's/Notes\s*:\s*\(\w.*\)/Notes:\n \1/'This adds a newline and 4 spaces whenever "Notes:" is followed by any "word" character, in any .c, .h, or .cxx file in src/ or include/
fix propagated throughout, convergence tolerance bug discovered and fixed in toy problem
Wrapping up for a pull request
Fixes for use of PetscMallocN() with const type inputMicrosoft compilers warn about incompatiblity between pointers passed to new PetscMallocA() functionCommit-type: portability-fix, testing-fix
Fixes for use of PetscMallocN() with const type inputMicrosoft compilers warn about incompatiblity between pointers passed to new PetscMallocA() functionCommit-type: portability-fix, testing-fixReported-by: nightly tests
Remove the use and definition of __FUNCT__ throughout the codeSince all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETScTime: 1.5 hoursThanks-t
Remove the use and definition of __FUNCT__ throughout the codeSince all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETScTime: 1.5 hoursThanks-to: Andreas Mang <andreas@ices.utexas.edu>
123456