| #
813ae6e9
|
| 13-Sep-2018 |
Jed Brown <jed@jedbrown.org> |
config: enable Python-3
We require at least Python-2.6, but preliminary tests with Python-3.6 and 3.7 are successful. There may be a few quirks to work out, but I believe it is ready for broader te
config: enable Python-3
We require at least Python-2.6, but preliminary tests with Python-3.6 and 3.7 are successful. There may be a few quirks to work out, but I believe it is ready for broader testing.
show more ...
|
| #
50f8d48f
|
| 19-Sep-2018 |
Jed Brown <jed@jedbrown.org> |
config executeShellCommand: support chained commands and non-shell
The present approach of concatenating strings is problematic if paths contain spaces or special characters. We should always use l
config executeShellCommand: support chained commands and non-shell
The present approach of concatenating strings is problematic if paths contain spaces or special characters. We should always use lists instead of strings, but I don't have the patience to convert all call sites right now. I have converted a representative sample, however, to demonstrate that the approach works. This involved a new function Script.executeShellCommandSeq() that takes a sequence/list of commands to be run.
A legacy pattern in BuildSystem has been to use chained sequences of the form
cd to/dir && run command
instead of using the cwd keyword argument. This commit fixes many such instances to use the cwd argument.
show more ...
|
| #
6fd8bb9b
|
| 14-Sep-2018 |
Jed Brown <jed@jedbrown.org> |
config: abandon popen2 in favor of subprocess (python2 and python3)
|
| #
492432c8
|
| 13-Sep-2018 |
Jed Brown <jed@jedbrown.org> |
config: use pickle instead of cPickle for Python-3 compatibility
The performance benefits of cPickle are not significant for our usage, so not worth selecting dynamically. (Note that pickle in Pyth
config: use pickle instead of cPickle for Python-3 compatibility
The performance benefits of cPickle are not significant for our usage, so not worth selecting dynamically. (Note that pickle in Python-3 is fast.)
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 ...
|
| #
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 ...
|
| #
c989281d
|
| 30-Jun-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/fix-plex-project-tests
* master: (477 commits) Added correct report number for PETSc Developers Guide Update PETSc Developers Guide title and final pages to ne
Merge branch 'master' into knepley/fix-plex-project-tests
* master: (477 commits) Added correct report number for PETSc Developers Guide Update PETSc Developers Guide title and final pages to new ANL style Hash: Quick documentation fix PetscBinaryViewerRead -> PetscViewerBinaryRead cast in GAMG_HASH so that it works for PetscInt32 near PETSC_INT_MAX without overflow to negative numbers Add link for DrMemory which may serve as an alternative to valgrind on Windows Finish Gail's copyedits for developers manual. openmpi: fix namespace conflict [with static build on ppc64le] two pages of Gail's edits to developers guide Another chapter of Gail's copyedits for the developers guide Gail's copyedits on two more chapters of the developers guide Fix more %d to %D in GAMG code. Fix code style in GAMG code DMPlexVTK: vertices is int! need to use %d instead of %D TS ex18: update outputs (reported by nightly tests) Use %D in error messages for GAMG hash; fix style issues with GAMG hash config: Update petsc4py git commit Fix bad plain extern declaration. Add Gail's copyedits for the initial portion of the developers guide Add missing common block to subroutine fix mpiuni tests with xl compilers ...
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 ...
|
| #
0f8c6052
|
| 31-May-2018 |
Albert Cowie <arcowie@buffalo.edu> |
Merge branch 'knepley/feature-error-logging' of bitbucket.org:petsc/petsc into knepley/feature-error-logging
|
| #
0f981e3b
|
| 31-May-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-error-logging
* master: (324 commits) DT: Reverting the tgamma change broke MPFR - I guess we need a nightly build with it in Revert "tgamma: icc on wi
Merge branch 'master' into knepley/feature-error-logging
* master: (324 commits) DT: Reverting the tgamma change broke MPFR - I guess we need a nightly build with it in Revert "tgamma: icc on windows requires mathimf.h for tgamma." setup routine no longer calls PetscCalloc5 if the arrays have already been allocated in a previous setup call clarify SNESGetFunction() Move MOAB docs to submansec so as not to clutter DM mansec doc: remove matlab from doc generation dependency - i.e remove 'alldoc3' and use 'html' to generate corresponding '*.m.html' files. Remove matlab pounders related cruft that is not required. Document the matlab code better and include an appropriate message in the help text. Fixed typo. Remove the inclusion of matlab in testing. Finalizing comments and the work for the test problems. Finished the testing and generation of plots. Some simple bug fixes addressed. Set -Wl,-rpath for Mac OS Matlab mkl directory; don't pass -nojvm to matlab since it causes crashes on Barry's machine and is not needed Added list of known problems with the code. Added a comment on ignoring the return from Tao. Finish with initial implementation of matlab interface to test TAO pounders. Working through the matlab interface for pounders testing. Fix typo in manual Reported-by: Jaroslaw Piwonski (CAU) <jpi@informatik.uni-kiel.de> Fixed mkl_sparse_sypr() calls that were using an unsupported value in the matrix descriptor. test harness: simplify code that checks for sequential-only tests Fix the doc for call-backs drdyf drdpf ...
show more ...
|
| #
46bd19af
|
| 20-Apr-2018 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/balay/fix-confusing-configure-dir-options'
|
| #
0aa1f76d
|
| 18-Apr-2018 |
Satish Balay <balay@mcs.anl.gov> |
configure: fix confusing configure dir options
--with-packages-dir -> --with-packages-download-dir --with-external-packages-dir -> --with-packages-build-dir --package-dirs ->
configure: fix confusing configure dir options
--with-packages-dir -> --with-packages-download-dir --with-external-packages-dir -> --with-packages-build-dir --package-dirs -> --with-packages-search-path --search-dirs -> --with-executables-search-path
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 ...
|
| #
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 ...
|
| #
bccf594b
|
| 04-Apr-2018 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/jed/futurize-stage-1'
|
| #
5b6bfdb9
|
| 02-Apr-2018 |
Jed Brown <jed@jedbrown.org> |
python: futurize stage 1 (modernize python-2 code)
This should have no behavioral change. It was generated by running
futurize -1 -nw config lib setup.py src systems
followed by reverting some
python: futurize stage 1 (modernize python-2 code)
This should have no behavioral change. It was generated by running
futurize -1 -nw config lib setup.py src systems
followed by reverting some "from . import" relative imports (PEP 328 without 366) and fixing up RDict.py __contains__ to not cause recursion.
show more ...
|
| #
d381fd10
|
| 09-Feb-2018 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'maint'
|
| #
710a1ea3
|
| 09-Feb-2018 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'balay/fix-missing-rdict/maint' into maint
|
| #
6ffe0648
|
| 07-Feb-2018 |
Satish Balay <balay@mcs.anl.gov> |
configure: fix 'No cached configure in RDict' error with --with-packages-dir
Reported-by: Michael Leguèbe <michael.leguebe@inria.fr>
|
| #
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 ...
|
| #
10c1f87b
|
| 27-Oct-2016 |
Toby Isaac <tisaac@uchicago.edu> |
Merge branch 'master' into tisaac/dmplex-feature-real-to-ref
I need updated PetscFE interfaces in what I'm going to do
* master: (603 commits) parmetis: fix typo in testsuite Added PETSC_HAVE_A
Merge branch 'master' into tisaac/dmplex-feature-real-to-ref
I need updated PetscFE interfaces in what I'm going to do
* master: (603 commits) parmetis: fix typo in testsuite Added PETSC_HAVE_ATTRIBUTEALIGNED flag to makefile PCSetUp_SVD() used incorrect matrix for matrix size in parallel, also need to skip LAPACK call if matrix size is zero strumpack: update to latest version 1.0.4 Remove valgrind warning about MPI_Allreduce() with uninitialized data sed for test output that has atol convergence with quad precision updated ex1_nest tests fixed incorrect key value fix: bad merge a69d34a test: move runex78 to TESTEXAMPLES_C_NOTSINGLE build: fix warnings sys: update test to produce same result - irrespective of debug/opt build - and presence of ~/.petscrc sys: src/sys/examples/tests/ex30.c -> src/sys/examples/tests/ex32.c to avoid conflict in master Sed output, since quad precision reduces below atol on these tests remove automatically generated matrix names from test output files since can be different Fixes for MatMPIXXXSetPreallocation(), they were not reentrant, since they kept the information used for matrix-vector products GAMG: fix PCView_GAMG() format - and update output/ex56_0.out superlu_dist: 64-bit-indices fix https://github.com/xiaoyeli/superlu_dist/issues/4 Add SNESSetDivergenceTolerance / -snes_divergence_tolerance. fixed unit read in Plex ...
show more ...
|
| #
e923053f
|
| 15-Oct-2016 |
stefano_zampini <stefano.zampini@gmail.com> |
Merge branch 'stefano_zampini/feature-convert-matnest-matis' into stefano_zampini/feature-pcbddc-saddlepoint
I have to merge it here, since there's an API addition for MatIS in stefano_zampini/featu
Merge branch 'stefano_zampini/feature-convert-matnest-matis' into stefano_zampini/feature-pcbddc-saddlepoint
I have to merge it here, since there's an API addition for MatIS in stefano_zampini/feature-pcbddc-saddlepoint that prevents me to smoothly merge stefano_zampini/feature-convert-matnest-matis into next.
This will also facilitate merging stefano_zampini/feature-pcbddc-saddlepoint into master
Conflicts: src/docs/website/documentation/changes/dev.html
show more ...
|