superlu: fix complex buildReported-by: Torquil Macdonald Sørensen <torquil@gmail.com>
more Revert "replace 'const MatFactorInfo' to 'MatFactorInfo' in MatFactor routines"
add enum 'MatFactorError' to handle error type for matrix factor; replace 'const MatFactorInfo' to 'MatFactorInfo' in MatFactor routines
update to superlu_5.0
Fixed some PetscValidLogicalCollective calls that used the wrong typenameOne of these caused problems for a user with 64 bit integersReported-by: Erik Andreassen <erand@mek.dtu.dk>
Remove commented lines
Explicitly set the function pointer for MatMatSolve to NULL if the external packages does not provide a specific implementation for them
updated manual pages for external direct solvers to explicitly state how to configure PETSc for them and to run with them with KSP
updated PETSc directory layout to match standard packaging strategiesinclude/petsc finclude,private,mpiunilib/petsc confbin/petsc*
Added VecLockPush() and VecLockPop() to make vector read onlyUsed VecLockPush() and VecLockPop() in a couple of key locations; PCApply(), KSPSolve(), MatMult()Fixed many uses of VecGetArray() to Ve
Added VecLockPush() and VecLockPop() to make vector read onlyUsed VecLockPush() and VecLockPop() in a couple of key locations; PCApply(), KSPSolve(), MatMult()Fixed many uses of VecGetArray() to VecGetArrayRead()Added VecGet/RestoreArrayPair() for commonly occuring patternAdded const to many locations driven by use of VecGetArrayRead()
show more ...
manual merge of conflict
Merge branch 'barry/remove-unneeded-paren-petscmalloc'Conflicts: src/mat/impls/baij/seq/baij.c
fix incorrect change to PetscMalloc1()
add error flags for MatGetDiagonal when user calls it for matrix factor of mumps, superlu and superlu_dist
convert some PetscMalloc() to PetscMalloc1()remove unneeded () in first argument to PetscMalloc/Calloc1()fixes for MATLAB examples
properly extern "C"ing MatSolverPackage registration functions
Moved registration of MatSolverPackages out of MatCreate_XXX routines into standalone system, this allows1) more precise error message when a requested solver is not found2) easier to add new solve
Moved registration of MatSolverPackages out of MatCreate_XXX routines into standalone system, this allows1) more precise error message when a requested solver is not found2) easier to add new solvers without touching basic PETSc matrix implementation files and the possibility of adding new solvers to the library after PETSc is installed or even at run time
update use of PetscOptionsBool() to not rely on default setting automatically
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,@'
Sys: add PetscMalloc1 macro, array allocation without redundant typesThe type is inferred from the pointer return type. This patch isautomated via the following script:git grep -l 'PetscMalloc(
Sys: add PetscMalloc1 macro, array allocation without redundant typesThe type is inferred from the pointer return type. This patch isautomated 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 pointerarity. The code was introduced in 2006, but the allocation could nothave been correct at any time. This probably means thatMatDuplicate_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.
-citations option causes the print out of approriate bibtex citation indices for all packages USED in the runMost of the appropriate citations still need to be added
PetscObjectComposeFunctionDynamic: remove stale docs and usage
removed string version of function name for XXXRegister(), PetscFunctionListAdd() and PetscObjectComposeFunction()
Change all PETSC_EXTERN_C to PETSC_EXTERNHg-commit: 8d2ebbb193fb583bccc64015e35640c4e08c3426
completed removing unneeded EXTERN_C_BEGIN/END from Mat directories and converting to PETSC_EXTERN_C for constructorstested with and without dynamic with and without C++Hg-commit: 7d27d7f4d9ea3bfe
completed removing unneeded EXTERN_C_BEGIN/END from Mat directories and converting to PETSC_EXTERN_C for constructorstested with and without dynamic with and without C++Hg-commit: 7d27d7f4d9ea3bfe6616fafdfb32d046b5db53a1
1234567891011