Some missing CHKERR[Q|MPI]
Removed CHKERRQ() that come immediately after SETERRQ(), add test to checkbadSource() to find such constructsCommit-type: bug-fix, error-checking\spend 10mReported-by: Lisandro Dalcin <dalcinl@gm
Removed CHKERRQ() that come immediately after SETERRQ(), add test to checkbadSource() to find such constructsCommit-type: bug-fix, error-checking\spend 10mReported-by: Lisandro Dalcin <dalcinl@gmail.com>
show more ...
Merge remote-tracking branch 'origin/barry/2021-03-28/fix-mpiu-allreduce-mpi-failure'Fix capture of MPI error code in MPIU_Allreduce()See merge request petsc/petsc!3777
DMForest: When people set there own sections, we need to look directly at them for sharing
All MPIU_ functions except MPIU_File return MPI error codes for checkingUpdate checkbadSource to find use of CHKERRQ with MPIU_ functionsCommit-type: i.e. error-checking, optimization, bug-fix, p
All MPIU_ functions except MPIU_File return MPI error codes for checkingUpdate checkbadSource to find use of CHKERRQ with MPIU_ functionsCommit-type: i.e. error-checking, optimization, bug-fix, portability-fix, testing-fix, style-fix, feature, documentation, exampleFunded-by:Project:Time: hoursReported-by:Thanks-to:Development Tools: Vim, Emacs, Eclipse
SF: rename SFCreateEmbeddedSF to SFCreateEmbeddedRootSF
SF: add an MPI_Op argument to SFBcast
CHKERRQ() -> CHKERRMPI()
Convert MPI error type to PETSc error with string message for all MPI callsNow PETSc examples will ONLY return PETSc error codes and never MPI error codes directly so we can understand and post-pro
Convert MPI error type to PETSc error with string message for all MPI callsNow PETSc examples will ONLY return PETSc error codes and never MPI error codes directly so we can understand and post-process their errors better.The test harness will now automatically retry tests that fail with MPI, this may help with Intel MPI that produces seemingly random failures.Commit-type: error-checking/spend 30m
Adams/plex noprealloc fix
Turn on checkbadSource test to generate an error when found; fix all source code that causes errorsCommit-type: portability-fix, testing-fix, style-fix, feature, maintainability/spend 1.5h
DM: Replace 0 -> NULL for pointers
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
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
DM+Plex: Removed the idea of hybrid and ghost cells, in favor of cell type- Improved Plex tests to work for other cell types- Plex creation, interpolation, submesh, and refinement routines now set
DM+Plex: Removed the idea of hybrid and ghost cells, in favor of cell type- Improved Plex tests to work for other cell types- Plex creation, interpolation, submesh, and refinement routines now set the cell type- Distribution sorts strata by cell type- Fixed orientation of prisms from input formats- Added Plex ex40 to test regular refinement- CellRefiner is a PetscObject - dm_plex_cell_refiner chooses the refinement strategy - Removed SimplexToTensor stuff in favor of ToHex refiner - Most functions take DMPolytopeType instead of CellRefiner - CellRefinerInCellTest_Internal() - CellRefinerGetAffineTransforms_Internal() - CellRefinerGetAffineFaceTransforms_Internal()- DMForest now responds to DMPlexGetOverlap() and propagates its overlap to the underlying Plex- Use DMPlexComputeCellType_Internal() to classify a cell based only on topology- Added DMPlexGetSimplexOrBoxCells() to replace DMPlexGetInteriorCellStratum()- Added DM_POLYTOPE_POINT_PRISM_TENSOR- Added DMPolytopTypeGetDim() and DMPolyTopeTypeGetConeSize()- Added DMLabelSetStratumBounds()- Added DMPlexSetCellType()- Added celltypes to DMView()- Added DMPolytopeTypeGetNumVertices()- Added DMPlexCreateReferenceCellByType()- Added DMPolytopeTypeFromGmsh()- Made DMPlexRefineUniform() public
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>
Merge branch 'jed/promote-examples-tests-tutorials' [petsc/petsc!2610]* jed/promote-examples-tests-tutorials: Promote examples/{tests,tutorials}/ to {tests,tutorials}/
Added functionality to selectively filter PetscInfo() output based on calling class tomimic some OS system logs. New functionality includes:- Filter for a set of classes- Filter out a set of class
Added functionality to selectively filter PetscInfo() output based on calling class tomimic some OS system logs. New functionality includes:- Filter for a set of classes- Filter out a set of classes- Filter for MPI/PETSC_COMM_SELF- Filter for anything not on MPI/PETSC_COMM_SELF- Writing PetscInfo() output to new file- Appending output to existing PetscInfo() file- Any combination of the aboveCredit to Vaclav Hapla for raising the initial issue, helping design the eventual API, andsubstantially assisting in debugging.
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/
DMForest: minor
Doc: Text fixes
DM+Plex: Now classify cells by polytope type - Defined the polytope type of a cell. added names and special shortcutpointer like depth - Fixed DMLabelMakeValid() to optimize for contiguousruns of
DM+Plex: Now classify cells by polytope type - Defined the polytope type of a cell. added names and special shortcutpointer like depth - Fixed DMLabelMakeValid() to optimize for contiguousruns of points - Added cell polytope type label to DM - This needsspecial processing, like depth - Added DMPlexGetPointDepth(),DMPlexGetCellType(), DMPlexGetCellTypeLabel() - DMPlexComputeCellTypes()infers the cell type for all points using dim/depth/coneSize/ghostCells- DMPlexGetRawFace(Hybrid)_Internal() now takes the cell type. Thismeans we can unify the functions later. - Replaced switch(dim/coneSize)constructs with cell type
12345678910>>...16