| #
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 ...
|
| #
2cf2a403
|
| 11-Jun-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-pc-patch
* master: (562 commits) fix clang-analyzer warning Developers manual never use system randomizers in PETSc and example source code. missing
Merge branch 'master' into knepley/feature-pc-patch
* master: (562 commits) fix clang-analyzer warning Developers manual never use system randomizers in PETSc and example source code. missing CHKERRQ() DT: Reverting the tgamma change broke MPFR - I guess we need a nightly build with it in Add a test for ex21 Fix error in ex21 Add missing fortran interface that handles null objects DMComposite: add missing guards MatPreallocate: fix overpreallocation of local rows style fixes MatView_MPI_DA: do not print twice the class prefix MatSetOperation: stash the original MatView_XXX in the viewnative function pointer DMCreateInterpolation_DA gracefully error instead of catching FPE signals MatIncreaseOverlap: preserve communicator of index sets MatMPIAIJ: fix indentation and missing CHKERRQ ISBuildTwoSided: remove tabs and fix style Fix documentation PetscViewerDraw: fix unininitialized warning from valgrind MatConvert_SeqAIJ_SeqBAIJ: remove error for non square matrices and add MAT_REUSE_MATRIX case Mat: MAT_INPLACE_MATRIX can be used for transposition with rectangular matrices ...
Conflicts: src/dm/dt/interface/dtfe.c src/dm/impls/plex/plex.c src/dm/impls/plex/plexfem.c src/snes/examples/tutorials/ex13.c src/snes/examples/tutorials/ex62.c src/snes/examples/tutorials/makefile src/snes/examples/tutorials/output/ex62_18.out src/snes/examples/tutorials/output/ex62_19.out src/snes/examples/tutorials/output/ex62_20.out src/snes/examples/tutorials/output/ex62_20_parmetis.out src/snes/examples/tutorials/output/ex62_21.out src/snes/examples/tutorials/output/ex62_22.out src/snes/examples/tutorials/output/ex62_23.out src/snes/examples/tutorials/output/ex62_24.out src/snes/examples/tutorials/output/ex62_25.out src/snes/examples/tutorials/output/ex62_26.out src/snes/examples/tutorials/output/ex62_27.out src/snes/examples/tutorials/output/ex62_28.out src/snes/examples/tutorials/output/ex62_29.out src/snes/examples/tutorials/output/ex62_2d_p3_1.out src/snes/examples/tutorials/output/ex62_30.out src/snes/examples/tutorials/output/ex62_31.out src/snes/examples/tutorials/output/ex62_32.out src/snes/examples/tutorials/output/ex62_33.out src/snes/examples/tutorials/output/ex62_34.out src/snes/examples/tutorials/output/ex62_35.out src/snes/examples/tutorials/output/ex62_36.out src/snes/examples/tutorials/output/ex62_pc_simple.out src/snes/examples/tutorials/output/ex62_pc_simplec.out src/snes/examples/tutorials/output/ex62_quad_q2p1_full.out src/snes/examples/tutorials/output/ex62_quad_q2q1_full.out src/snes/utils/dmplexsnes.c
show more ...
|
| #
d1b71f57
|
| 19-Apr-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-error-logging
* master: (221 commits) dashboard: count and list example compile failures like: fix fix-pr879-jczhang-optimize-vecscatter-multi-copy a
Merge branch 'master' into knepley/feature-error-logging
* master: (221 commits) dashboard: count and list example compile failures like: fix fix-pr879-jczhang-optimize-vecscatter-multi-copy add manual page cross links for SNESLineSearchSetPostCheck() and related routines fix help manual of MatCreateSubmatrices() Reported-by: Tim Steinhoff <kandanovian@gmail.com> Add manual pages for PetscRealPart() and PetscImaginaryPart() fix compile error with missing MPI_C_DOBULE_COMPLEX fix typo Reported-by: Febrian Setianto <febrian.setianto@gmail.com> plex tutorial ex5: updated test requirements DMPlexLoad_HDF5_Xdmf_Internal: fix for complex PetscScalar. DMPlexLoad_HDF5_Xdmf_Internal: fix for 64-bit PetscInt. DMPlexBuildFromCellList_Internal: use DMPlexInvertCell_Internal (with PetscInt* arg) petscviewer.h: removed notice which is no longer relevant DMPlexCreateFromFile: document option check only if PETSC_USE_DEBUG DMPlexBuildFromCellList_Internal optionally inverts cells. ex5: new test 4 with -compare without repartitioning ex5: new test 3 using -compare ex5: HDF5 write+read moved to separate function ex5: option -format processed in ProcessOptions() ex5: added missing hdf5 requirement ...
Conflicts: include/petsclog.h
show more ...
|
| #
850224f6
|
| 19-Apr-2018 |
Karl Rupp <me@karlrupp.net> |
Merge branch 'psanan/manpages-notes-newlines' [PR #932]
* psanan/manpages-notes-newlines: A large number of man pages are improperly formatted because of the lack of a newline after "Notes:", "Fortr
Merge branch 'psanan/manpages-notes-newlines' [PR #932]
* psanan/manpages-notes-newlines: A large number of man pages are improperly formatted because of the lack of a newline after "Notes:", "Fortran Notes:", or "Developer Notes:". This batch adds those newlines, with 4 spaces of indentation afterwards. The uniform indentation arguably makes the man pages a little less readable in the source itself, but overall this hopefully has a large positive impact on the readability of the HTML pages.
show more ...
|
| #
95452b02
|
| 16-Apr-2018 |
Patrick Sanan <patrick.sanan@gmail.com> |
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/
show more ...
|
| #
2f07c833
|
| 14-Apr-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-snes-ex13-spectral
* master: (2350 commits) migrate warning fix from next-tmp Revert "Remove dead code." clarifying comment in the code Remove dead
Merge branch 'master' into knepley/feature-snes-ex13-spectral
* master: (2350 commits) migrate warning fix from next-tmp Revert "Remove dead code." clarifying comment in the code Remove dead code. Add JuMP citation Copyedits and updates to developers manual Add more protection to intrinsics MPI: protect arguments in MPI macros Add the missing conditionals for 64-bit build Plex+VTK: Fix field type determination Fix bug in name cleanup Bib: Added ref Plex+VTK: Fix field type determination Plex: Updated test output - I am now hating this shit forgot to save file after moving prototypes to petscsys.h update Apple example project settings per Xcode Two functions should actually be public, used, for example from Apple MacOS and iOS programs includes should always be included relative to include directory Apple removed old locations of docsets SNES ex12: Updated test output ...
Conflicts: src/snes/examples/tutorials/ex13.c
show more ...
|
| #
e4bc0d72
|
| 08-Apr-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-pc-patch
* master: (440 commits) revert sources to dev - reset PETSC_VERSION_RELEASE - reset changes/dev.html release: set v3.9 strings fix grep us
Merge branch 'master' into knepley/feature-pc-patch
* master: (440 commits) revert sources to dev - reset PETSC_VERSION_RELEASE - reset changes/dev.html release: set v3.9 strings fix grep usage on solaris [use egrep] opensolaris: fix errors Update timer reporting and minor reporting fix Remove redundant if statement. Found by @jedbrown Fixed problem with order of developer photos on website. superlu_dist: use correct flag in example [PETSC_HAVE_SUPERLU -> PETSC_HAVE_SUPERLU_DIST] Bib: PERMON ref fix for osx doc: more author fixes doc: more author fixes Italicized "orderings" in MPI process placement discussion. Added Richard to the user manual author list. Added Richard to the list of active developers on the website. add string check for MS-MPI and IMPI timeout errors opensolaris does not have multiple grep utils - but default one does not support -F. So use fgrep instead Standardizing timeout checks Report wall clock time of total tests Use time instead of date %s ...
Conflicts: include/petscpc.h src/ksp/ksp/interface/itfunc.c
show more ...
|
| #
d13c9127
|
| 29-Mar-2018 |
Karl Rupp <me@karlrupp.net> |
Merge branch 'karlrupp/feature-remove-cusp'
* karlrupp/feature-remove-cusp: Removes VECCUSP vectors and AIJCUSP matrices, because they provide no added benefit over VECCUDA and AIJCUSPARSE. Also rem
Merge branch 'karlrupp/feature-remove-cusp'
* karlrupp/feature-remove-cusp: Removes VECCUSP vectors and AIJCUSP matrices, because they provide no added benefit over VECCUDA and AIJCUSPARSE. Also removes the CUSP-based preconditioners for now. SACUSP will be re-added later, after the new release is out.
show more ...
|
| #
b8ced49e
|
| 28-Mar-2018 |
Karl Rupp <me@karlrupp.net> |
GPUs: Allow ViennaCL and VECCUDA to be used concurrently.
This also gets rid of the weird veccuda.py.
|
| #
e9e886b6
|
| 27-Mar-2018 |
Karl Rupp <me@karlrupp.net> |
CUSP: Removed VECCUSP and AIJCUSP as well as preconditioners.
SA-AMG from CUSP will be re-added in a follow-up commit, made to work with AIJCUSPARSE and VECCUDA.
|
| #
6294108e
|
| 19-Mar-2018 |
Toby Isaac <tisaac@cc.gatech.edu> |
Merge remote-tracking branch 'origin/knepley/fix-snes-ex69' into tisaac/feature-dmfield
* origin/knepley/fix-snes-ex69: (311 commits) PetscFECreateDefault: fix custom Fortran interface to use MPI_
Merge remote-tracking branch 'origin/knepley/fix-snes-ex69' into tisaac/feature-dmfield
* origin/knepley/fix-snes-ex69: (311 commits) PetscFECreateDefault: fix custom Fortran interface to use MPI_Comm SNES ex69: Updated test output SNES ex69: Removed all mantle stuff and change fields to constants - Also use dsymutil for executables SNES ex69: Removed special partition SNES ex69: Fixed null space creation - Null space locks its vectors PetscFE: PetscFECreateDefault() now takes MPI_Comm instead of DM cleanup very ugly PCGAMG manual page minor clarifications for VecScatterCreate() manual page gcov: PETSC_ARCH is required onlyfor -run_gcov - and not for -merge_gcov [where it doesn't exist] make clearer in help statements what --with-external-packages-dir is for. Website: Added news entry for PETSc User Meeting 2018 on main page. CUDA: Further test output fixes for mat_tests-ex2 Turn off elemental test for parmetis running since this does not work on batch systems. 3.8 Changes: KSPCHEBYSHEV CUDA: Fixed most test errors due to MatMultTranspose* website: update urls website: fix Jason's name to match pic. Also add Todd's pic Dev manual: copyedit DMPlexDistributeLabels: Propagate the output flag cuda/cusp: update minimum supported versions of cuda to 7.5 and cusp to 0.5.0 ...
show more ...
|
| #
0cc1a307
|
| 19-Feb-2018 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'barry/refactor-matshell'
|
| #
0c0fd78e
|
| 11-Feb-2018 |
Barry Smith <bsmith@mcs.anl.gov> |
Begin refactorization of MatShell to make the code more straightforward and extensible
Introduce MatSetOperation() for changing operations on non-MATSHELLs Introduce two modes for MATSHELL 1) MAT
Begin refactorization of MatShell to make the code more straightforward and extensible
Introduce MatSetOperation() for changing operations on non-MATSHELLs Introduce two modes for MATSHELL 1) MATSHELL manages scalings and shifts automatically 2) Creator of MATSHELL can provide their own code for managing scaling and shifts This is used by MatCreateADA() and MatCreateSubMatrixFree()
The extensibility is so that a MatShell can be easily used in as many places as possible as other matrices, for example,
/* A = diag(u) G */ ierr = MatCopy(appctx->SEMop.grad,A,SAME_NONZERO_PATTERN);CHKERRQ(ierr); ierr = MatDiagonalScale(A,globalin,NULL);CHKERRQ(ierr); /* A = A + diag(Gu) */ ierr = VecDuplicate(globalin,&Gglobalin);CHKERRQ(ierr); ierr = MatMult(appctx->SEMop.grad,globalin,Gglobalin);CHKERRQ(ierr); ierr = MatDiagonalSet(A,Gglobalin,ADD_VALUES);CHKERRQ(ierr); ierr = VecDestroy(&Gglobalin);CHKERRQ(ierr); /* A = K - A */ ierr = MatScale(A,-1.0);CHKERRQ(ierr); ierr = MatAXPY(A,1.0,appctx->SEMop.keptstiff,SAME_NONZERO_PATTERN);
Commit-type: feature
show more ...
|
| #
de4ef75d
|
| 15-Feb-2018 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'barry/feature-ts-burgers-spectral'
|
| #
f3b1f45c
|
| 13-Feb-2018 |
Barry Smith <bsmith@mcs.anl.gov> |
Add code for automatically checking if shell matrix vector and transpose matrix vector products work with TS
Added MatShellTestMult(), MatShellTestMultTranspose(), TSRHSJacobianTest(), and TSRHSJaco
Add code for automatically checking if shell matrix vector and transpose matrix vector products work with TS
Added MatShellTestMult(), MatShellTestMultTranspose(), TSRHSJacobianTest(), and TSRHSJacobianTestTranspose()
Commit-type: feature
show more ...
|
| #
6b463d87
|
| 27-Jan-2018 |
Stefano Zampini <stefano.zampini@gmail.com> |
Merged in stefano_zampini/few-bugfixes (pull request #836)
Stefano zampini/few bugfixes
Approved-by: BarryFSmith <bsmith@mcs.anl.gov>
|
| #
f82cbd41
|
| 24-Jan-2018 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'stefano_zampini/few-bugfixes'
|
| #
0ff8bee4
|
| 16-Jan-2018 |
Stefano Zampini <stefano.zampini@gmail.com> |
MatAXPY: prevent from segfaults by checking the type
|
| #
e366c154
|
| 15-Nov-2017 |
Jed Brown <jed@jedbrown.org> |
Merge commit 'd47bf9aaf1e5266cc3f0ff499f934c85788965a9' into jed/fix-matcreatempibaij/maint
Obtain changed (v3.5) handling of MatMPIBAIJSetPreallocationCSR to match documentation.
|
| #
ec14d8c8
|
| 27-May-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-sphere-mesh
* master: (2633 commits) Bib: Added ref SNES ex56: Update test output add a citation to petsc.bib Plex: Initialize variables ini
Merge branch 'master' into knepley/feature-plex-sphere-mesh
* master: (2633 commits) Bib: Added ref SNES ex56: Update test output add a citation to petsc.bib Plex: Initialize variables initialize ap as complained by the nightly tests Plex ex3: Update to new point function API initialize some variables as complained by nightly tests SNES ex12: Mix misnaming Nf --> Nc update tests add tests add MatView_SeqXAIJ_ASCII_structonly(); enable A->structure_only in MatSetValuesBlocked_SeqBAIJ typo fill-in some references Bib: Fixed ref Plex: Added PLY to file support Plex: Adding PLY support PetscDS: Turn off Fortran bindings for Constants Plex tests: Updated to new point function API SNES ex56: Moved tests to new format DM: Allow field projection functions to take an array of scalars - This will allow us to pass in user data to kernels without void *, more efficiency than aux fields ...
Conflicts: config/builder.py include/petscdmplex.h src/dm/impls/plex/examples/tests/ex1.c src/dm/impls/plex/plexcreate.c src/dm/impls/plex/plexgmsh.c src/snes/examples/tutorials/ex63.c
show more ...
|
| #
c90b701e
|
| 14-Mar-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-pragmatic-parallel
* master: (1379 commits) Minor fixes for tchem examples due to changes in PETSc infrastructure update webpage about API changes
Merge branch 'master' into knepley/feature-plex-pragmatic-parallel
* master: (1379 commits) Minor fixes for tchem examples due to changes in PETSc infrastructure update webpage about API changes add help menu for MatCreateSubMatricesMPI() rename struct Mat_SubMat -> Mat_SubSppt add a little information to the manual about using tchem rename MatCreateSubMatrixComposite -> MatCreateSubMatrixVirtual; Mat_SubMatrix -> Mat_SubVirtual need to protect the \ passed on the makefile on my Mac Bib: Updated ref update src/mat/examples/tests/output/ex23_#.out rename MatGetSubMat -> MatCreateSubMat Mark MatCreateMPIAIJWithSplitArrays() and MatMPIAIJSetPreallocationCSR() with MAT_NO_OFF_PROC_ENTRIES superlu: libray is installed in PREFIX/lib64 - fix this to use PREFIX/lib backport fixes cc105cc3 2b35c90a - required for 3bf428d - that was backported from master - 80c96bb 'echo -n' fails on opensolaris/osx - so avoid using it. fix diffs in nightlybuilds due to options in ~/.petscrc add Kelley03 to src/docs/tex/petsc.bib build: determine moudles, mpi.h used during buildtime and print in 'info' fix analyzer warnings fix build failure on opensolaris - where -lm from flibs is removed due to -lm in cxxlibs. But then - only flib gets used for some configure tests [blaslapack, parms] config: prefer __restrict over C99 restrict keyword ...
show more ...
|
| #
9137bce6
|
| 24-Dec-2016 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'barry/remove-funct'
|
| #
fbfcfee5
|
| 19-Dec-2016 |
Barry Smith <bsmith@mcs.anl.gov> |
Remove the use and definition of __FUNCT__ throughout the code
Since all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETSc Time: 1.5 hours Thanks-t
Remove the use and definition of __FUNCT__ throughout the code
Since all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETSc Time: 1.5 hours Thanks-to: Andreas Mang <andreas@ices.utexas.edu>
show more ...
|
| #
162a9882
|
| 11-Aug-2016 |
Patrick Sanan <patrick.sanan@gmail.com> |
Merge branch 'master' into psanan/pc-telescope-nearnullspace
|
| #
c86c4108
|
| 30-Jul-2016 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into mark/snes-ex56
* master: (93 commits) Web: Added a tutorial typo rename X -> U sowing: update to version that creates manpage URLs for 'enum' types/values Increa
Merge branch 'master' into mark/snes-ex56
* master: (93 commits) Web: Added a tutorial typo rename X -> U sowing: update to version that creates manpage URLs for 'enum' types/values Increase patchlevel to 3.7.3 move runex3_3 to NOTSINGLE [ partial backport 9ed0bd76d5c329eb91401ebabfbd851446214e20 ] DMPlex: local coordinate vector should be a sequential vector DM: Name coordinate vectors in subdomain and restrict hooks tests: disable a couple of TS examples from single precision tests reduce TS ex12_2 output fix PetscFormatRealArray() to cast PetscReal in print statement to double so works for __float128 precision Vec: enable Fortran interfaces for VecGetLocalVectorRead and VecRestoreLocalVectorRead Bib: Added refs PCShell: man page fixes update handling of latex in example code to use https fix typo in isltog comment test: Avoid conversion of object <-> function pointer type [-Wpedantic] fortran: enable interface for VecGetLocalVector(), VecRestoreLocalVector() update citation for cmz2016 PCBDDC: silent compilation warnings from nightlybuilds ...
# Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
show more ...
|