Setup an Underworld 3 conda envrionment #169
Replies: 4 comments
-
I'm stuck with this because:
Could not solve for environment specs
The following package could not be installed
└─ uw3_env is not installable because it requires
├─ metis >=5.1.1,<5.2.0a0 , which can be installed;
└─ mumps-mpi >=5.6.2,<5.6.3.0a0 , which requires
└─ metis >=5.1.0,<5.1.1.0a0 , which conflicts with any installable versions previously reported.
I tried conda and mamba and both behave the same.
Fresh environment with python=3.10 and the same with python=3.11
L
Prof Louis Moresi.
+61 2 6125 5590 or +61 4 0333 1413
Editing online to clean this up
|
Beta Was this translation helpful? Give feedback.
-
Hi @julesghub - I'm also having problems when I do this on binder. I have, however, got a good recipe for the binder build which I can merge into dev. (Changes are all in the .binder directory) |
Beta Was this translation helpful? Give feedback.
-
Yeah I can look into this |
Beta Was this translation helpful? Give feedback.
-
The binder version is working (finally). It's a bit tricky to figure out which environment applies to which build phase but I did get it to work by building the uw3_env into the environment.yml file (early in the list) and ALSO (important) by specifying python 3.11 which is not the default in the current binder OS. It's working for the dev branch - you can check out all the examples that need surface integrals and they are OK. The PyVista visualisation is also working but I do advise client-side rendering with binder, otherwise it blows out the available memory quite easily: pl.show(jupyter_backend='client') This is set as the default but this does not seem to stick. We might need to force feed this to PyVista / binder for any 3D models or high-res cases. PS @julesghub |
Beta Was this translation helpful? Give feedback.
-
Command line instruction to setup a development conda environment for compiling and running underworld3.
The setup creates a conda env with jupyter-lab installed and visualisation enabled for x86 and arm achitectures.
Create a fresh conda environment and install dependencies.
Compile Underworld 3 and all viz dependencies 🚀
Notes:
Beta Was this translation helpful? Give feedback.
All reactions