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: 2 comments 1 reply
-
@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.
The CMake that is installed by PETSc isn't on the
PATH
. We should probably detect this and set the CMake installed by PETSc to be the CMake we use in the rest of the install script.A quick fix would be to activate the Firedrake virtual environment, install libsupermesh manually and then update, by running: