Fix Input/Output/Parameter keywords in manpages
Merge remote-tracking branch 'origin/release'
Begin adding missing descriptions to manual pagesCommit-type: bug-fix, docs-onlyReported-by: sowing error detection
Update badsource rules- Zero or more spaces are not allowed for more returning types- zero spaces not allowed for for|if|while
Remove all double blank lines from sourceCommit-type: petsc-style/2h
Linter using libClang that checks PetscValidHeaderSpecifcType, PetscValidHeaderSpecific, PetscValidHeader, PetscValid[XXX]Pointer, PetscValidType, PetscCheckSameComm, PetscValidLogicalCollectiveXXX f
Linter using libClang that checks PetscValidHeaderSpecifcType, PetscValidHeaderSpecific, PetscValidHeader, PetscValid[XXX]Pointer, PetscValidType, PetscCheckSameComm, PetscValidLogicalCollectiveXXX for validity. Automatically generates diff files for problems with a known solution.
show more ...
TS examples for simple collision operators with PIC
Fix more warnings in PGI compiler with complex scalars
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
Pass PetscDrawSetSave() and PetscDrawSetSaveFinalImage() to PetscViewerGetSubViewer_Draw()Otherwise MatView() on parallel matrices, for example, will not generate an image fileCommit-type: bug-fi
Pass PetscDrawSetSave() and PetscDrawSetSaveFinalImage() to PetscViewerGetSubViewer_Draw()Otherwise MatView() on parallel matrices, for example, will not generate an image fileCommit-type: bug-fix/spend 30mReported-by: Frank Bramkamp <bramkamp@nsc.liu.se>
Fix warnings in NVIDIA compilers (formerly PGI): unreachable statement
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
PetscBinaryWrite: Remove `istemp` boolean flag
Remove usage of PETSC_HAVE_FORTRAN_STDCALL, PETSC_BLASLAPACK_STDCALL, HAVE_FORTRAN_MIXED_STR_ARG flags - as Compaq f90 compiler is no longer supported
Merge from doc-fixes branch
Fixes for doctext update
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
Fixed out-dated URLS using make checkbadURLS REPLACE=1One manual fix of https://en.wikipedia.org/wiki/Buckingham_π_theorem since the automatic tool dropped the first _ for some reasonManual fix of
Fixed out-dated URLS using make checkbadURLS REPLACE=1One manual fix of https://en.wikipedia.org/wiki/Buckingham_π_theorem since the automatic tool dropped the first _ for some reasonManual fix of //faq.html since the automatic tool incorrectly replaced /faq.html to //faq.html in some locationsThese are largely updates of http to https but have a variety of other website location changesOnce this branch is in master individual developers can run make checkbadURLS and fix URLs related to their projects manuallyCommit-type: bug-fix, documentation
dmnetwork: add xmin, xmax to DMNetworkMonitorAdd()add PETSC_VIEWER_DRAW_LG_XRANGE and update VecView_Seq_Draw_LG()Requested-by: "Betrie, Getnet" <gbetrie@anl.gov>Suggested-by: "Smith, Barry F."
dmnetwork: add xmin, xmax to DMNetworkMonitorAdd()add PETSC_VIEWER_DRAW_LG_XRANGE and update VecView_Seq_Draw_LG()Requested-by: "Betrie, Getnet" <gbetrie@anl.gov>Suggested-by: "Smith, Barry F." <bsmith@mcs.anl.gov>
Add if (*ierr) return checks for all Fortran stubs that utilize FREECHAR()Otherwise the ierr is overwritten by the FREECHAR() thus returning a zero error code when it should notCommit-type: bug-f
Add if (*ierr) return checks for all Fortran stubs that utilize FREECHAR()Otherwise the ierr is overwritten by the FREECHAR() thus returning a zero error code when it should notCommit-type: bug-fixReported-by: Tim Steinhoff <kandanovian@gmail.com>
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/
Change PetscStrncat() to PetscStrlcat() to match BSD API where l represents total lengthUpdate many uses of PetscStrcpy() and PetscStrcat() to the safer PetscStrncpy() and PetscStrlcat()Commit-ty
Change PetscStrncat() to PetscStrlcat() to match BSD API where l represents total lengthUpdate many uses of PetscStrcpy() and PetscStrcat() to the safer PetscStrncpy() and PetscStrlcat()Commit-type: style-fix, featureThanks-to: Jed Brown
Remove handling of error code from PetscPClose() since some systems do not reliably return it.Commit-type: portability-fix
123456789