Dear all,
I am new to using FEniCsx and I am eager to install it using conda.
I have a macOs machine.
Are there already installation guidelines as for legacy FEniCS?
Cheers
Philipp
Dear all,
I am new to using FEniCsx and I am eager to install it using conda.
I have a macOs machine.
Are there already installation guidelines as for legacy FEniCS?
Cheers
Philipp
See here.
This is the updated README from a PR that has not been merged yet.
Thanks a lot!
However, I will still have to install the c++ core and the dependencies before, isn’t it?
No, conda should take care of installation of all dependencies.
Yes, I had to install “libffi” still via conda install.
Now, it works!
I guess, one should add it to the conda package, no?
The missing cffi dependency should be added on conda-forge shortly: dolfinx requires cffi by minrk · Pull Request #13 · conda-forge/fenics-dolfinx-feedstock · GitHub
It’s also missing from dolfinx itself.
PR for adding it to DOLFINx has been added: Add CFFI to setup.py by jorgensd · Pull Request #2234 · FEniCS/dolfinx · GitHub
After an update dolfinx does not work properly anymore. It cannot find the JIT module:
File ~/opt/anaconda3/envs/dolfinx/lib/python3.10/site-packages/ffcx/codegeneration/jit.py:78, in get_cached_module(module_name, object_names, cache_dir, timeout):
ModuleNotFoundError: Unable to find JIT module.
Is anyone here familiar with that problem?
Thanks in advance for your help.
Could you try removing ~/.cache/fenics
if that is a folder on your computer.
thanks a lot! that helped a lot.