-
Notifications
You must be signed in to change notification settings - Fork 167
Introducing alternative installation methods of firedrake powered by nix #4235
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
Comments
Good timing: #4193 We hope to have our first versioned release by the end of the month. |
If you want people to find your package you may want to signpost it here |
Can you have a try with my nur-fem repo following the README doc. After this nix-way installation method is tested and documented, i will open a pr to signpost it to Alternative installation methods. Looking forward your feedback. |
I have had a quick go in a Docker container and got to the end of the instructions but I have no idea how to use
The |
I have previously added a duplicated " in .bashrc file. see qbisi/nur-fem@e35fe1e. This mistake cause the direnv to not work. nix can be installed on any linux distribution including ubuntu/debian/arch/nixos and also macos. |
|
I previously removed mpi from the enviroment to test ABI compatibility of mpi4py with mpich/openmpi. you can run 'nix flake update' to use the latest nur-fem commit.
|
At the moment I don't really have the time to help with further debugging. If you could clean things up and provide an example of how to use everything (in parallel) then we would be very happy, and would definitely be happy to add something to the website mentioning it. Please note also that we don't really have the resources to take on maintenance of this. I assume that you are planning on doing that yourself? We will of course be happy to answer questions or fix bugs in Firedrake itself. By the way it might be sensible to rename this issue to something clearer. |
I will maintain the project myself since i am acitively using firedrake on my nixos system. |
It should be fixed now. I forgot to push the right commit to github. |
Just to let you know, we have now published the first Firedrake release. |
I am working on porting firedrake and its component to nixpkgs, those pr need time for review. Btw, i noted that firedrake is supposed to work on darwin platform. however, in nixpkgs, the dependency codepy (codepy -> loopy -> firedrake) should only work on linux platform. https://github.com/inducer/codepy/blob/3a0492ee2f29e325a28ea8aa049714a873d10649/README.rst?plain=1#L15 My question: how firedrake depend on loopy, Is loopy a dummy dependency of firedrake on darwin platform? |
Firedrake definitely needs loopy to work. I read that as saying that not all functionality of codepy is supported on darwin. The bits we want are available. |
Hi, i am nixpkgs maintainer working on support the whole firedrakeProject in nixpkgs.
For now, i have built a private recipe repo and binary cache for the unstable firedrake project.
See https://github.com/qbisi/nur-fem.
Nix is a powerful package manager that you can custom your own firedrake implemention by easy override/overlay.
e.g. in provided firedrake init template
you can uncomment those petsc ovrridable option and use your disired settings.
If your group have any plan to release a stable firedrake version, i can help packaging it on nixpkgs.
The text was updated successfully, but these errors were encountered: