| #
c4762a1b
|
| 18-Mar-2020 |
Jed Brown <jed@jedbrown.org> |
Promote examples/{tests,tutorials}/ to {tests,tutorials}/
This shortens paths and improves consistency between test target names and paths to the source and output files. Most of the work was compl
Promote examples/{tests,tutorials}/ to {tests,tutorials}/
This shortens paths and improves consistency between test target names and paths to the source and output files. Most of the work was completed by this script, followed by mild cleanup of nonconforming cases.
for makefile in `git ls-files 'src/*makefile'`; do if rg -q 'DIRS.*\bexamples\b' $makefile; then base=$(dirname $makefile) dirs=$(cd $base/examples && ls -d tests tutorials 2>/dev/null | xargs echo) perl -pi -e "s#^(DIRS.*)\bexamples\b#\1${dirs}#" $makefile git rm $base/examples/makefile for t in $dirs; do git mv $base/examples/$t $base/ perl -pi -e "s#^(LOCDIR[[:space:]]*=).*#\1 $base/$t/#" $base/$t done fi done
git grep -l -E -z 'examples/(tutorials|tests)' | xargs -0 perl -pi -e 's#examples/(tutorials|tests)#\1#g' git checkout @ \ src/docs/website/documentation/changes/ \ src/benchmarks/results/
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 ...
|
| #
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 ...
|
| #
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 ...
|
| #
9044fa66
|
| 14-Apr-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/fix-plex-residual-loop Warning: This merge includes real changes
* master: (188 commits) Add JuMP citation Copyedits and updates to developers manual Add mor
Merge branch 'master' into knepley/fix-plex-residual-loop Warning: This merge includes real changes
* master: (188 commits) 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 SNES ex62: Set name of solution vector - Update test output revert sources to dev - reset PETSC_VERSION_RELEASE - reset changes/dev.html release: set v3.9 strings move output file to the correct location. i.e fix 305862f9cd0dc399542ae11dd744508e4b6ad2e3 ...
Conflicts: src/snes/utils/dmplexsnes.c src/ts/utils/dmplexts.c
show more ...
|
| #
534d39fe
|
| 13-Apr-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge remote-tracking branch 'origin/tisaac/feature-dmfield'
* origin/tisaac/feature-dmfield: (56 commits) Plex: Updated test output for DMLabel change DMLabel: make empty ISs strides DMSwarm:
Merge remote-tracking branch 'origin/tisaac/feature-dmfield'
* origin/tisaac/feature-dmfield: (56 commits) Plex: Updated test output for DMLabel change DMLabel: make empty ISs strides DMSwarm: silence static analyzer warning 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 DMField: default initialization of variable PetscFE: fix integration for openCL PetscFEGeomComplete(): correct normal vector in 2D. DMField: c++/complex fixes DMField: empty processor protections DMField regression test fixes DMLabel: try to keep stride IS as stride IS as much as possible DMPlexRefine(): create depth before hybrid-bounded label DMField: documentation of interface DMField: implement shell DMPlex: rename newly created label ...
Conflicts: src/dm/dt/interface/dtfe.c src/snes/examples/tutorials/ex69.c src/snes/utils/dmplexsnes.c
show more ...
|
| #
3da551e6
|
| 14-Feb-2018 |
Toby Isaac <tisaac@cc.gatech.edu> |
DMField: interface
|
| #
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.
|
| #
af25d912
|
| 06-Mar-2016 |
Stefano Zampini <stefano.zampini@gmail.com> |
Merge branch 'master' into stefano_zampini/feature-pcbddc-saddlepoint
Conflicts: src/ksp/pc/impls/bddc/bddc.c src/ksp/pc/impls/bddc/bddcgraph.c src/ksp/pc/impls/bddc/bddcprivate.c src/ksp/pc/imp
Merge branch 'master' into stefano_zampini/feature-pcbddc-saddlepoint
Conflicts: src/ksp/pc/impls/bddc/bddc.c src/ksp/pc/impls/bddc/bddcgraph.c src/ksp/pc/impls/bddc/bddcprivate.c src/ksp/pc/impls/bddc/bddcscalingbasic.c src/ksp/pc/impls/bddc/bddcschurs.c src/mat/impls/is/matis.c
show more ...
|
| #
f37e7628
|
| 21-Feb-2016 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'master' into barry/add-pcfieldsplit-logevent
|
| #
f44c6289
|
| 28-Jan-2016 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'master' into barry/add-pcreset-hypre-for-master
Needed to move PCDestroy_HYPRE() added to master to PCReset_HYPRE() since that was introduced as a bug fix for maint
|
| #
d2a29c01
|
| 14-Jan-2016 |
Matthew G. Knepley <knepley@gmail.com> |
Merge remote-tracking branch 'origin/tisaac/dm-label-promote'
* origin/tisaac/dm-label-promote: snes tutorial ex69: give mesh a name for regression purposes DM: make DMLabel labels a part of all
Merge remote-tracking branch 'origin/tisaac/dm-label-promote'
* origin/tisaac/dm-label-promote: snes tutorial ex69: give mesh a name for regression purposes DM: make DMLabel labels a part of all DMs builder: update regression tests builder: update some missing package requirements DM: set coordinate vector name ts tutorials ex11_sa: make it compile
Conflicts: src/dm/impls/plex/plexcreate.c
show more ...
|
| #
2a61db43
|
| 08-Nov-2015 |
Toby Isaac <tisaac@uchicago.edu> |
Merge branch 'tisaac/dm-label-promote' into tisaac/dmforest
* tisaac/dm-label-promote: (319 commits) snes tutorial ex69: give mesh a name for regression purposes DM: make DMLabel labels a part o
Merge branch 'tisaac/dm-label-promote' into tisaac/dmforest
* tisaac/dm-label-promote: (319 commits) snes tutorial ex69: give mesh a name for regression purposes DM: make DMLabel labels a part of all DMs builder: update regression tests builder: update some missing package requirements DM: set coordinate vector name ts tutorials ex11_sa: make it compile mark variable as unused so compiler doesn't warn about unused value configure: use 'git cat-file -e' to check for existance of a commit in localrepo. ['git rev-parse' does not give error for a hash thats not in repo] petsc4py: revert to manually syncing petsc4py with petsc master changes configure: revert gitcommit default value to Null. If a pacakge using giturl does not change this value - raise an error fix: revert change in a44bcdf that breaks with pgf90 update test output for fixed to hypre interface that now actually pass the interp vectors to BoomerAMG Error message should say use negative threshold value to prevent filtering out zeros Calls to HYPRE_BoomerAMGSetInterpVectors() did not actually copy the vector data pointer from the PETSc vector to the hypre vector thus resulting in the hypre interp vectors being identically zero and hence not affecting the quality of the AMG hierarchy produced/ DMPlex: Silence overzealous compiler warnings add row/col orientation to MatConvert_Elemental_Dense fix formatting error in previous commit [broke nightlybuilds] fix formating of TSTHETA manual page and add missing command line option run hwloc with MPIEXEC and binding so it runs on the correct machine fix: memory leaks [in valgrind test] ...
show more ...
|
| #
c58f1c22
|
| 06-Nov-2015 |
Toby Isaac <tisaac@uchicago.edu> |
DM: make DMLabel labels a part of all DMs
Most DMLabel routines do not depend on the internals of DMPlex, and I want to reuse them in other DM types
DM: puth depthLabel in DM
I know that this is s
DM: make DMLabel labels a part of all DMs
Most DMLabel routines do not depend on the internals of DMPlex, and I want to reuse them in other DM types
DM: puth depthLabel in DM
I know that this is something that's only used by plex, but I'm not sure how else to do this.
DM: move MarkBoundaryFaces back to plex
DM: add reference counting to label linked list for cloning purposes
show more ...
|
| #
c7878088
|
| 03-Nov-2015 |
Stefano Zampini <stefano.zampini@gmail.com> |
Merge branch 'stefano_zampini/feature-pardiso-schur' of https://bitbucket.org/petsc/petsc into stefano_zampini/feature-pardiso-schur
|
| #
bbd98b0d
|
| 26-Oct-2015 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'master' into shri/add-tsevent-to-powergrid-examples
|
| #
a6bd58b0
|
| 26-Oct-2015 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'master' into stefano_zampini/feature-pardiso-schur
Branch got out of sync with master
|
| #
8fabff3b
|
| 24-Oct-2015 |
Fande Kong <fdkong.jd@gmail.com> |
We always start with petsc/master. Trying to fix a bug (submatrix reuse) reported by Dmitry. Merge remote-tracking branch 'petsc/master' into fix-pcgasm-reuse
|
| #
1ceb14c0
|
| 23-Oct-2015 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'master' into pr263/PierreBdR/ts-domain-error-in-stage/master
|
| #
1c169164
|
| 23-Oct-2015 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'master' into barry/improve-git-download
|
| #
cf3c7ed1
|
| 15-Oct-2015 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'maint'
|
| #
a21ee325
|
| 14-Oct-2015 |
Satish Balay <balay@mcs.anl.gov> |
doc: list all include files in makefiles for 'manualpages:' target This fixes the missing manpage for PCType
Reported-By: Vincent Huber <vincent.huber@cemosis.fr>
|
| #
3aa2d9e3
|
| 15-Aug-2015 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'barry/fix-nonew-notcollective/maint' into jed/mat-assembly-perf
Jed this fucking 6+ month running thing in next that is not in master is a royal fucking pain in the ass and an abuse of
Merge branch 'barry/fix-nonew-notcollective/maint' into jed/mat-assembly-perf
Jed this fucking 6+ month running thing in next that is not in master is a royal fucking pain in the ass and an abuse of git. I think it is not justified to ever have anything in next for more than a few weeks at most. Either take it out of next if it is broken or put it in master if it is not broken. Hanging around in next but not master for ever is not a good policy.
show more ...
|