Documentation fixes
Merge remote-tracking branch 'origin/release'
petscviewer: fix the fortran bindings of XXXViewFromOptions when called with obj=PETSC_NULL_XXX
PetscRandom: add CURAND support
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
show more ...
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
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.
Remove usage of PETSC_HAVE_FORTRAN_STDCALL, PETSC_BLASLAPACK_STDCALL, HAVE_FORTRAN_MIXED_STR_ARG flags - as Compaq f90 compiler is no longer supported
Sys: Replace 0 -> NULL for pointers
Fix item list in manpages of XXXViewFromOptions
prototype for ViewFromOptions macro-->functions
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 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
Fixes for begining of users manual and a variety of webpages including manual pagesCommit-type: bug-fix, documentation
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>
Remove memory leaks of XXXRegister() is called but XXX object is never usedThis means adding YYYInitialPackage() at the beginning of XXXRegister() routinesMinor fixes of missing prototypesCommi
Remove memory leaks of XXXRegister() is called but XXX object is never usedThis means adding YYYInitialPackage() at the beginning of XXXRegister() routinesMinor fixes of missing prototypesCommit-type: style-fixReported-by: Jed Brown <jed@jedbrown.org>Thanks-to: Fande Kong <fande.kong@inl.gov>
Log: various fixes and cleanups- Reorganize declarations in petsclog.h- Better -log_exclude, now applies to all registered stages- Minor fixes to implementation of -info_exclude- PCASM: Log appl
Log: various fixes and cleanups- Reorganize declarations in petsclog.h- Better -log_exclude, now applies to all registered stages- Minor fixes to implementation of -info_exclude- PCASM: Log apply-on-blocks KSP solves- Rename PetscLogDestroy() -> PetscLogFinalize() and hide it from the API
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/
Consistent handling of command line options -info_exclude and -log_exclude
fix formatting of manual pageCommit-type: documentationReported-by: Jaroslaw Piwonski <jpi@informatik.uni-kiel.de>
PetscRandomView(): use `%ul` for unsigned long
PetscRandom: added wrapper for Random123
Minor cleanup, remove some outdated code, remove unneeded constructs, improve manual pages slightly, add missing test caseTime: 2.5 hours
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>
1234567