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

atan_2 renamed to atan2 #188

Open
dmitryshribak opened this issue Sep 11, 2024 · 4 comments
Open

atan_2 renamed to atan2 #188

dmitryshribak opened this issue Sep 11, 2024 · 4 comments

Comments

@dmitryshribak
Copy link

ImportError: cannot import name 'atan_2' from 'ufl' (~/Hydrogym/firedrake/src/ufl/ufl/init.py)

Which version of Firedrake are you using and how do I run it?

@jcallaham
Copy link
Collaborator

Looks like the name was changed to atan2 here:

firedrakeproject/ufl@8f44275

Probably the most reliable way to ensure everything is compatible is to use the Docker containers as described here.
The code is based on the version of Firedrake available in that container, which was last built 7 months ago, so probably Firedrake_20231027

@ludgerpaehler should we update the dev container sometime soon? Might break a few things like this, but shouldn't be too hard to fix.

@jcallaham jcallaham changed the title No compatibility with Firedrake atan_2 renamed to atan2 Sep 11, 2024
@dmitryshribak
Copy link
Author

How do I use the docker container? I am currently using PyCharm with a remote dev system

@ludgerpaehler
Copy link
Collaborator

I'll regenerate the Docker images tomorrow-ish, then you should be able to use them again normally.

PyCharm should allow you to boot into a Docker container on a remote machine, but you may have to first start the container, and then attach PyCharm to it afterwards.

@dmitryshribak
Copy link
Author

I have the docker working, but now the examples do not have solvers? What solver should I use if not IPCS?

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

3 participants