| #
1b2b9847
|
| 19-Aug-2020 |
Barry Smith <bsmith@mcs.anl.gov> |
Slightly improved the handling of PCFailedReason on multiple ranks
pc->failedreasonrank now contains the failed reason from the current rank pc->failedreason continues the unified common value colle
Slightly improved the handling of PCFailedReason on multiple ranks
pc->failedreasonrank now contains the failed reason from the current rank pc->failedreason continues the unified common value collected in KSPCheckNorm/Dot This parallel code can check the common value and be sure to do the same action on each process Also printed message now provide the accurate value instead of the value on rank 0
Changed KSPReasonView() and KSPReasonViewFromOptions() to KSPCOnvergeReasonView() and KSPConvergedReasonViewFromOptions()
Added the PetscViewerFormat argument to the public KSPReasonViewFromOptions() and removed the private function
Removed some off the PCFailedReaon processing code from KSPSolve_PREONLY since buggily assumed the same reason all ranks
The error message on KSP failure now also prints the PCFailedReason if appropriate
Needed to add a new alt file
Reported-by: Yu, Xiangyu <Xiangyu.Yu@bp.com>
show more ...
|
| #
c20d7725
|
| 22-Mar-2020 |
Jed Brown <jed@jedbrown.org> |
Merge branch 'jed/promote-examples-tests-tutorials' [petsc/petsc!2610]
* jed/promote-examples-tests-tutorials: Promote examples/{tests,tutorials}/ to {tests,tutorials}/
|
| #
c4762a1b
|
| 18-Mar-2020 |
Jed Brown <jed@jedbrown.org> |
Promote examples/{tests,tutorials}/ to {tests,tutorials}/
This shortens paths and improves consistency between test target names and paths to the source and output files. Most of the work was compl
Promote examples/{tests,tutorials}/ to {tests,tutorials}/
This shortens paths and improves consistency between test target names and paths to the source and output files. Most of the work was completed by this script, followed by mild cleanup of nonconforming cases.
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 fi done
git 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/
show more ...
|