Fortran: re-init destroyed petsc objects so that they are different from null objectsReported-by: Jose E. Roman <jroman@dsic.upv.es>
test PetscSFCreateByMatchingIndices
SF: rename SFCreateEmbeddedSF to SFCreateEmbeddedRootSF
SF: add an MPI_Op argument to SFBcast
Replace MPIU_REPLACE with MPI_REPLACESince we believe all MPI implementations support MPI_REPLACE
PetscSFView() never called viewer for the specific type (bug), hence many output files were incorrect.Added PetscSFView() support for basic MPI implementation and binary viewer saves communication
PetscSFView() never called viewer for the specific type (bug), hence many output files were incorrect.Added PetscSFView() support for basic MPI implementation and binary viewer saves communication data to binary file.This new viewer shows exactly how much data is sent from each rank to the other ranksallowing fiting various performanace models to the data.This uses MatView() to save the PetscSF data, but since Mat is above PetscSF in the software stackthe code will not work with multiple PETSc libraries. How should this be managed if one wishes to preserve thetraditionl PETSc algorithm stack?Commit-type: bug-fix, featureFunded-by: brain projectProject: brain projectspend 1hUpdate sfbasic.c save the transpose of the matrix since that indicates the sends for each rank which is easier to understandEnable PetscSFView_Basic_PatternAndSizes only with single library
show more ...
CHKERRQ() -> CHKERRMPI()
Fixes for the HIP backend to PetscSFThanks to @jedbrown for catching errors and motivating more testingSorting out ifdef/if logicThe logic with HIP and CUDA together is a little complicated.Ad
Fixes for the HIP backend to PetscSFThanks to @jedbrown for catching errors and motivating more testingSorting out ifdef/if logicThe logic with HIP and CUDA together is a little complicated.Adding and improving petscSF tests for hip backendImportant to add `diff_args: -j` to some tests
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
Remove vecnode
Add zvscat.c to makefile
Clean up vecscatter and define it as PetscSF
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
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
SF: fix a bug in device to host synchronization
Merge branch 'jed/promote-examples-tests-tutorials' [petsc/petsc!2610]* jed/promote-examples-tests-tutorials: Promote examples/{tests,tutorials}/ to {tests,tutorials}/
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/
12345