Style: replace "!rank" with "rank == 0"In SF tutorial ex1 (src/vec/is/sf/tutorials/ex1.c), add parentheses around "rank == 0". This is relevant because ! binds more tightly than +, but == binds les
Style: replace "!rank" with "rank == 0"In SF tutorial ex1 (src/vec/is/sf/tutorials/ex1.c), add parentheses around "rank == 0". This is relevant because ! binds more tightly than +, but == binds lesstightly, so the result of the computation would otherwise change.
show more ...
Fix warnings from PGI and clang compiler
requires: define -> requires: defined
Remove all double blank lines from sourceCommit-type: petsc-style/2h
SF: turn off some MPI3 win flavors when not supportedReported-by: Danyang Su <danyang.su@gmail.com>
F90: Encapsulate the usage of MPI in petsc.mod and import only needed definitions into other petsc modules.This requires an explicit use of petsc.mod [or mpi.mod or mpi_f18.mod] from user code
fix makefile include directive
SF: rename SFCreateEmbeddedSF to SFCreateEmbeddedRootSF
SF: add an MPI_Op argument to SFBcast
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
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
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
Fix wrong semicolons
Typos
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/
123