Updated the use of sizeof() when possible instead of using hardwired sizes for functions whose string argumentsneed sizes. In particular done for PetscOptionsGetString(), PetscOptionsString(), and a
Updated the use of sizeof() when possible instead of using hardwired sizes for functions whose string argumentsneed sizes. In particular done for PetscOptionsGetString(), PetscOptionsString(), and a few other utilitiesCommit-type: style-fixDevelopment Tools: Vim, Emacs, Eclipse
show more ...
KSP/PC: Fix 0 ->NULL for pointers
Merge remote-tracking branch 'origin/maint'
Single petscdir.mk
PetscDefined: remove many uses of #ifdef PETSC_USE_DEBUG
build: add more support for not needing to set PETSC_DIR yet build with PETSc, also support for GNU make to directly use "make test" instead of "make -f gmakefile.test"Still needs -include ../petsc
build: add more support for not needing to set PETSC_DIR yet build with PETSc, also support for GNU make to directly use "make test" instead of "make -f gmakefile.test"Still needs -include ../petscdir.mk in many of the makefilesStill needs the link for ../petscdir.mk in many directoriesGNUMakefile: call legacy makefile recursively instead of including itGNUMakefile: promote default "all" target; "libs" builds libpetsc*GNUMakefile: If gnumake < 4.2 prefer makefile wrapper interface over direct gmakefile interface to avoid the following warningsgmakefile.test:92: arch-ci-linux-cxx-cmplx-pkgs-64idx/tests/testfiles: No such file or directorygmakefile:67: arch-ci-linux-cxx-cmplx-pkgs-64idx/lib/petsc/conf/files: No such file or directoryCommit-type: testing-fix, feature, usabilityThanks-to: Jed Brown jed@jedbrown.org
Remove usage of PETSC_HAVE_FORTRAN_STDCALL, PETSC_BLASLAPACK_STDCALL, HAVE_FORTRAN_MIXED_STR_ARG flags - as Compaq f90 compiler is no longer supported
Do not default to BASIC for ASM preconditioner, it can require signifigently more iterations (and time)Commit-type: optimizationReported-by: Pierre Jolivet <pierre.jolivet@enseeiht.fr>
More typos
Some typos.
Fix a bunch of PetscValidPointer() -> PetscValidXXXPointer()
No more batch submission script; this is all due to a very smart idea of Lisandro Dalcin*) removed or fixed all remaining --know-xx options that required a batch submission script*) removed all de
No more batch submission script; this is all due to a very smart idea of Lisandro Dalcin*) removed or fixed all remaining --know-xx options that required a batch submission script*) removed all details of --known-size-- that are no longer needed*) cleaned up BAIJMKL source code, made it work with the rest of PETSc and removed is dependence on a batch submission script, added test case for BAIJMKL*) update the installation guide on batsch submissions and OpenMP*) print MKL version, print OpenMP usage with mkl_sparse optionsCommit-type: bug-fix, portability-fix, style-fix, feature, documentation, exampleThanks-to: Lisandro Dalcin <dalcinl@gmail.com>$ ./configure --with-batch=============================================================================== Configuring PETSc to compile on your system============================================================================================================================================================== ***** WARNING: Cannot determine if MPI_INT64_T works on your system in batch-mode! Assuming it does work. Run with --known-mpi-int64_t=0 if you know it does not work (very unlikely). Run with --known-mpi-int64_t=1 to remove this warning message. warning message ***** =============================================================================== =============================================================================== ***** WARNING: Cannot determine if MPI_C_DOUBLE_COMPLEX works on your system in batch-mode! Assuming it does work. Run with --known-mpi-c-double-complex=0 if you know it does not work (very unlikely). Run with --known-mpi-c-double-complex=1 to remove this warning message. warning message ***** =============================================================================== =============================================================================== ***** WARNING: Cannot verify that MPI is a shared library - in batch-mode! If MPI is a static library but linked into multiple shared libraries that the application uses, sometimes compiles work - but one might get run-time errors. If you know that the MPI library is shared - run with --known-mpi-shared-libraries=1 option to remove this warning message ***** =============================================================================== =============================================================================== ***** WARNING: Cannot determine if BLAS/LAPACK uses 32 bit or 64 bit integers in batch-mode! Assuming 32 bit integers. Run with --known-64-bit-blas-indices if you know they are 64 bit. Run with --known-64-bit-blas-indices=0 to remove this warning message. warning message ***** ===============================================================================
Add PetscArraycmp(), PetscArraycpy(), PetscArrayzero(), PetscArraymove(), update code to use new formsReplace a couple multi-mallocs with a single mallocReplace backwards loops in MatSetValues_*()
Add PetscArraycmp(), PetscArraycpy(), PetscArrayzero(), PetscArraymove(), update code to use new formsReplace a couple multi-mallocs with a single mallocReplace backwards loops in MatSetValues_*() with PetscArraymove()Commit-type: style-fix, feature
Man pages: remove Concepts: fieldsThese fields were previously stripped from the man pages by logic removed in 21a59cba2737d49dc2f0bd12c08db0d2a3f3f209Remove these fields from all man pages (but
Man pages: remove Concepts: fieldsThese fields were previously stripped from the man pages by logic removed in 21a59cba2737d49dc2f0bd12c08db0d2a3f3f209Remove these fields from all man pages (but not from examples).This is accomplished with GNU sed (gsed on OS X), with the following commands.*Warning* that this type of command can corrupt a .git directory,so be cautious in reusing or modifying these commands. They first lookfor and delete matching lines with a following line consisting of only whitespace,and then delete any remaining matching lines. find src -type f -not -path "*/examples/*" -not -name "*.html" -not -name "*.bib" -exec gsed -i '/Concepts:/ {N; /\n\s*$/d}' {} + find src -type f -not -path "*/examples/*" -not -name "*.html" -not -name "*.bib" -exec gsed -i '/Concepts:/d' {} + find include -type f -not -path "*/examples/*" -not -name "*.html" -not -name "*.bib" -exec gsed -i '/Concepts:/ {N; /\n\s*$/d}' {} + find include -type f -not -path "*/examples/*" -not -name "*.html" -not -name "*.bib" -exec gsed -i '/Concepts:/d' {} +Hints on the sed command obtained from: https://unix.stackexchange.com/questions/100754/how-to-delete-a-specific-line-and-the-following-blank-line-using-gnu-sed
Man pages: remove .keywords: fieldsThis field is recognized by doctext from Sowing (http://wgropp.cs.illinois.edu/projects/software/sowing/doctext/node20.htm#Node20),but it doesn't seem to be unif
Man pages: remove .keywords: fieldsThis field is recognized by doctext from Sowing (http://wgropp.cs.illinois.edu/projects/software/sowing/doctext/node20.htm#Node20),but it doesn't seem to be uniformly used or maintained.Thus, remove all .keywords: fields, and a following blank line, if present.This is accomplished with GNU sed (gsed on OS X), with the following commands.*Warning* that this type of command can corrupt a .git directory,so be cautious in reusing or modifying these commands. They first lookfor and delete matching lines with a following line consisting of only whitespace,and then delete any remaining matching lines. find src/ -type f -exec gsed -i '/keywords:/ {N; /\n\s*$/d}' {} + find src/ -type f -exec gsed -i '/keywords:/d' {} + find include/ -type f -exec gsed -i '/keywords:/ {N; /\n\s*$/d}' {} + find include/ -type f -exec gsed -i '/keywords:/d' {} +Hints on the sed command obtained from: https://unix.stackexchange.com/questions/100754/how-to-delete-a-specific-line-and-the-following-blank-line-using-gnu-sed
Work on PetscViewerString. Fix use of PetscInt -> size_t, add new functionality, add usage by basic solver objects, add test caseCommit-type: style-fix, feature, documentation, example
Revert the function name where it is referenced
Merge branch 'barry/improve-error-propagation-ksp-pc'
Improve the error propagation between and within KSPs and PCs- Added KSPCheckSolve() to be called consistently by PCs to set failures if the inner solvers fail.- Added use of KSPCheckNorm() and KS
Improve the error propagation between and within KSPs and PCs- Added KSPCheckSolve() to be called consistently by PCs to set failures if the inner solvers fail.- Added use of KSPCheckNorm() and KSPCheckDot() to all the Krylov methods to propagate errors from PCs to the KSPs.Commit-type: feature
KSPs that are created and used by PCs or other KSPs should inheritthe error if not converged flagCommit-type: bug-fix
Changed VecScatterCreate() to take a communicator and return scatter as other first class PETSc objects do.Changed old VecScatterCreate() to VecScatterCreateWithData()Completed basic refactorizati
Changed VecScatterCreate() to take a communicator and return scatter as other first class PETSc objects do.Changed old VecScatterCreate() to VecScatterCreateWithData()Completed basic refactorization of VecScatter code, ready for new implementations to be added.(There is still some code duplication between the VecScatter MPI1 and MPI3 code but it can be fixed at anytime without requiring changes to the VecScatter API.Part 5 of a refactorization of VecScatter to be treated as a first class PETSc objectCommit-type: style-fix
Man pages: add newlines after "Notes:"This allows for proper formatting from sowing.On OS X (using gsed, not the default BSD sed), from the PETSc root directory: find src include -type f \(
Man pages: add newlines after "Notes:"This allows for proper formatting from sowing.On OS X (using gsed, not the default BSD sed), from the PETSc root directory: find src include -type f \( -name "*.c" -or -name "*.h" -or -name "*.cxx" \) | xargs gsed -i 's/Notes\s*:\s*\(\w.*\)/Notes:\n \1/'This adds a newline and 4 spaces whenever "Notes:" is followed by any "word" character, in any .c, .h, or .cxx file in src/ or include/
Add MatGetOperation() and fixes to MATSHELL
remove cut and paste error from PCGASM manual page.Commit-type: documentationReported-by: Pierre Jolivet <pierre.jolivet@enseeiht.fr>
Merge branch 'rmills/fix-pcgasmgetsubksp-fortran-stub'
1234567891011