Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running heat-equation.py example #122

Open
wearefor opened this issue Nov 11, 2023 · 0 comments
Open

Error when running heat-equation.py example #122

wearefor opened this issue Nov 11, 2023 · 0 comments

Comments

@wearefor
Copy link

When running the fenics heat-equation.py example, I encounter the following error

Traceback (most recent call last):
File "heat-equation.py", line 45, in
(times, computed_states, u) = main(guess_ic, annotate=True)
File "heat-equation.py", line 29, in main
solve(F == 0, u_next, J=derivative(F, u_next), annotate=annotate)
File "/home/user/anaconda3/envs/fenics2019jaxadjoint/lib/python3.8/site-packages/fenics_adjoint/solving.py", line 47, in solve
block = solve_block_type(*args, ad_block_tag=ad_block_tag, **sb_kwargs)
TypeError: init() missing 1 required positional argument: 'b'

See attached for the complete output and list of packages installed:

error.txt
condaenv.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant