| #
ab15ae43
|
| 03-Mar-2014 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-fas
* master: (863 commits) Revert "mpich: use latest mpich tarball with gcov but use '--enable-coverage' mpich configure option." MatCreateTransp
Merge branch 'master' into knepley/feature-plex-fas
* master: (863 commits) Revert "mpich: use latest mpich tarball with gcov but use '--enable-coverage' mpich configure option." MatCreateTranspose: fix for lazy block size mpich: use latest mpich tarball with gcov but use '--enable-coverage' mpich configure option. configure: add FC_DEFINE_FLAG to petscvariables added a citation for pounders, Stefan finally came through update to latest netcdf fixes bug that did not allow building on recent Mac OS X DMPlex: Fixes for CGNS - Fixed loop bounds since CGNS uses closed intervals - Bug with mixed cell types - Typo with coordinates final updates from nightly tests fix for countcfunction removed outdated docs and comments on MatStructure usage removed SAME_PRECONDITIONER since no longer used removed unneed use of MatStructure in Schur complement matrix removed MatStructure arguments from Tao fixes for Sundials and fun3d cannot use MPIU_SUM for integer arrays inplace ILU factorization must update state of inplace matrix to prevent infinite recursion of updating PC fixes for BDDC by the way not having BDDC always in the testing is going to lead to trouble the compute Jacobian functions for SNES and TS now do not take a MatStructure flag KSPSetOperators() no longer has the MatStructure argument. The Mat objects now track that information themselves. Use KPS/PCSetReusePreconditioner() to prevent the recomputation of the preconditioner if the operator changed in the way that SAME_PRECONDITIONER did with KSPSetOperators() tracks when Mat's have a change in nonzero structure this information can be used by PC to determine how preconditioners must be rebuilt currently only does an error check if the user said same nonzero pattern but actually changed the pattern completed cleanup of removal of matrix pointers to compute jacobian routines makefile: Added 'make includegraph' to create an inclusion dependency graph. Contrib: Updated include-graph.sh script to ignore *.hh files ...
Conflicts: src/dm/dt/interface/dt.c
show more ...
|
| #
061e9cde
|
| 27-Feb-2014 |
Vijay Mahadevan <vijay.m@gmail.com> |
Merging master with feature-dmmoab. Only conflict was with SOURCECXX specification under impls/moab/makefile.
|
| #
bf5b0b0b
|
| 25-Feb-2014 |
Vijay Mahadevan <vijay.m@gmail.com> |
Merged petsc/petsc into master
|
| #
6d3a40b8
|
| 23-Feb-2014 |
Jed Brown <jed@jedbrown.org> |
Merge branch 'jed/lazy-blocksize'
* jed/lazy-blocksize: Mat & Vec: make block sizes lazy PetscLayoutSetBlockSize: allow PETSC_DECIDE for use when block size has already been set
|
| #
020631bc
|
| 19-Feb-2014 |
Peter Brune <brune@mcs.anl.gov> |
Merge branch 'master' into prbrune/snes-fascontinuation
Conflicts: include/petscsnesfas.h
|
| #
33d57670
|
| 15-Feb-2014 |
Jed Brown <jed@jedbrown.org> |
Mat & Vec: make block sizes lazy
In the past, MatSetUp eagerly set the block sizes (to 1) if not already set. This prevents use of the "convenience" constructors because they call MatSetUp before r
Mat & Vec: make block sizes lazy
In the past, MatSetUp eagerly set the block sizes (to 1) if not already set. This prevents use of the "convenience" constructors because they call MatSetUp before returning. We could add bs as an explicit argument to those constructors, but block size is an extraneous concept for most users. The default value of the block size is -1, so now we use PetscAbs(map->bs) anywhere it is not known in advance that bs has been explicitly set. This allows block sizes to be lazy, and they can be set arbitrarily late, so long as the new size is compatible with the existing distribution. For (S)BAIJ matrices, the block size is structural so it gets set explicitly and can thus be referenced directly rather than via MatGetBlockSize or wrapped in PetscAbs.
show more ...
|
| #
69bbac97
|
| 15-Feb-2014 |
Jed Brown <jed@jedbrown.org> |
PetscLayoutSetBlockSize: allow PETSC_DECIDE for use when block size has already been set
This slightly simplifies logic in some places, where otherwise we would have to MatGetBlockSize() and pass it
PetscLayoutSetBlockSize: allow PETSC_DECIDE for use when block size has already been set
This slightly simplifies logic in some places, where otherwise we would have to MatGetBlockSize() and pass it back in.
show more ...
|
| #
c7ff62de
|
| 13-Jan-2014 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'master' into barry/wirth-fusion-materials bad manual merge needs to be fixed this is what happens when branches hang around too long
Conflicts: src/ts/examples/tutorials/advection-dif
Merge branch 'master' into barry/wirth-fusion-materials bad manual merge needs to be fixed this is what happens when branches hang around too long
Conflicts: src/ts/examples/tutorials/advection-diffusion-reaction/ex10.c
show more ...
|
| #
ed91c37e
|
| 19-Dec-2013 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-dmda-section
* master: (319 commits) SNESGS: Fix for uninitialized variable warning in gssecant.c DMPlex: Fix for orientation in Gmsh files - Fixed tes
Merge branch 'master' into knepley/feature-dmda-section
* master: (319 commits) SNESGS: Fix for uninitialized variable warning in gssecant.c DMPlex: Fix for orientation in Gmsh files - Fixed test output do not use C99 struct initialization code in PETSc Nightly Summary: Added time taken to each of the tests in the dashboard. ASCII printing of floating point numbers must cast to (double) to support quad precision configure: check fortranDatatypes only when fortran is enabled [this fixes configure crash with --with-fc=0] don't use non-portable and also dependent on floating point precision system level math constants picky compilers fix a couple compiler warnings/errors (depending on compiler) for Matlab engine code DMPlex: More fixup from bad rebase, moved to DMGet/SetCoordinateSection() DM: Added DMGet/SetCoordinateSection() Fuckup: Fix for merge that is still untangling bad rebase from Oct. 17th 2013 - Fixed const in declarations - Fixed merge from PetscFE - Fixed 2 mallocs replace all echo in test/tutorial makefiles with printf since echo behaves differently on different systems DMDA: Missing header - Damn rebase DMPlex ex3: Added 2D Q_1 and 3D P_2 tests DMDA: Added DMDAProjectFunction() and DMDAComputeL2Diff() DMDA: Fixed 2D geometry - Should reuse DMPlex routines DMDA: Fix bug in 2D closure operation for cells DMDA: Make closure operations also return the size DMDA: Changed DMDACreateSection() to emulate DMPlexCreateSection() ...
Conflicts: config/builder.py include/petscdmda.h src/dm/dt/interface/dtfe.c src/dm/impls/da/dageometry.c src/dm/impls/da/dalocal.c src/dm/impls/plex/plexgeometry.c
show more ...
|
| #
0d414b50
|
| 17-Dec-2013 |
Vijay Mahadevan <vijay.m@gmail.com> |
Merged petsc/petsc into master
|
| #
9c5a1e1b
|
| 17-Dec-2013 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-gmsh
* master: (163 commits) do not use C99 struct initialization code in PETSc Nightly Summary: Added time taken to each of the tests in the dash
Merge branch 'master' into knepley/feature-plex-gmsh
* master: (163 commits) do not use C99 struct initialization code in PETSc Nightly Summary: Added time taken to each of the tests in the dashboard. ASCII printing of floating point numbers must cast to (double) to support quad precision configure: check fortranDatatypes only when fortran is enabled [this fixes configure crash with --with-fc=0] don't use non-portable and also dependent on floating point precision system level math constants picky compilers fix a couple compiler warnings/errors (depending on compiler) for Matlab engine code DMPlex: More fixup from bad rebase, moved to DMGet/SetCoordinateSection() DM: Added DMGet/SetCoordinateSection() Fuckup: Fix for merge that is still untangling bad rebase from Oct. 17th 2013 - Fixed const in declarations - Fixed merge from PetscFE - Fixed 2 mallocs replace all echo in test/tutorial makefiles with printf since echo behaves differently on different systems DMDA: Missing header - Damn rebase DMPlex ex3: Added 2D Q_1 and 3D P_2 tests DMDA: Added DMDAProjectFunction() and DMDAComputeL2Diff() DMDA: Fixed 2D geometry - Should reuse DMPlex routines DMDA: Fix bug in 2D closure operation for cells DMDA: Make closure operations also return the size DMDA: Changed DMDACreateSection() to emulate DMPlexCreateSection() DMDA: Added functions which emulate DMPlex functionality DMDA: Now DMDAGetNumCells() returns the cells in each direction as well ...
Conflicts: config/builder.py
show more ...
|
| #
324c91e4
|
| 17-Dec-2013 |
Peter Brune <brune@mcs.anl.gov> |
Merge branch 'madams/gamg-destroy' into prbrune/pcgamg-classicalinterpolationstrategies
|
| #
578f55a3
|
| 17-Dec-2013 |
Peter Brune <brune@mcs.anl.gov> |
Merge branch 'master' into madams/gamg-destroy
Conflicts: src/ksp/pc/impls/gamg/gamg.c
|
| #
8c722d37
|
| 10-Dec-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'master' into barry/reduce-dmsetup-da-memoryusage
Conflicts: src/dm/examples/tests/ex15.c src/dm/examples/tutorials/ex3.c src/dm/impls/da/da2.c src/dm/impls/da/da3.c
|
| #
a906b49b
|
| 10-Dec-2013 |
BarryFSmith <bsmith@mcs.anl.gov> |
Merged master into barry/update-xxxviewfromoptions
|
| #
edbbd480
|
| 10-Dec-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'master' into barry/xcode
|
| #
e0133700
|
| 05-Dec-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'barry/saws-push-header-body' into barry/saws-options
|
| #
fb3f26da
|
| 04-Dec-2013 |
Jed Brown <jedbrown@mcs.anl.gov> |
Merge branch 'jed/malloc-array'
Type arguments dropped from PetscMalloc[2-7], PetscNew, and PetscNewLog, added PetscMalloc1 for allocating typed arrays, add PetscCalloc[1-7] for allocating cleared (
Merge branch 'jed/malloc-array'
Type arguments dropped from PetscMalloc[2-7], PetscNew, and PetscNewLog, added PetscMalloc1 for allocating typed arrays, add PetscCalloc[1-7] for allocating cleared (zeroed) memory.
* jed/malloc-array: Sys: Add pointer casts from (void **) in calls to PetscMalloc1() Sys: drop explicit type arguments from PetscNew() and PetscNewLog() Sys: add PetscCalloc[1-7] Sys: add PetscMalloc1 macro, array allocation without redundant types PetscMalloc[2-7]: remove type arguments, infer from pointer type SNESComputeJacobianDefaultColor: fix uninitialized variable
show more ...
|
| #
b00a9115
|
| 03-Dec-2013 |
Jed Brown <jedbrown@mcs.anl.gov> |
Sys: drop explicit type arguments from PetscNew() and PetscNewLog()
git grep -l 'PetscNew\(Log\)\?(' -- $1 | xargs perl -pi -e ' s@PetscNew\([^,;()]+ *, *@PetscNew(@; s@PetscNewLog\(([^,;()]+) *,[^,
Sys: drop explicit type arguments from PetscNew() and PetscNewLog()
git grep -l 'PetscNew\(Log\)\?(' -- $1 | xargs perl -pi -e ' s@PetscNew\([^,;()]+ *, *@PetscNew(@; s@PetscNewLog\(([^,;()]+) *,[^,;()]+, *@PetscNewLog($1,@'
show more ...
|
| #
785e854f
|
| 03-Dec-2013 |
Jed Brown <jedbrown@mcs.anl.gov> |
Sys: add PetscMalloc1 macro, array allocation without redundant types
The type is inferred from the pointer return type. This patch is automated via the following script:
git grep -l 'PetscMalloc(
Sys: add PetscMalloc1 macro, array allocation without redundant types
The type is inferred from the pointer return type. This patch is automated via the following script:
git grep -l 'PetscMalloc(.*sizeof' src | xargs perl -pi -e 's@PetscMalloc\(([^,;]*[^,; ]) *\* *sizeof\([^,;()]+\),@PetscMalloc1($1,@'
This commit contains an additional bug-fix in csrperm.c, fixing pointer arity. The code was introduced in 2006, but the allocation could not have been correct at any time. This probably means that MatDuplicate_SeqAIJPERM has never been tested.
a54129beb540034ba105796c682d589e7e1111f2 Richard Tran Mills <rmills@ornl.gov>
Added MATSEQCSRPERM support for MatDuplicate() and conversion to/from MATSEQAIJ. Note that these changes are not quite debugged.
show more ...
|
| #
c4fbd833
|
| 08-Nov-2013 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-fem-dgspace
* master: (593 commits) Bib: Added Top500 and fixed entry fun3d: update PetscMallocValidate() usage bib: rename ref with duplicate key
Merge branch 'master' into knepley/feature-fem-dgspace
* master: (593 commits) Bib: Added Top500 and fixed entry fun3d: update PetscMallocValidate() usage bib: rename ref with duplicate key Webpage: Corrected '-dm_mat_type cusp' to 'dm_mat_type aijcusp'. Allow calling MatGetBlockSize[s]() before matrix preallocation SNESLINESEARCHBT: Set the norms when exiting early due to negligible step. SNESQN: only monitor real part of dot product (fails with C++ complex) Corrected the #include statement in the man pages for the PetscObjectComposedDataSet/Getwhatever routines. DMPlex: Added doc for DMPlexGetHybridBounds() winzip: detect if winzip is used to extract petsc.tar.gz and error out. configure: remove self.archIndependent as its not being used. [it is used to create externalpackages/package/arch dir which is unused] configure: fix packages using package-dir/PETSC_ARCH as out-of-source-build location Perhaps this should be changed to package-dir/build? configure: remove dead code previously used to download BuildSystem configure: check if compilerDefines [and compilerFixes] exist in framework before using them configure: save/restore reconfigure.py when --with-clean is used configure: add --with-clean option to delete buildfiles/externalpackages in PETSC_DIR/PETSC_ARCH and potential externalpackages in --with-external-package-dir/PETSC_ARCH configure: With --with-externalpackages-dir=dir store/build packages in dir/PETSC_ARCH Add MatSeqSBAIJSetPreallocationCSR() configure: switch to using PETSC_DIR/PETSC_ARCH/externalpackages by updating package.py to use externalpackages.py as the externalPackagesDirProvider configure: move dead code configureExternalPackagesDir() from petscdir.py to externalpackagesdir.py Also set PETSC_DIR/PETSC_ARCH/externalpackages as the externalpackagesdir ...
show more ...
|
| #
7737a228
|
| 31-Oct-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'master' into barry/saws
Conflicts: src/ksp/pc/impls/gamg/gamg.c src/sys/classes/viewer/impls/ams/ams.c src/sys/objects/pinit.c
|
| #
170be9ae
|
| 16-Oct-2013 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-dmda-section
* master: (397 commits) PetscSynchronizedFGets: fix deadlock at EOF Compiler: Fix warnings from MPI impls which do not initialize outputs
Merge branch 'master' into knepley/feature-dmda-section
* master: (397 commits) PetscSynchronizedFGets: fix deadlock at EOF Compiler: Fix warnings from MPI impls which do not initialize outputs Increase patchlevel to 3.4.3 SNES: Now work vectors come from the DM SNES ex62: Remove code generation SNES: Move setup involving snes->vec_sol from SNESSetUp() to SNESolve() Compiler: Fix warnings from MPI impls which do not initialize outputs DMPlex ex7: Added missing test output SNES ex52: Removed old Jacobian stuff, and fixed call to DMPlexProjectFunction() - Fixed calls for new element handling SNES ex12: Added a performance profiling mode DMPlex ex8: Fixed leak PetscSection: Must reset the section when changing the number of fields DMPlex ex7: Fixed test output - Corrected orientations in interpolation DMPlex ex1: Fixed test output - Uniform refinement for quads changed DMPlex: Fix overagressive checks PC: Removed support graph PC configure: both downloadonWindows and worksonWindows refer to MS compilers. Also fix isWindows() -> isWindows(CC). MatXAIJSetPreallocation: use array[] notation to help out Fortran __float128: when blas/lapack is not found instruct using f2cblaslapack Configure: Package.downloadonWindows is supposed to mean that Windows compilers work. not Cygwin - Also changed doc for Package.worksonWindows, which does refer to Cygwin ...
Conflicts: src/dm/impls/da/dalocal.c
show more ...
|
| #
32029c4c
|
| 06-Oct-2013 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-refine-3d
* master: (149 commits) Bib: Added papers referencing PETSc from ResearchGate Bib: Fixed urls for some refs Suggested-by: Michele De Ste
Merge branch 'master' into knepley/feature-plex-refine-3d
* master: (149 commits) Bib: Added papers referencing PETSc from ResearchGate Bib: Fixed urls for some refs Suggested-by: Michele De Stefano fixed bug that has appeared recently of false positive errors when there are zero local equations on coarse grids in gamg-agg. MatSchurComplement: Must initialize KSP package bib: fix inbook citation Bib: Updated some refs SNES: fix copy/paste in man page fortran: fix KSPCONVERGEDDEFAULT and SNESCONVERGEDSKIP in fortran includes Mat SBAIJ: avoid invalid memory read in MatSOR_SBAIJ Revert "MatMPIBAIJSetPreallocationCSR() handled the input matrix entries incorrectly, it treated them as if each row of values" PCGAMG: fix corruption for multiple solves when MatSetNearNullSpace is used PCGAMG: remove distracting comment KSP ex49: restrict near-null space for elasticity example with sym BC MatMPIBAIJSetPreallocationCSR() handled the input matrix entries incorrectly, it treated them as if each row of values was provided ordered by row within the block rows instead of by block as it was originally designed to be. Also added more discussion to the manual pages on the expected order of the values Fix accidental creation of the matrices in SNESNCG used for linear analogue LS. PCGAMG: add man page for PCGAMGType fortran: fix snesconvergedskip_() kspconvergedskip_() kspconvergeddefault*_() rm // Sys: new_ir changed from PetscInt to PetscObjectState - so fix mallocs to use the new type SNES: Fixed package init in SNESLineSearchCreate() ...
Conflicts: include/petscdmplex.h src/dm/impls/plex/examples/tests/ex5.c src/dm/impls/plex/plex.c src/dm/interface/dm.c
show more ...
|
| #
4dab787d
|
| 20-Sep-2013 |
Hong Zhang <hzhang@mcs.anl.gov> |
Merge branch 'hzhang/snes-jacobiancoloropt' of bitbucket.org:petsc/petsc into hzhang/snes-jacobiancoloropt
|