Firedrake installation on Ubuntu 20.04 - cmake/libsupermesh issues #3374
-
I've tried to install firedrake on a new workstation (Ubuntu 20.04 OS) but have run into problems. I attach the relevant logs: The issue initially seemed to be with cmake so I started from scratch and pre-installed the latest version (3.28) before installing Firedrake again, but it seemed to ignore it when building Firedrake. Instead I just updated cmake after installing Firedrake and tried to do firedrake-update instead, which seemed to solve that problem (I think). Now, however, I have an issue with not finding libsupermesh-c.h, which is definitely present in firedrake/src/libsupermesh/include. firedrake-update.log attached: Any help would be massively appreciated! I am using Python 3.8, I am not using Anaconda and I am using the latest firedrake install script. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
@JDBetteridge you tinkered with the cmake bits of libsupermesh recently. Do you have any insights? It appears to be picking up the wrong cmake executable as earlier in the script cmake 3.27.9 is installed by PETSc. |
Beta Was this translation helpful? Give feedback.
-
The CMake that is installed by PETSc isn't on the A quick fix would be to activate the Firedrake virtual environment, install libsupermesh manually and then update, by running:
Double check this, I might have made a typo |
Beta Was this translation helpful? Give feedback.
-
I tried a fresh install of Firedrake this morning and bumped into the same problem, except this time the above solution no longer seems to work. I've attached the relevant files. Python 3.11 & Ubuntu 20.04. firedrake-install.log Could you please let me know how to link the |
Beta Was this translation helpful? Give feedback.
I think you simply need to run
firedrake-install
will be deprecated within the next month or so, at which point this should stop being an issue.