if you would like to provide a docker version? #108
Replies: 8 comments 1 reply
-
Dear Aoming, We are currently doing a large refactoring to land a new version before APS. The new version will fix the issues :) Best, |
Beta Was this translation helpful? Give feedback.
-
Hi Aoming, Can I ask what issues you are currently having? I know Ludger has some things in the works, but I do want to clarify that as of last week I have built a new version of firedrake and successfully installed HydroGym using pip. The tutorials aren't working since the data files were generated under the old version of firedrake checkpointing (I just found this out yesterday), but if you go to the test folder and run |
Beta Was this translation helpful? Give feedback.
-
Hello Sam, Yes, I encounter an error when I install Firedfrake in the accordingDOCS:"python3 firedrake-install --venv-name=path/to/venv". And it shows that |
Beta Was this translation helpful? Give feedback.
-
rootdir: /cluster/home/xuzhiqin_10/lam/hydrogym/test ====================================================================================== ERRORS ======================================================================================= |
Beta Was this translation helpful? Give feedback.
-
Hi Prof, I choose other computer,but it shows thatCreating firedrake venv in '/liangaoming/hydrogym/third_party/firedrake/scripts/path/to/venv'. |
Beta Was this translation helpful? Give feedback.
-
update: Do you know how to fix? |
Beta Was this translation helpful? Give feedback.
-
Ah okay, if I read this correctly you're trying to install firedrake from a python binary file that was generated using miniconda. Firedrake is not compatible with conda environments at all. You can see the "System anti-requirements" sections of their installation guide for more details. They recommend removing conda from your system, but if you are actively using conda environments (which I think is a fair and very common practice nowadays) you should be able to download a docker image of firedrake that will be separate from your system. I haven't tested this in a while, but if you successfully build the docker image, you should be able to pip install hydrogym in that image. We recognize that this is a quite large hurdle to begin using firedrake/HydroGym, and perhaps another option could be to create a new user on your desktop that you use only for firedrake. I haven't tried this before, but myself and my collaborators don't see any reason why this wouldn't work so long as you don't install conda on that user. If you choose to go down this route, I recommend installing firedrake with Python3.10 since firedrake will install for python 3.8-3.11, but Hydrogym requires 3.10 in it's current state. If you do keep trying let me know how it goes! We hope to lower the barrier to entry soon with our next major update! Best, |
Beta Was this translation helpful? Give feedback.
-
Hello,
Prof.Steve, It seems that the firedrake has some problems with installing the environment.
I wonder if your group would like to provide a docker version that includes simulation software?
best,
aoming
Beta Was this translation helpful? Give feedback.
All reactions