| #
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 ...
|
| #
e9b5bf35
|
| 12-May-2018 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'maint'
|
| #
d94488f0
|
| 12-May-2018 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/jed/gfortran8-strlen-type/maint' into maint
|
| #
7eda36fd
|
| 09-May-2018 |
Jed Brown <jed@jedbrown.org> |
Fortran: use old charlen if not defined
This commit exists so that petsc-3.9 'maint' users can build without needing to reconfigure. It can be reverted in 'master' for later releases (it's a no-op
Fortran: use old charlen if not defined
This commit exists so that petsc-3.9 'maint' users can build without needing to reconfigure. It can be reverted in 'master' for later releases (it's a no-op if configure has been run since the parent commit).
show more ...
|
| #
7bdf51c9
|
| 09-May-2018 |
Jed Brown <jed@jedbrown.org> |
Fortran: detect gfortran-8 and use size_t for string lengths
https://gcc.gnu.org/gcc-8/porting_to.html
|
| #
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 ...
|
| #
08317d8b
|
| 24-Jan-2018 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'barry/add-ftn-linfinity-conv-test' of bitbucket.org:petsc/petsc into barry/add-ftn-linfinity-conv-test
|
| #
7c61df8e
|
| 11-Jan-2018 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'jed/update-mpi3-removed-or-deprecated'
|
| #
9a2aa9a4
|
| 11-Jan-2018 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'barry/update-mpi-keyval-create'
|
| #
47435625
|
| 31-Dec-2017 |
Jed Brown <jed@jedbrown.org> |
Update to MPI-2.0 versions of attribute interfaces
Some of these interfaces were removed in MPI-3. This compiles cleanly with Open MPI 3.0 and is clean according to the style checks.
src/contrib
Update to MPI-2.0 versions of attribute interfaces
Some of these interfaces were removed in MPI-3. This compiles cleanly with Open MPI 3.0 and is clean according to the style checks.
src/contrib/style/checks/mpi3-removed-all.sh src/contrib/style/checks/mpi3-deprecated-all.sh
show more ...
|
| #
12801b39
|
| 26-Dec-2017 |
Barry Smith <bsmith@mcs.anl.gov> |
convert MPI_Keyval_create() usage to MPI_Comm_create_keyval() and fix error routines from keyval functons
Commit-type: style-fix
|
| #
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.
|
| #
15754b1b
|
| 26-Sep-2017 |
Lisandro Dalcin <dalcinl@gmail.com> |
Merged in dalcinl/fix-mpiuni (pull request #751)
MPIUNI: Various fixes and enhancements
|
| #
99256852
|
| 14-Sep-2017 |
Lisandro Dalcin <dalcinl@gmail.com> |
MPIUNI: Various fixes and enhancements
* Rework hackery to prevent compiler warnings from unused vars. * Fix MPI_Type_{lg|ub|extent|get_extent}(). * Define MPI_SIGNED_CHAR, MPI_LONG_LONG_INT. * Defi
MPIUNI: Various fixes and enhancements
* Rework hackery to prevent compiler warnings from unused vars. * Fix MPI_Type_{lg|ub|extent|get_extent}(). * Define MPI_SIGNED_CHAR, MPI_LONG_LONG_INT. * Define MPI_DOUBLE_COMPLEX, MPI_C_FLOAT_COMPLEX. * Add a few missing integer constants. * Define all MPI handle types as typedef of int. * Always return MPI_SUCCESS/MPI_FAILURE in C code.
show more ...
|
| #
4e3fc2ae
|
| 25-Aug-2017 |
Jed Brown <jed@jedbrown.org> |
Merge branch 'jed/sf-shared-uni' [PR #736]
* jed/sf-shared-uni: MPIUNI Fortran: fix predefined constants MPIUNI: define MPI_OP_NULL so that example can compile DMPlex tests: update output for
Merge branch 'jed/sf-shared-uni' [PR #736]
* jed/sf-shared-uni: MPIUNI Fortran: fix predefined constants MPIUNI: define MPI_OP_NULL so that example can compile DMPlex tests: update output for SF type being set up before viewing Remove !mpiuni from tests SFBasic: circumvent send-to-self by marking self as a distinguished group PetscSFView: dynamically sort by ranks for ASCII_INFO_DETAIL output SF: add ability for implementations to identify a distinguished group of ranks PetscSF: add distribution/transposition test SFBasic: pack into non-contiguous (by rank) root/leaf buffers instead of contiguous buffer SF: PetscSFGetRanks requires a setup SF, PetscSFView calls setup MPIUNI: change datatype packing scheme; implement MPI_Type_get_contents MPIUNI: fix use of MPIUni_Abort, which returns Add PetscFindMPIInt for searching within sorted array of PetscMPIInt SF: delay construction of rank mapping until SF type is set PetscSFReset: call impl reset before corrupting interface data SFSetGraph: remove support for nroots=PETSC_DETERMINE
show more ...
|
| #
1a589b05
|
| 26-Jun-2017 |
Jed Brown <jed@jedbrown.org> |
MPIUNI: change datatype packing scheme; implement MPI_Type_get_contents
This is needed for PetscSF to be able to operate on contiguous datatypes, a feature used by DMPlex.
|
| #
9cf9c1db
|
| 12-Aug-2017 |
Jed Brown <jed@jedbrown.org> |
MPIUNI: fix use of MPIUni_Abort, which returns
|
| #
603303d3
|
| 12-Jul-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/fix-fe-default
* master: (297 commits) Bib: Added refs and fixed one Doc: Fixed formatting problems for MatCreateAIJ() manual page. Add to PCSOR manual page
Merge branch 'master' into knepley/fix-fe-default
* master: (297 commits) Bib: Added refs and fixed one Doc: Fixed formatting problems for MatCreateAIJ() manual page. Add to PCSOR manual page information about convergence testing when using KSPRICHARDSON SNES ex5: Restore old output since this breaks an example I have Noted that some Cray XC systems will use 'aprun' instead of 'srun'. Thanks to Herr Doktor Hong Zhang for this suggestion. Added example configure script for Cray XC40 with KNL processors (e.g., NERSC Cori). Fix possible sprintf -Wformat-overflow PetscMalloc2-7: fix -Wint-in-bool-context for GCC 7 SNES ex5: make boundary condition handling consistent for symmetry SNES ex5: use L2 norm and *_monitor_short for output SNES ex5: the L^2 norm scales with the l^2 norm over sqrt(N) SNES ex5: refactor MMS capability to avoid extreme code duplication Documentation fix: typo in PetscLogStageRegister manual page. nodes -> vertices rename DMNetworkGetComponentTypeOffset -> DMNetworkGetComponentKeyOffset rename DMNetworkGetConnectedNodes() -> DMNetworkGetConnectedVertices() Jacobians for adjoints for explicit methods and constant Jacobians never got initialized fix complex build error fix build failure with fortran interface fix compile error with cdc753b64c658d532d7813e942002e67025667a6 ...
Conflicts: src/snes/examples/tutorials/ex13.c src/snes/examples/tutorials/ex62.c src/snes/examples/tutorials/ex69.c
show more ...
|
| #
dd169d64
|
| 28-Jun-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into stefano_zampini/feature-gmsh-periodic
* master: (1016 commits) metis: setself.downloaddirnames for change in 6d90219d8fa4f8b2fd242cc6ff9008358d87c26f fix compile warni
Merge branch 'master' into stefano_zampini/feature-gmsh-periodic
* master: (1016 commits) metis: setself.downloaddirnames for change in 6d90219d8fa4f8b2fd242cc6ff9008358d87c26f fix compile warning: /sandbox/petsc/petsc.clone/src/snes/examples/tests/ex2.c:250:8: warning: ‘pointsAllProcs’ may be used uninitialized in this function [-Wmaybe-uninitialized] ierr = DMInterpolationSetUp(interpolator, dm, pointsAllProcs);CHKERRQ(ierr); migrate 'build requires: !mpiuni' to new format migrate 'build requires: !complex' to new format workarround 'division by zero' compiler warning on windows C:\cygwin64\home\petsc\PETSC~3.CLO\src\ts\examples\TUTORI~1\ex11.c(416): warning #39: division by zero if (uL->h < 0 || uR->h < 0) {for (i=0; i<1+dim; i++) flux[i] = 0./0.; return;} /* SETERRQ(PETSC_COMM_SELF,PETSC_ERR_ARG_OUTOFRANGE,"Reconstructed thickness is negative"); */ dos2unix to prevent warnings on opensolaris "/export/home/petsc/petsc.clone/src/ksp/ksp/examples/tests/ex53.c", line 6: warning: invalid white space character in directive fix output file - corresponding to code changes in efd4aadf157bf1ba2d80c2be092fcf4247860003 disable test on windows update log from opensolaris so that the diff is clean on linux aswell update grep in sync with change in efd4aadf157bf1ba2d80c2be092fcf4247860003 Fixed code that did not correctly set current color for block insertion Update output files that did not get fixed after previous merges Change MPIUni to not immediately abort on operations it cannot perform, instead return error code Add filter for example that can produce 1 different iteration count Example add system calloc, bad formating of %d in print, commented out code Always use (void) for functions that take no arguments, never () always need to caste PetscReal variables to (double) in print statements updates to manual page for clarity update help menu for MatRARt() -- MatRARt_mpiaij_mpiaij is supported now, but not efficient. fix nightlybuild error with c1cbb1def3f8ddca04c3998b9c06618fd1ffef35 on arch-linux-IPL64 src/ksp/pc/examples/tests ex5_1 ...
Conflicts: include/petscdm.h src/dm/impls/plex/plexcreate.c src/dm/impls/plex/plexgmsh.c src/dm/impls/plex/plexhdf5.c
show more ...
|
| #
c41d012e
|
| 27-Jun-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-dm-bc-components
* master: (320 commits) fix compile warning: /sandbox/petsc/petsc.clone/src/snes/examples/tests/ex2.c:250:8: warning: ‘pointsAllProcs’ m
Merge branch 'master' into knepley/feature-dm-bc-components
* master: (320 commits) fix compile warning: /sandbox/petsc/petsc.clone/src/snes/examples/tests/ex2.c:250:8: warning: ‘pointsAllProcs’ may be used uninitialized in this function [-Wmaybe-uninitialized] ierr = DMInterpolationSetUp(interpolator, dm, pointsAllProcs);CHKERRQ(ierr); migrate 'build requires: !mpiuni' to new format migrate 'build requires: !complex' to new format workarround 'division by zero' compiler warning on windows C:\cygwin64\home\petsc\PETSC~3.CLO\src\ts\examples\TUTORI~1\ex11.c(416): warning #39: division by zero if (uL->h < 0 || uR->h < 0) {for (i=0; i<1+dim; i++) flux[i] = 0./0.; return;} /* SETERRQ(PETSC_COMM_SELF,PETSC_ERR_ARG_OUTOFRANGE,"Reconstructed thickness is negative"); */ dos2unix to prevent warnings on opensolaris "/export/home/petsc/petsc.clone/src/ksp/ksp/examples/tests/ex53.c", line 6: warning: invalid white space character in directive fix output file - corresponding to code changes in efd4aadf157bf1ba2d80c2be092fcf4247860003 disable test on windows update log from opensolaris so that the diff is clean on linux aswell update grep in sync with change in efd4aadf157bf1ba2d80c2be092fcf4247860003 Fixed code that did not correctly set current color for block insertion Update output files that did not get fixed after previous merges Change MPIUni to not immediately abort on operations it cannot perform, instead return error code Add filter for example that can produce 1 different iteration count Example add system calloc, bad formating of %d in print, commented out code Always use (void) for functions that take no arguments, never () always need to caste PetscReal variables to (double) in print statements updates to manual page for clarity update help menu for MatRARt() -- MatRARt_mpiaij_mpiaij is supported now, but not efficient. fix nightlybuild error with c1cbb1def3f8ddca04c3998b9c06618fd1ffef35 on arch-linux-IPL64 src/ksp/pc/examples/tests ex5_1 output has changed with e6d0a238963c2a97dd04845ea512b529992c7cdb so update the output file ...
show more ...
|
| #
06df1fb1
|
| 24-Jun-2017 |
Barry Smith <bsmith@mcs.anl.gov> |
Change MPIUni to not immediately abort on operations it cannot perform, instead return error code
So people see immediately why it is failing instead of just having a very uninformation message abou
Change MPIUni to not immediately abort on operations it cannot perform, instead return error code
So people see immediately why it is failing instead of just having a very uninformation message about abort. Mark examples that use PetscSF as requires: !mpiuni since Jed has not fixed bug in PetscSF for MPIUni
Commit-type: portability-fix, feature, example Funded-by: ECP Time: 1 hour Reported-by: nightly tests
show more ...
|
| #
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 ...
|
| #
e51df6f4
|
| 09-Nov-2016 |
stefano_zampini <stefano.zampini@gmail.com> |
Merge branch 'master' into stefano_zampini/feature-pcbddc-saddlepoint
This is needed to deal with some changes in MatNullSpace from commit 9d2471e
|
| #
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 ...
|