Single petscdir.mk
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
show more ...
Provide support for not setting PETSC_DIR when gnumake is being used; this will prevent some petsc-maint/petsc-users email threadsCommit-type: error-checking, testing-fix, feature, exampleThanks-t
Provide support for not setting PETSC_DIR when gnumake is being used; this will prevent some petsc-maint/petsc-users email threadsCommit-type: error-checking, testing-fix, feature, exampleThanks-to: Jed Brown <jed@jedbrown.org>Thanks-to: Lisandro Dalcin <dalcinl@gmail.com>
Promote examples/{tests,tutorials}/ to {tests,tutorials}/This shortens paths and improves consistency between test target namesand paths to the source and output files. Most of the work wascompl
Promote examples/{tests,tutorials}/ to {tests,tutorials}/This shortens paths and improves consistency between test target namesand paths to the source and output files. Most of the work wascompleted by this script, followed by mild cleanup of nonconformingcases.for makefile in `git ls-files 'src/*makefile'`; do if rg -q 'DIRS.*\bexamples\b' $makefile; then base=$(dirname $makefile) dirs=$(cd $base/examples && ls -d tests tutorials 2>/dev/null | xargs echo) perl -pi -e "s#^(DIRS.*)\bexamples\b#\1${dirs}#" $makefile git rm $base/examples/makefile for t in $dirs; do git mv $base/examples/$t $base/ perl -pi -e "s#^(LOCDIR[[:space:]]*=).*#\1 $base/$t/#" $base/$t done fidonegit grep -l -E -z 'examples/(tutorials|tests)' | xargs -0 perl -pi -e 's#examples/(tutorials|tests)#\1#g'git checkout @ \ src/docs/website/documentation/changes/ \ src/benchmarks/results/
Merge branch 'barry/feature-boundedint'
DM: Deprecate DMCreateAggregates()* This interface is untested and may be redundant* DMDA is the only provider, keep it as DMDACreateAggregates()
DM: Simplify implementation of DMHasCreateInjection()* Add log event for DMCreateInjection()* Get rid of DMHasCreateInjection_Default()* Rename dm->ops->getinjection to dm->ops->createinjection*
DM: Simplify implementation of DMHasCreateInjection()* Add log event for DMCreateInjection()* Get rid of DMHasCreateInjection_Default()* Rename dm->ops->getinjection to dm->ops->createinjection* Improve error checking here and there
Added PetscOptionsBoundInt(), error if value below bound, and PetscOptionsRangeInt(), error if out of rangeReplaced a small amount of the usage in the source code. Easy, slightly boring process to
Added PetscOptionsBoundInt(), error if value below bound, and PetscOptionsRangeInt(), error if out of rangeReplaced a small amount of the usage in the source code. Easy, slightly boring process to replace the restCommit-type: error checking
Update the use of Collective on in the manual pages to reflect the new styleCommit-type: style-fix, documentationThanks-to: Patrick Sanan <patrick.sanan@gmail.com>
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
examples: add compile target 'ex%: ex%.o' etc - and remove the corresponding dups
DM: DMCreateSubDM() field argument should be const
Remove the use and definition of __FUNCT__ throughout the codeSince all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETScTime: 1.5 hoursThanks-t
Remove the use and definition of __FUNCT__ throughout the codeSince all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETScTime: 1.5 hoursThanks-to: Andreas Mang <andreas@ices.utexas.edu>
Update output files after change in PetscObjectPrintClassNamePrefixType
Fix most C examples to return ierr on failed PetscInitialize() or PetscFinalize()Formatting fixes for many C examples including removing extra linesFixed a few set but not used variables detected
Fix most C examples to return ierr on failed PetscInitialize() or PetscFinalize()Formatting fixes for many C examples including removing extra linesFixed a few set but not used variables detected by the clang static analyzer
Changed the C examples to return the error code in main()
Begin renaming the PetscOptions objects for the future where PetscOptions will not be a singleton
fixed missing CHKERRQ() detected by clang's --analyze
updated PETSc directory layout to match standard packaging strategiesinclude/petsc finclude,private,mpiunilib/petsc confbin/petsc*
Merge branch 'knepley/fix-compiler-warnings'* knepley/fix-compiler-warnings: Fixed compiler warnings Fix compiler warnings about unreachable code
when MPIU_REAL or MPIU_SCALAR is used then MPIU_SUM/MAX/MIN must be usedthese bugs are why plex as crashing in quad precision
Fix compiler warnings about unreachable code
simplify option object names
moved PetscOptionsObject from global variable to local variable in functions
manual merge of conflict
12345