| #
3e84a045
|
| 19-Oct-2019 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'barry/2019-10-16/use-error-codes' into 'master'
Replace use of 1 with appropriate error code; use PetscObjecComm() instead of...
See merge request petsc/petsc!2182
|
| #
691b26d3
|
| 17-Oct-2019 |
Barry Smith <bsmith@mcs.anl.gov> |
Replace use of 1 with appropriate error code; use PetscObjecComm() instead of PETSC_COMM_SELF for errors when appropriate
Commit-type: error-checking, testing-fix, style-fix, examples
|
| #
58a6a8f1
|
| 26-Sep-2019 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/fix-int-occurencies' into 'master'
Remove wrong usage of int datatype from PETSc code
See merge request petsc/petsc!2101
|
| #
5bd1e576
|
| 25-Sep-2019 |
Stefano Zampini <stefano.zampini@gmail.com> |
Remove wrong usage of int datatype from PETSc code
|
| #
8000f006
|
| 15-Mar-2019 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'master' of bitbucket.org:petsc/petsc
|
| #
206d7542
|
| 15-Mar-2019 |
Karl Rupp <me@karlrupp.net> |
Merge branch 'stefano_zampini/fix-tao-update-ctx' [PR #1443]
* stefano_zampini/fix-tao-update-ctx: Few small fixes to Tao before the release.
- TAOSetUpdate: change the Update callback In SNES, t
Merge branch 'stefano_zampini/fix-tao-update-ctx' [PR #1443]
* stefano_zampini/fix-tao-update-ctx: Few small fixes to Tao before the release.
- TAOSetUpdate: change the Update callback In SNES, the update function does not uses contexts, and thus it does not appear in the callback prototype. With TAO, since we are explcitily passing the ctx via TAOSetUpdate, we have to give it back to the user when performing the call
- Tao: PETSc does not print warnings
- MatAssembled: there's no point in checking the type a matrix with type not set cannot be assembled
- TaoBNKEstimateActiveSet: Call MatHasOperation() only if the matrix has been assembled the previous logic for MatGetDiagonal still holds. With this fix, the code will not error in case the hessian has not been assembled at this time
show more ...
|
| #
8fcddce6
|
| 14-Mar-2019 |
Stefano Zampini <stefano.zampini@gmail.com> |
TAOSetUpdate: change the Update callback
In SNES, the update function does not uses contexts, and thus it does not appear in the callback prototype With TAO, since we are explcitily passing the ctx
TAOSetUpdate: change the Update callback
In SNES, the update function does not uses contexts, and thus it does not appear in the callback prototype With TAO, since we are explcitily passing the ctx via TAOSetUpdate, we have to give it back to the user when performing the call
show more ...
|
| #
a5a49157
|
| 25-Oct-2018 |
Joseph Pusztay <josephpusztay@Josephs-MacBook-Pro.local> |
Merge branch 'master' into jpusztay/feature-swarm-symplectic-example
|
| #
e901d7f7
|
| 25-Oct-2018 |
Joseph Pusztay <josephpusztay@Josephs-MacBook-Pro.local> |
Merge branch 'master' into jpustay/feature-swarm-example
|
| #
baeaa64e
|
| 25-Oct-2018 |
Joseph Pusztay <josephpu@buffalo.edu> |
Merged petsc/petsc into master
|
| #
df90af56
|
| 24-Oct-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into arcowie-rem/feature-error-logging
* master: (393 commits) Bib: Update reference Mat: Doc fix Bib: Updated ref PetscDS: Doc fixes PC+LU: Do not try to refactor an
Merge branch 'master' into arcowie-rem/feature-error-logging
* master: (393 commits) Bib: Update reference Mat: Doc fix Bib: Updated ref PetscDS: Doc fixes PC+LU: Do not try to refactor an already factored matrix Mat: Small fix for checking and docs Mat: Added MatSetFactorType() - Needed it when making a shell matrix look factored PetscDS: Added PetscDSUpdateBoundary() - Lets the user change the boundary condition single precision produces different convergence history p4est: has a dependency on zlib - so handle it correctly Add -mat_mffd_complex to use the Lyness complex number trick to compute J_u * v instead of differencing. Replace VecWAXPY by VecAXPY if needed Revert "Replace VecWAXPY by VecAXPY if needed" Replace VecWAXPY by VecAXPY if needed MatHermitianTransposeGetMat and MatCreateVecs ex19: Updated test filter to avoid false positives. DM: Improved Global-To-Natural docs Suggested-by: Josh L <ysjosh.lo@gmail.com> Do not build shared openblas when doing static build Upgrade OpenBLAS to 0.3.3 test: add alt output file for changes in OSX-10.14 and Xcode-10.0 [perhaps related to ML] ...
Conflicts: src/vec/is/utils/vsectionis.c
show more ...
|
| #
dfd95116
|
| 20-Oct-2018 |
Pierre Jolivet <pierre.jolivet@enseeiht.fr> |
Merged petsc/petsc into master
|
| #
bf67e7b2
|
| 03-Oct-2018 |
Karl Rupp <me@karlrupp.net> |
Merge branch 'denera/tao-gauss-newton-wrapper' [PR #1151]
* denera/tao-gauss-newton-wrapper: Regularized Gauss-Newton algorithm/wrapper New BRGN algorithm added for regularized Gauss-Newton formulat
Merge branch 'denera/tao-gauss-newton-wrapper' [PR #1151]
* denera/tao-gauss-newton-wrapper: Regularized Gauss-Newton algorithm/wrapper New BRGN algorithm added for regularized Gauss-Newton formulation. This algorithm is a thin wrapper that relies on TaoSetResidualRoutine() and TaoSetResidualJacobianRoutine() interfaces to accept the residual and Jacobian associated with a least-squares problem, and then construct the internal objective, gradient and Hessian evaluation functions for the regularized problem formulation. Currently only Tikhonov regularization is available, but other smooth regularizers are planned in the future. The resulting regularized problem is passed onto an existing bound-constrained algorithm (e.g.: BQNLS or BNTL), controlled by the -tao_brgn_subsolver flag.
show more ...
|
| #
e1e80dc8
|
| 13-Sep-2018 |
Alp Dener <alp.dener@me.com> |
Regularization changed to x-x_old, user hook added into optimization loops, eliminated explicit MatTransposeMatMult option in Hessian computation
|
| #
20cd54da
|
| 18-Sep-2018 |
Joseph Pusztay <josephpusztay@Josephs-MacBook-Pro.local> |
Merge from master
|
| #
c86da64b
|
| 06-Sep-2018 |
Joseph Pusztay <josephpu@buffalo.edu> |
Merged petsc/petsc into master
|
| #
3b16a644
|
| 03-Sep-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/fix-superdm-is
* master: (455 commits) bib: spell out some names for format consistency with related refs bib: two 2018 pubs now appeared cleaning up analyze
Merge branch 'master' into knepley/fix-superdm-is
* master: (455 commits) bib: spell out some names for format consistency with related refs bib: two 2018 pubs now appeared cleaning up analyzer warnings compile fixes (workarround PGI bug?): undoing the branch's changes to leastsquares outputs more fixes for complex builds compile error fix for complex builds 1) Look for 64 bit integer MKL BLAS if 64 bit indices are used with PETSc 2) Fix Pardiso code to only compile pardiso_init64 when needed, otherwise can generate warnings/errors jenkins: run 'cleantest' before 'allgtest-tap' - an attempt to fix errors of type: cuda: protect cuda includes fix cuda warnings. fix complex compile error Revert "Improved polymorphism of interfaces for MatSetValuesBlocked()" Bib: Updated ref Doc: More function documentation petscvec: move PetscSFCreateFromZero from vscat to vec sources Fixed an uninitialized variable and got rid of an unused one. memleak fixed and output files updated fixing build errors on some archs Mat: obey options prefix of Mat in MatNullSpaceTest ...
Conflicts: include/petsc/private/dmpleximpl.h src/dm/interface/dmi.c
show more ...
|
| #
ec6b3951
|
| 29-Aug-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-pc-patch
* master: (281 commits) compile fixes (workarround PGI bug?): 1) Look for 64 bit integer MKL BLAS if 64 bit indices are used with PETSc 2) Fix
Merge branch 'master' into knepley/feature-pc-patch
* master: (281 commits) compile fixes (workarround PGI bug?): 1) Look for 64 bit integer MKL BLAS if 64 bit indices are used with PETSc 2) Fix Pardiso code to only compile pardiso_init64 when needed, otherwise can generate warnings/errors jenkins: run 'cleantest' before 'allgtest-tap' - an attempt to fix errors of type: cuda: protect cuda includes fix cuda warnings. fix complex compile error Revert "Improved polymorphism of interfaces for MatSetValuesBlocked()" Bib: Updated ref Doc: More function documentation petscvec: move PetscSFCreateFromZero from vscat to vec sources Mat: obey options prefix of Mat in MatNullSpaceTest Plex+SNES: Must pass user context through vscat: move ftn-custom to correct location remove custom vecscatterdestroy_() vscat: move interface routines to correct location vscat: delete dead code fix compile error FE: Correct coordinates in IntegrateBd Bib: Added refs SNES ex17: 3D tests must require a 3D grid generator Plex+TS: We cannot run the check with the same vector that is the TS solution ...
Conflicts: include/petsc/private/dmpleximpl.h src/docs/website/documentation/changes/dev.html src/snes/examples/tutorials/ex13.c src/snes/utils/dmplexsnes.c
show more ...
|
| #
7dcbf44c
|
| 24-Aug-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into arcowie-rem/feature-error-logging
* master: (249 commits) Bib: Added refs Netcdf should always build netcdf-4 (needed for example by exodusii. trivial fixes of incor
Merge branch 'master' into arcowie-rem/feature-error-logging
* master: (249 commits) Bib: Added refs Netcdf should always build netcdf-4 (needed for example by exodusii. trivial fixes of incorrect formatting in SNES linesearch routines ISSetBlockSize_General: removed blockwise contiguity check. netcdf: set zlib as optional dependency corretly [wrt --enable-netcdf-4] - otherwise netcdf configure errors out config prefix: avoid ad-hoc path substitutions config/install: no need to rename paths for installBinDir rules: fix path in (evidently unimportant) uncrustify target config pkgconfig: use ${prefix} in PETSc.pc and do not modify in install fix gcov obj path Improved polymorphism of interfaces for MatSetValuesBlocked() -options_table was changed to options_view in 2014 but documentation was not updated to reflect it configure: fix F2003 test Dev manual: remove duplicate entry Plex test ex5: Removed "future" test, as it resulted in issues in the nightly tests. Some minor typos in TS Add ADIOS2.py which I forgot to git add in the past Plex ex5: Disable test Doc: Added note for interface change KSPLSQRMonitorDefault fixed for quad precision ...
show more ...
|
| #
78945fca
|
| 17-Aug-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-functionals
* master: (984 commits) netcdf: set zlib as optional dependency corretly [wrt --enable-netcdf-4] - otherwise netcdf configure errors out
Merge branch 'master' into knepley/feature-plex-functionals
* master: (984 commits) netcdf: set zlib as optional dependency corretly [wrt --enable-netcdf-4] - otherwise netcdf configure errors out fix gcov obj path -options_table was changed to options_view in 2014 but documentation was not updated to reflect it configure: fix F2003 test Dev manual: remove duplicate entry Plex test ex5: Removed "future" test, as it resulted in issues in the nightly tests. Some minor typos in TS Add ADIOS2.py which I forgot to git add in the past Plex ex5: Disable test Doc: Added note for interface change KSPLSQRMonitorDefault fixed for quad precision Tao: Added alternative output for chwirut2 test. TS ex45,ex46: Removed overly refined tests for faster nightly tests. KSP ex72: Fixed needlessly long-running PCTFS tests. SNES ex56: Reduced test size to speed up nightly test suite. KSPSolve_LSQR: don't compute unused norm of rhs SNES ex13: Reduced problem sizes for nightly tests. PetscOptionsDeprecated(): fix for NULL prefix PetscOptionsDeprecated(): add option to print additional info SNES ex12: Reduced sizes for BDDC tests. ...
show more ...
|
| #
13a035b1
|
| 13-Aug-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-elasticity-test
* master: (1553 commits) -options_table was changed to options_view in 2014 but documentation was not updated to reflect it config
Merge branch 'master' into knepley/feature-plex-elasticity-test
* master: (1553 commits) -options_table was changed to options_view in 2014 but documentation was not updated to reflect it configure: fix F2003 test Plex test ex5: Removed "future" test, as it resulted in issues in the nightly tests. Some minor typos in TS Add ADIOS2.py which I forgot to git add in the past Plex ex5: Disable test Doc: Added note for interface change KSPLSQRMonitorDefault fixed for quad precision Tao: Added alternative output for chwirut2 test. TS ex45,ex46: Removed overly refined tests for faster nightly tests. KSP ex72: Fixed needlessly long-running PCTFS tests. SNES ex56: Reduced test size to speed up nightly test suite. KSPSolve_LSQR: don't compute unused norm of rhs SNES ex13: Reduced problem sizes for nightly tests. PetscOptionsDeprecated(): fix for NULL prefix PetscOptionsDeprecated(): add option to print additional info SNES ex12: Reduced sizes for BDDC tests. PetscFileRetrieve(): Suppress output to STDERR when downloading a file. MatMatMult: Fixed unused variable pN. DMDestroy: Guard call to dm->ops->destroy * Similar guards are in place in many other methods (IS,Vec,Mat) and permit the DM to be destroyed even if DMSetType() was never called. ...
show more ...
|
| #
d7677eb2
|
| 09-Aug-2018 |
Andreas Selinger <andreasselinger@gmail.com> |
Merged petsc/petsc into master
|
| #
59e7829c
|
| 07-Aug-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-parallel-submesh
* master: (2931 commits) remove N in docs for SNESQN replaced test tolerance with PETSC_SQRT_MACHINE_EPSILON fortran: PetscComp
Merge branch 'master' into knepley/feature-plex-parallel-submesh
* master: (2931 commits) remove N in docs for SNESQN replaced test tolerance with PETSC_SQRT_MACHINE_EPSILON fortran: PetscComplex type is missing from fortran initialize variables so that static analyzer doesn't mistakenly think they are used uninitialized. Move access of prefix until it is actually used Remove DMDASplitComm2d(), used in one example that was not tested Functions that do not return PetscErrorCode should not use PetscFunctionBegin/End paradgm remove unneeded reassignment of same value Missing CHKERRQ(); Mostly in Tao code Remove clang static analyser warning about passing NULL variable to strncat() missing newline in -ts_monitor_extreme minor fixes for integer counters Configure: Deal with '__func__' in C89 builds with newer Clang and GCC. Jenkinsfile: Increased timeout for tests to 5 minutes. 3.9 changes: further clarify removal of -pc_factor_mat_solver_package Options deprecations: add "PETSc" to inline warning removing unused variable MatShift support added to MATSUBMAT. Mimics MATSHELL functionality. Needed for matrix-free Hessians in TAO Newton-Line-Search methods. Add -ts_monitor_extreme Dev manual: add note on deprecating options database keys ...
Conflicts: src/dm/impls/plex/examples/tests/ex4.c
show more ...
|
| #
27a35bf0
|
| 07-Aug-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/fix-plex-submesh-projection
* master: (425 commits) remove N in docs for SNESQN replaced test tolerance with PETSC_SQRT_MACHINE_EPSILON fortran: PetscComplex
Merge branch 'master' into knepley/fix-plex-submesh-projection
* master: (425 commits) remove N in docs for SNESQN replaced test tolerance with PETSC_SQRT_MACHINE_EPSILON fortran: PetscComplex type is missing from fortran initialize variables so that static analyzer doesn't mistakenly think they are used uninitialized. Move access of prefix until it is actually used Remove DMDASplitComm2d(), used in one example that was not tested Functions that do not return PetscErrorCode should not use PetscFunctionBegin/End paradgm remove unneeded reassignment of same value Missing CHKERRQ(); Mostly in Tao code Remove clang static analyser warning about passing NULL variable to strncat() missing newline in -ts_monitor_extreme minor fixes for integer counters Configure: Deal with '__func__' in C89 builds with newer Clang and GCC. Jenkinsfile: Increased timeout for tests to 5 minutes. 3.9 changes: further clarify removal of -pc_factor_mat_solver_package Options deprecations: add "PETSc" to inline warning removing unused variable MatShift support added to MATSUBMAT. Mimics MATSHELL functionality. Needed for matrix-free Hessians in TAO Newton-Line-Search methods. Add -ts_monitor_extreme Dev manual: add note on deprecating options database keys ...
Conflicts: src/dm/impls/plex/examples/tests/ex4.c
show more ...
|
| #
d9e171d6
|
| 06-Aug-2018 |
Karl Rupp <me@karlrupp.net> |
Merge branch 'denera/tao-blmvm-recycle-missing-example' [PR #1059]
* denera/tao-blmvm-recycle-missing-example: Simple rosenbrock test for LMVM recycling. We had this example before in the code but s
Merge branch 'denera/tao-blmvm-recycle-missing-example' [PR #1059]
* denera/tao-blmvm-recycle-missing-example: Simple rosenbrock test for LMVM recycling. We had this example before in the code but somewhere along the way it seems to have disappeared. Adding it back in now to make sure the functionality is tested. Thanks to @adenchfi for bringing it to our attention.
show more ...
|