Merge branch 'barry/fix-matmffd' [PR #1732]* barry/fix-matmffd:Fix bugs in MATMFFD related to scaling and shifting
Fix bugs in MATMFFD related to scaling and shifting1) refactored MATMFFD to use MATSHELL and inherit all of its tested handling of shifting and scaling2) added example testing MATHSHELL handling o
Fix bugs in MATMFFD related to scaling and shifting1) refactored MATMFFD to use MATSHELL and inherit all of its tested handling of shifting and scaling2) added example testing MATHSHELL handling of multiple shifts and scales3) added test of MATMFFD for non-square matrix; from Stefano Zampini <stefano.zampini@gmail.com>4) refactor MATMFFD and MATSHELL to properly use PetscUseMethod() instead of type comparisons5) changed handling of -snes_mf so preconditioning is not automatically turned off if -snes_mf is used6) fixed test cases that now need -pc_type none due to change 57) added test case for MatGetDiagonal() for MATMFFD8) added error checking of use of several MATSHELL operations for non-congruent matrices9) SNESView now prints additional information about how the Jacobian is computedCommit-type: bug-fix, testing-fix, style-fix, featureReported-by: Stefano Zampini <stefano.zampini@gmail.com>
show more ...
DMGetSection: replace all internal usage with DMGetLocalSectionSame for DMSetSection -> DMSetLocalSection. We retain the interfacefor DMGetSection/DMSetSection without deprecation warnings (for n
DMGetSection: replace all internal usage with DMGetLocalSectionSame for DMSetSection -> DMSetLocalSection. We retain the interfacefor DMGetSection/DMSetSection without deprecation warnings (for now).Suggested-by: Barry Smith <bsmith@mcs.anl.gov>
Fix docs for SNESNCG, add NCG linesearch that was in the code and not connected, call SNESSetFromOptions() on NPCCommit-type: feature, documentation
Merge branch 'dalcinl/fix-snes_test_jacobian' [PR #1898]* dalcinl/fix-snes_test_jacobian:SNES: Fixes to SNESTestJacobian()
SNES: Fixes to SNESTestJacobian()* Propagate block sizes to work matrices, otherwise MatAYPX() fails* Fix MATMPIBAIJ -> MATMPISBAIJ in matrix type list* Use MatGetType() in favor of `((PetscObjec
SNES: Fixes to SNESTestJacobian()* Propagate block sizes to work matrices, otherwise MatAYPX() fails* Fix MATMPIBAIJ -> MATMPISBAIJ in matrix type list* Use MatGetType() in favor of `((PetscObject)A)->type_name`
Fix a bunch of PetscValidPointer() -> PetscValidXXXPointer()
Merge branch 'barry/9-7/2019/SNES_CONVERGED_TR_DELTA-Error' [PR #1857]* barry/9-7/2019/SNES_CONVERGED_TR_DELTA-Error:Make SNES_CONVERGED_TR_DELTA negative to indicate the SNES did not converge.
Merged in barry/newtontr-post-check (pull request #1828)Add SNESNewtonTRSetPostCheck() that sets a function that is called immediately before the next function SNES function evaluation. This al
Merged in barry/newtontr-post-check (pull request #1828)Add SNESNewtonTRSetPostCheck() that sets a function that is called immediately before the next function SNES function evaluation. This allows one to potentially change the updated solution or log properties of the update for a later convergence te
Merge branch 'gropp/doc-fixes-1' [PR #1838]
Fix typo in name of snesnewtontrsetpostcheck in Fortran interfaceCommit-type: bug-fix, portability-fixReported-by: nightly tests
Fix Emacs type that changed #elif to #ElifCommit-type: bug-fixReported-by: nightly tests
snesnewtontrsetpostcheck should get its own PGF pointer, distinct from the SNESSetFunction()Commit-type: bug-fix, portability-fixReported-by: nightly tests
Didn't handle PGI fortran compiler extra argument correctly for Fortran stubCommit-type: bug-fix, portability-fixReported-by: nightly tests
Add SNESNewtonTRSetPostCheck() that sets a function that is called immediately before the next function SNES function evaluation. This allows one to potentially change the updated solution or
Add SNESNewtonTRSetPostCheck() that sets a function that is called immediately before the next function SNES function evaluation. This allows one to potentially change the updated solution or log properties of the update for a later convergence test Commit-type: feature Reported-by: Glenn E. Hammond <gehammo@sandia.gov> Reported-by: Heeho Park <heepark@sandia.gov>
Make SNES_CONVERGED_TR_DELTA negative to indicate the SNES did not converge.I cannot explain why previously this was handled as converged since the trust region going tozero doesn't seem to corres
Make SNES_CONVERGED_TR_DELTA negative to indicate the SNES did not converge.I cannot explain why previously this was handled as converged since the trust region going tozero doesn't seem to correspond with convergence of the nonlinear solverCommit-type: bug-fixReported-by: Heeho Park <heepark@sandia.gov>
No more batch submission script; this is all due to a very smart idea of Lisandro Dalcin*) removed or fixed all remaining --know-xx options that required a batch submission script*) removed all de
No more batch submission script; this is all due to a very smart idea of Lisandro Dalcin*) removed or fixed all remaining --know-xx options that required a batch submission script*) removed all details of --known-size-- that are no longer needed*) cleaned up BAIJMKL source code, made it work with the rest of PETSc and removed is dependence on a batch submission script, added test case for BAIJMKL*) update the installation guide on batsch submissions and OpenMP*) print MKL version, print OpenMP usage with mkl_sparse optionsCommit-type: bug-fix, portability-fix, style-fix, feature, documentation, exampleThanks-to: Lisandro Dalcin <dalcinl@gmail.com>$ ./configure --with-batch=============================================================================== Configuring PETSc to compile on your system============================================================================================================================================================== ***** WARNING: Cannot determine if MPI_INT64_T works on your system in batch-mode! Assuming it does work. Run with --known-mpi-int64_t=0 if you know it does not work (very unlikely). Run with --known-mpi-int64_t=1 to remove this warning message. warning message ***** =============================================================================== =============================================================================== ***** WARNING: Cannot determine if MPI_C_DOUBLE_COMPLEX works on your system in batch-mode! Assuming it does work. Run with --known-mpi-c-double-complex=0 if you know it does not work (very unlikely). Run with --known-mpi-c-double-complex=1 to remove this warning message. warning message ***** =============================================================================== =============================================================================== ***** WARNING: Cannot verify that MPI is a shared library - in batch-mode! If MPI is a static library but linked into multiple shared libraries that the application uses, sometimes compiles work - but one might get run-time errors. If you know that the MPI library is shared - run with --known-mpi-shared-libraries=1 option to remove this warning message ***** =============================================================================== =============================================================================== ***** WARNING: Cannot determine if BLAS/LAPACK uses 32 bit or 64 bit integers in batch-mode! Assuming 32 bit integers. Run with --known-64-bit-blas-indices if you know they are 64 bit. Run with --known-64-bit-blas-indices=0 to remove this warning message. warning message ***** ===============================================================================
Merge from doc-fixes branch
Fixes for doctext update
Non-numeric optimizations focused on AIJ, MatFDColoring, and DMCreateMatrix_DA_*AIJ, looking to improve performance in GPU environments1) PetscCalloc*() now uses system calloc()2) Merged some Pets
Non-numeric optimizations focused on AIJ, MatFDColoring, and DMCreateMatrix_DA_*AIJ, looking to improve performance in GPU environments1) PetscCalloc*() now uses system calloc()2) Merged some PetscMalloc*()3) Eliminated unneeded PetscCalloc*()4) Removed some memory allocations and copies in MatFDColoringSetUp(), added local variables for better compiler optimization5) Added MatSetValues_SeqAIJ_SortedFull(), added MatSetOption(MAT_SORTED_FULL)6) Optimized DMCreateMatrix_DA_*AIJ for nonperiodic case to automatically have sorted columns (faster MatSetValues() times)7) Eliminated call to PetscMemzero() in PetscFree()Commit-type: style-fix, feature
Remove dead Matlab code, fix typo, fix caste needed for const freeCommit-type: portability-fixReported-by: Satish Balay <balay@mcs.anl.gov>
Add PetscArraycmp(), PetscArraycpy(), PetscArrayzero(), PetscArraymove(), update code to use new formsReplace a couple multi-mallocs with a single mallocReplace backwards loops in MatSetValues_*()
Add PetscArraycmp(), PetscArraycpy(), PetscArrayzero(), PetscArraymove(), update code to use new formsReplace a couple multi-mallocs with a single mallocReplace backwards loops in MatSetValues_*() with PetscArraymove()Commit-type: style-fix, feature
Merged in barry/update-collective-on (pull request #1744)Update the use of Collective on in the manual pages to reflect the new style
Merged in knepley/feature-dualspace-bdm (pull request #1699)Knepley/feature dualspace bdm
Update the use of Collective on in the manual pages to reflect the new styleCommit-type: style-fix, documentationThanks-to: Patrick Sanan <patrick.sanan@gmail.com>
1...<<11121314151617181920>>...74