Hi all,
I am trying to use the dolfin_adjoint package. I am using Fenics 2019.2.0.dev and I used the following command to install the package:
pip install --user git+https://github.com/dolfin-adjoint/pyadjoint.git@2019.1.0
I have also tried
pip install --user git+https://github.com/dolfin-adjoint/pyadjoint.git@master
When I try running any code which starts with:
from dolfin import *
from dolfin_adjoint import *
adj_checkpointing(strategy='multistage', steps=11,
snaps_on_disk=2, snaps_in_ram=2, verbose=True)
I receive the error:
NameError: name 'adj_checkpointing' is not defined
When I delete this, other features of dolfin_adjoint like compute_gradient and Control work, which means it is operational. When I looked at their Changelog there was nothing about adj_checkpointing. However, when I hover my mouse over adj_inc_timestep in their own latest example here, it doesn’t refer to any file where it should have been defined. I’d really appreciate it if you can help me with this issue.