History log of /petsc/src/ts/tutorials/ex20adj.c (Results 26 – 41 of 41)
Revision Date Author Comments
# 1241a243 13-Feb-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-01-05/c99' into 'main'

Feature: C99 and C++11

See merge request petsc/petsc!4700


# 2c71b3e2 11-Feb-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

rename PetscAssert() -> PetscCheck() and PetscAssertDebug() -> PetscAssert()


# 9ace16cd 28-Jan-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

add PetscAssert() and PetscAssertFalse()


# 12bafbd6 09-Aug-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'hongzh/add-acms-support' into 'main'

Add support for CAMS

See merge request petsc/petsc!4111


# 533251d3 03-Jul-2021 Hong Zhang <hongzhang@anl.gov>

Add option -ts_trajectory_memory_type

- Add dev changes
- TSTrajectoryMemory: further savings for stiffly accurate schemes
- TSTrajectoryMemory: namespace private functions
- TSTrajectoryBasic: when

Add option -ts_trajectory_memory_type

- Add dev changes
- TSTrajectoryMemory: further savings for stiffly accurate schemes
- TSTrajectoryMemory: namespace private functions
- TSTrajectoryBasic: when the solution is the same as the last stage, no need to save both of them to disk.

Commit-type: feature
/spend 4h

show more ...


# 60f0b76e 28-Apr-2021 Hong Zhang <hongzhang@anl.gov>

Add matrix-free example for ex5adj and clean up ex5 examples

- Delete duplicative code for the ease of maintenance.
- Update output for the examples


# cc4f23bc 17-Dec-2020 Hong Zhang <hongzhang@anl.gov>

Add interface to libcams

- CAMS also work for stiffly-accurate methods. The last stage points to the solution vector ts->vec_sol. This feature is leveraged in CAMS checkpointing to reduce the memory

Add interface to libcams

- CAMS also work for stiffly-accurate methods. The last stage points to the solution vector ts->vec_sol. This feature is leveraged in CAMS checkpointing to reduce the memory cost.

- Add option -ts_trajectory_max_units_ram
- Added -ts_trajectory_max_units_ram and -ts_trajectory_max_units_disk to specify the number of available checkpointing units.
- Conceptualy a checkpoint may contain multiple checkpointing units (solution and stage values) of the same size.
- Users should use either max_units or max_cps, but not both at the same time.

Commit-type: feature
/spend 20h

show more ...


# bdea225a 30-Dec-2020 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2020-10-08/fix-mpi-error-codes' into 'master'

Convert MPI error type to PETSc error with string message for all MPI calls

See merge request petsc/petsc!3326


# ffc4695b 08-Oct-2020 Barry Smith <bsmith@mcs.anl.gov>

Convert MPI error type to PETSc error with string message for all MPI calls

Now 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 calls

Now 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 ...


# aed17035 28-Sep-2020 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/maint' into master


# 55c8c4c2 27-Sep-2020 Satish Balay <balay@mcs.anl.gov>

Merge branch 'hongzh/fix-ts-doc' into 'maint'

Fix docs for TS examples

See merge request petsc/petsc!3082


# 16924cb1 26-Aug-2020 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2020-08-16/fix-source-formatting' into 'master'

Turn on checkbadSource test to generate an error when found; fix all source code that causes errors

See merge request petsc/petsc

Merge branch 'barry/2020-08-16/fix-source-formatting' into 'master'

Turn on checkbadSource test to generate an error when found; fix all source code that causes errors

See merge request petsc/petsc!3064

show more ...


# 2da392cc 17-Aug-2020 Barry Smith <bsmith@mcs.anl.gov>

Turn on checkbadSource test to generate an error when found; fix all source code that causes errors

Commit-type: portability-fix, testing-fix, style-fix, feature, maintainability
/spend 1.5h


# 5ab1ac2b 21-Aug-2020 Hong Zhang <hongzhang@anl.gov>

Fix docs for TS examples


# 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 ...


12