# installation

**URL:** https://fenicsproject.discourse.group/c/installation/5.md?page=1

[Latest](https://fenicsproject.discourse.group/latest.md) · [Categories](https://fenicsproject.discourse.group/categories.md) · [Tags](https://fenicsproject.discourse.group/tags.md)

**Page:** 2

---

## [Wrong candidate paths to find PETSc shared library](https://fenicsproject.discourse.group/t/wrong-candidate-paths-to-find-petsc-shared-library/17362)

<div class="topic-metadata">

**Author:** [@TheauC](https://fenicsproject.discourse.group/u/TheauC)\
**Replies:** 5\
**Last updated:** [April 3, 2025, 6:44am UTC](https://fenicsproject.discourse.group/t/wrong-candidate-paths-to-find-petsc-shared-library/17362 "2025-04-03T06:44:44Z")

</div>

Hi everyone, I am attempting to install dolfinx following the instructions provided here:https://docs.fenicsproject.org/dolfinx/. However, I cannot use conda (due to company restrictions and the need for a license), and…

---

## [Build DOLFINx v0.9.0 from source on docker with demo run-time error](https://fenicsproject.discourse.group/t/build-dolfinx-v0-9-0-from-source-on-docker-with-demo-run-time-error/17334)

<div class="topic-metadata">

**Author:** [@chenyongxin](https://fenicsproject.discourse.group/u/chenyongxin)\
**Replies:** 3\
**Last updated:** [March 31, 2025, 11:01am UTC](https://fenicsproject.discourse.group/t/build-dolfinx-v0-9-0-from-source-on-docker-with-demo-run-time-error/17334 "2025-03-31T11:01:09Z")

</div>

I try to compile DOLFINx v0.9.0 from source on docker of Ubuntu-20.04. The reason for this is because I made some modification on the source code and the public machines (server and HPC) use relatively old kernel. So I n…

---

## [Build dolfinx v0.8.0 with Ubuntu 20.04 docker image](https://fenicsproject.discourse.group/t/build-dolfinx-v0-8-0-with-ubuntu-20-04-docker-image/17308)

<div class="topic-metadata">

**Author:** [@zsmb](https://fenicsproject.discourse.group/u/zsmb)\
**Replies:** 1\
**Last updated:** [March 26, 2025, 8:19am UTC](https://fenicsproject.discourse.group/t/build-dolfinx-v0-8-0-with-ubuntu-20-04-docker-image/17308 "2025-03-26T08:19:34Z")

</div>

docker images of dolfinx v0.8.0 on Dockerhub is build on Ubuntu 22.04, while old dolfinx (v0.2.0a0) is build on Ubuntu 20.04. how to build dolfinx v0.8.0 on Ubuntu 20.04 docker image? Or how to upgrad dolfinx from v0.2…

---

## [Basix Version 0.9.0 is Incompatible, but Version 0.10 does not exist](https://fenicsproject.discourse.group/t/basix-version-0-9-0-is-incompatible-but-version-0-10-does-not-exist/17189)

<div class="topic-metadata">

**Author:** [@ross](https://fenicsproject.discourse.group/u/ross)\
**Replies:** 1\
**Last updated:** [March 11, 2025, 3:49pm UTC](https://fenicsproject.discourse.group/t/basix-version-0-9-0-is-incompatible-but-version-0-10-does-not-exist/17189 "2025-03-11T15:49:23Z")

</div>

When installing Dolphinx on Linux from the C++ core, I get the following error after running cmake: CMake Error at CMakeLists.txt:347 (find\_package): Could not find a configuration file for package “Basix” that is com…

---

## [The programme is slower in HPC computer](https://fenicsproject.discourse.group/t/the-programme-is-slower-in-hpc-computer/17155)

<div class="topic-metadata">

**Author:** [@WjjSteve](https://fenicsproject.discourse.group/u/WjjSteve)\
**Replies:** 13\
**Last updated:** [March 6, 2025, 9:57pm UTC](https://fenicsproject.discourse.group/t/the-programme-is-slower-in-hpc-computer/17155 "2025-03-06T21:57:19Z")

</div>

I’ve been running simulations with a very fine mesh, resulting in a large number of degrees of freedom (approximately 2048 × 2048). On an HPC supercomputer, utilizing multiple cores accelerates the program compared to us…

---

## [Error using spack - (ver0.8dev)](https://fenicsproject.discourse.group/t/error-using-spack-ver0-8dev/14168)

<div class="topic-metadata">

**Author:** [@acino](https://fenicsproject.discourse.group/u/acino)\
**Replies:** 9\
**Last updated:** [March 3, 2025, 6:16am UTC](https://fenicsproject.discourse.group/t/error-using-spack-ver0-8dev/14168 "2025-03-03T06:16:33Z")

</div>

Hello, I get an installation error when I try building the main branch using spack. it seems that the python wheel is using the wrong cmake build the py-fenicsx-dolfinx. all the other packages required in the concreti…

---

## [What Are the Compatible Versions of PyVista, Gmsh, FEniCS, and Meshio in VS Code (WSL)?](https://fenicsproject.discourse.group/t/what-are-the-compatible-versions-of-pyvista-gmsh-fenics-and-meshio-in-vs-code-wsl/17122)

<div class="topic-metadata">

**Author:** [@SanderBuyse](https://fenicsproject.discourse.group/u/SanderBuyse)\
**Replies:** 2\
**Last updated:** [March 2, 2025, 2:00pm UTC](https://fenicsproject.discourse.group/t/what-are-the-compatible-versions-of-pyvista-gmsh-fenics-and-meshio-in-vs-code-wsl/17122 "2025-03-02T14:00:42Z")

</div>

Hello everyone, I am currently setting up an environment in VS Code within WSL that includes the following libraries: FEniCS PyVista Gmsh Meshio However, I have encountered multiple compatibility issues, including de…

---

## [Docker build issue 0.9.0\< version \<0.10.0](https://fenicsproject.discourse.group/t/docker-build-issue-0-9-0-version-0-10-0/16972)

<div class="topic-metadata">

**Author:** [@acino](https://fenicsproject.discourse.group/u/acino)\
**Replies:** 3\
**Last updated:** [February 9, 2025, 3:11pm UTC](https://fenicsproject.discourse.group/t/docker-build-issue-0-9-0-version-0-10-0/16972 "2025-02-09T15:11:22Z")

</div>

Hello everyone, I’m building my docker image from scratch because I need to enable the Fortran bindings for ADIOS2. I’m try to build latest commit in the main branch (797e47c7e8034). After building locally the dockerfil…

---

## [Unable to find Petsc library after ubuntu installation](https://fenicsproject.discourse.group/t/unable-to-find-petsc-library-after-ubuntu-installation/16886)

<div class="topic-metadata">

**Author:** [@kbpiper](https://fenicsproject.discourse.group/u/kbpiper)\
**Replies:** 2\
**Last updated:** [January 31, 2025, 2:58am UTC](https://fenicsproject.discourse.group/t/unable-to-find-petsc-library-after-ubuntu-installation/16886 "2025-01-31T02:58:12Z")

</div>

Attempting to run demo\_poisson after apt-install in Ubuntu with WSL. It seems necessary packages didn’t install? I receive this error, and am not sure where to start troubleshooting Traceback (most recent call last): …

---

## [UFCx could not be found (Ubuntu - source)](https://fenicsproject.discourse.group/t/ufcx-could-not-be-found-ubuntu-source/16870)

<div class="topic-metadata">

**Author:** [@derPaul](https://fenicsproject.discourse.group/u/derPaul)\
**Replies:** 9\
**Last updated:** [January 29, 2025, 4:26pm UTC](https://fenicsproject.discourse.group/t/ufcx-could-not-be-found-ubuntu-source/16870 "2025-01-29T16:26:55Z")

</div>

Hello there. I try to install dolfinx and have this problem: (fenics\_env) paul@PCxxx:~/dolfinx/cpp/build$ cmake .. -- Asking Python module FFCx for location of ufcx.h... CMake Error at /usr/share/cmake-3.28/Modules/Fin…

---

## [Install latest dev version from Spack installation](https://fenicsproject.discourse.group/t/install-latest-dev-version-from-spack-installation/14448)

<div class="topic-metadata">

**Author:** [@ordinary-slim](https://fenicsproject.discourse.group/u/ordinary-slim)\
**Replies:** 11\
**Last updated:** [January 22, 2025, 3:16pm UTC](https://fenicsproject.discourse.group/t/install-latest-dev-version-from-spack-installation/14448 "2025-01-22T15:16:18Z")

</div>

I completed the spack installation following the instructions in the README file of dolfinx and have installed version 0.7.2 on a cluster. I want to install the latest dev version. I don’t know much about spack. How to p…

---

## [No module named 'gmsh'](https://fenicsproject.discourse.group/t/no-module-named-gmsh/16720)

<div class="topic-metadata">

**Author:** [@ZhangQi](https://fenicsproject.discourse.group/u/ZhangQi)\
**Replies:** 6\
**Last updated:** [January 13, 2025, 8:45am UTC](https://fenicsproject.discourse.group/t/no-module-named-gmsh/16720 "2025-01-13T08:45:14Z")

</div>

Sorry to bother you! I want to ask about the download of Gmsh. Recently, I was going to use gmsh to draw a grid, when I called it, it would display No module named 'gmsh', but I have installed gmsh under fenicsx-env usin…

---

## [CFFI version and dolfinx installation (python)](https://fenicsproject.discourse.group/t/cffi-version-and-dolfinx-installation-python/16687)

<div class="topic-metadata">

**Author:** [@janmik](https://fenicsproject.discourse.group/u/janmik)\
**Replies:** 2\
**Last updated:** [January 8, 2025, 2:03pm UTC](https://fenicsproject.discourse.group/t/cffi-version-and-dolfinx-installation-python/16687 "2025-01-08T14:03:11Z")

</div>

Hi, The very last step of building fenicsx manually from source i.e. pip-installing the python-dolfinx includes installation of cffi, which returns: ERROR: ERROR: Failed to build installable wheels for some pyproject.t…

---

## [Installing FEniCSx using conda on Mac M1 and M2 chips](https://fenicsproject.discourse.group/t/installing-fenicsx-using-conda-on-mac-m1-and-m2-chips/16579)

<div class="topic-metadata">

**Author:** [@marko](https://fenicsproject.discourse.group/u/marko)\
**Replies:** 3\
**Last updated:** [December 30, 2024, 2:20pm UTC](https://fenicsproject.discourse.group/t/installing-fenicsx-using-conda-on-mac-m1-and-m2-chips/16579 "2024-12-30T14:20:31Z")

</div>

Hi, I installed FEniCSx using conda, exactly as instructed on my M1 macbook and M2 MacStudio. The python interface is working fine. However, when I run cmake in cpp/demo/poisson, I get the following error: ’ ’ ’ (feni…

---

## [Conda installation problems on m1 mac running macos 14.7.2](https://fenicsproject.discourse.group/t/conda-installation-problems-on-m1-mac-running-macos-14-7-2/16642)

<div class="topic-metadata">

**Author:** [@gideonsimpson](https://fenicsproject.discourse.group/u/gideonsimpson)\
**Replies:** 0\
**Last updated:** [December 29, 2024, 9:30pm UTC](https://fenicsproject.discourse.group/t/conda-installation-problems-on-m1-mac-running-macos-14-7-2/16642 "2024-12-29T21:30:40Z")

</div>

I was doing a fresh conda install on my system, and when it came time to get fenics installed with the command conda install -c conda-forge fenics-dolfinx mpich pyvista it just stalls: Channels: - conda-forge - defa…

---

## [How can I run FEniCSx in parallel using Singularity and openmpi?](https://fenicsproject.discourse.group/t/how-can-i-run-fenicsx-in-parallel-using-singularity-and-openmpi/16591)

<div class="topic-metadata">

**Author:** [@TomM](https://fenicsproject.discourse.group/u/TomM)\
**Replies:** 2\
**Last updated:** [December 20, 2024, 1:49pm UTC](https://fenicsproject.discourse.group/t/how-can-i-run-fenicsx-in-parallel-using-singularity-and-openmpi/16591 "2024-12-20T13:49:00Z")

</div>

I want to run FEniCSx on a HPC cluster using singularity. The cluster has openmpi/4.1.1 and singularity/3.11.3. I cannot use docker://dolfinx/dolfinx:stable because the mpi4py inside is build with MPICH, but my cluster …

---

## [Adios2 ubuntu 24.04 updates from fenics ppa problem](https://fenicsproject.discourse.group/t/adios2-ubuntu-24-04-updates-from-fenics-ppa-problem/16573)

<div class="topic-metadata">

**Author:** [@oleg100](https://fenicsproject.discourse.group/u/oleg100)\
**Replies:** 8\
**Last updated:** [December 19, 2024, 8:07am UTC](https://fenicsproject.discourse.group/t/adios2-ubuntu-24-04-updates-from-fenics-ppa-problem/16573 "2024-12-19T08:07:16Z")

</div>

After recent update from fenics ppa (it was libadios2 updates) paraview has been removed from system. The installation of paraview from apt is not available now: The following packages have unmet dependencies: libadio…

---

## [Can i install and use dolfin and fenicsx using ubuntu and jupyter?](https://fenicsproject.discourse.group/t/can-i-install-and-use-dolfin-and-fenicsx-using-ubuntu-and-jupyter/16471)

<div class="topic-metadata">

**Author:** [@Maria\_Rita\_Barbosa](https://fenicsproject.discourse.group/u/Maria_Rita_Barbosa)\
**Replies:** 2\
**Last updated:** [December 6, 2024, 11:19pm UTC](https://fenicsproject.discourse.group/t/can-i-install-and-use-dolfin-and-fenicsx-using-ubuntu-and-jupyter/16471 "2024-12-06T23:19:13Z")

</div>

Recently, I’ve tried to install Dolfin and FEniCSx using Ubuntu (I saw that I could do that on the internet), but actually, I need those packages to be imported in Jupyter. Now I know they are installed on my computer, b…

---

## [Issue with WSL Ubuntu installation](https://fenicsproject.discourse.group/t/issue-with-wsl-ubuntu-installation/16465)

<div class="topic-metadata">

**Author:** [@kbpiper](https://fenicsproject.discourse.group/u/kbpiper)\
**Replies:** 9\
**Last updated:** [December 6, 2024, 9:52pm UTC](https://fenicsproject.discourse.group/t/issue-with-wsl-ubuntu-installation/16465 "2024-12-06T21:52:06Z")

</div>

I think I am having an issue with versions. I’m able to get most of the way through the installation steps, but I get this error when I’m installing the python interface. I’ve cleared everything and restarted the install…

---

## [Error reading gmsh mesh](https://fenicsproject.discourse.group/t/error-reading-gmsh-mesh/16377)

<div class="topic-metadata">

**Author:** [@MatsievskiySV](https://fenicsproject.discourse.group/u/MatsievskiySV)\
**Replies:** 3\
**Last updated:** [November 28, 2024, 10:14am UTC](https://fenicsproject.discourse.group/t/error-reading-gmsh-mesh/16377 "2024-11-28T10:14:04Z")

</div>

Hello! I’m getting an error using gmsh importing function gmshio.read\_from\_msh when building DolfinX from source: AttributeError: type object 'CoordinateElement\_float32' has no attribute '\_\_qualname\_\_'. This seems like …

---

## [Does Fenicsx installation require a brand new Ubuntu installation?](https://fenicsproject.discourse.group/t/does-fenicsx-installation-require-a-brand-new-ubuntu-installation/16257)

<div class="topic-metadata">

**Author:** [@nopria](https://fenicsproject.discourse.group/u/nopria)\
**Replies:** 10\
**Last updated:** [November 18, 2024, 3:40pm UTC](https://fenicsproject.discourse.group/t/does-fenicsx-installation-require-a-brand-new-ubuntu-installation/16257 "2024-11-18T15:40:55Z")

</div>

Following installation instructions for Ubuntu in an almost brand new Ubuntu 24.04 installation on WSL2, I got: sudo apt install fenicsx Reading package lists... Done Building dependency tree... Done Reading state infor…

---

## [Install Fenicsx in a Ubuntu Python environment](https://fenicsproject.discourse.group/t/install-fenicsx-in-a-ubuntu-python-environment/16252)

<div class="topic-metadata">

**Author:** [@nopria](https://fenicsproject.discourse.group/u/nopria)\
**Replies:** 1\
**Last updated:** [November 9, 2024, 6:50pm UTC](https://fenicsproject.discourse.group/t/install-fenicsx-in-a-ubuntu-python-environment/16252 "2024-11-09T18:50:13Z")

</div>

If I install Fenicsx on Ubuntu (WSL2) with the suggested instructions sudo add-apt-repository ppa:fenics-packages/fenics sudo apt update sudo apt install fenicsx I’m not able to install some additional modules needed t…

---

## [Installation of dolfinx\_mpc on a cluster](https://fenicsproject.discourse.group/t/installation-of-dolfinx-mpc-on-a-cluster/13368)

<div class="topic-metadata">

**Author:** [@tuderic](https://fenicsproject.discourse.group/u/tuderic)\
**Replies:** 17\
**Last updated:** [October 11, 2024, 2:38am UTC](https://fenicsproject.discourse.group/t/installation-of-dolfinx-mpc-on-a-cluster/13368 "2024-10-11T02:38:41Z")

</div>

Hi Community, I want to install dolfinx\_mpc on a new high performance cluster. I tried using singularity, however, parallelization does not seem to work. I don’t know the reason for MPI not running correctly, but the pr…

---

## [Add commands to install FEniCSs on Windows on the home website](https://fenicsproject.discourse.group/t/add-commands-to-install-fenicss-on-windows-on-the-home-website/15979)

<div class="topic-metadata">

**Author:** [@WenyinWei](https://fenicsproject.discourse.group/u/WenyinWei)\
**Replies:** 8\
**Last updated:** [October 9, 2024, 10:19am UTC](https://fenicsproject.discourse.group/t/add-commands-to-install-fenicss-on-windows-on-the-home-website/15979 "2024-10-09T10:19:35Z")

</div>

https://fenicsproject.org/download/ Please help add commands to install on Windows, otherwise, people would try those commands for MacOS which does not work for Windows. According to Github README, the latest commands …

---

## [Adding ppa in debian fails](https://fenicsproject.discourse.group/t/adding-ppa-in-debian-fails/15857)

<div class="topic-metadata">

**Author:** [@MPenaR](https://fenicsproject.discourse.group/u/MPenaR)\
**Replies:** 12\
**Last updated:** [September 21, 2024, 11:30pm UTC](https://fenicsproject.discourse.group/t/adding-ppa-in-debian-fails/15857 "2024-09-21T23:30:28Z")

</div>

When trying to add the ppa in debian trixie whe following error is returned: $ sudo add-apt-repository ppa:fenics-packages/fenics Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 362, in \<mo…

---

## [No attribute '\_\_qualname\_\_' on mpi4py 3.1.6](https://fenicsproject.discourse.group/t/no-attribute-qualname-on-mpi4py-3-1-6/15813)

<div class="topic-metadata">

**Author:** [@MadNazgul](https://fenicsproject.discourse.group/u/MadNazgul)\
**Replies:** 4\
**Last updated:** [September 19, 2024, 7:55am UTC](https://fenicsproject.discourse.group/t/no-attribute-qualname-on-mpi4py-3-1-6/15813 "2024-09-19T07:55:15Z")

</div>

Dear all, I built in virtual environment with Python 3.10.14 dolfinx 0.8.0. I get this type of error \>\>\> from mpi4py import MPI \>\>\> mpi4py.MPI.Get\_version() (3, 1) \>\>\> from dolfinx import mesh \>\>\> domain = mesh.create…

---

## [Build 64bit petsc and dolfinx v0.8.0](https://fenicsproject.discourse.group/t/build-64bit-petsc-and-dolfinx-v0-8-0/15794)

<div class="topic-metadata">

**Author:** [@zsmb](https://fenicsproject.discourse.group/u/zsmb)\
**Replies:** 2\
**Last updated:** [September 13, 2024, 2:25pm UTC](https://fenicsproject.discourse.group/t/build-64bit-petsc-and-dolfinx-v0-8-0/15794 "2024-09-13T14:25:15Z")

</div>

I’m tring to build dolfinx v0.8.0 with 64bit petsc inside docker, but facing some problems. I follow this post (64-bit integer PETSc build in Dolfin-x - #6 by dokken) and modified some commands. docker run -ti dolfinx/…

---

## [No module named 'fenics' problem for pycharm](https://fenicsproject.discourse.group/t/no-module-named-fenics-problem-for-pycharm/15780)

<div class="topic-metadata">

**Author:** [@Deep\_Math](https://fenicsproject.discourse.group/u/Deep_Math)\
**Replies:** 2\
**Last updated:** [September 12, 2024, 1:43am UTC](https://fenicsproject.discourse.group/t/no-module-named-fenics-problem-for-pycharm/15780 "2024-09-12T01:43:56Z")

</div>

I first install python3, then I install fenics via sudo apt-get install software-properties-common sudo add-apt-repository ppa:fenics-packages/fenics sudo apt-get update sudo apt-get install fenics then I install pycha…

---

## [Installation of multiphenicsx](https://fenicsproject.discourse.group/t/installation-of-multiphenicsx/11365)

<div class="topic-metadata">

**Author:** [@psj1866](https://fenicsproject.discourse.group/u/psj1866)\
**Replies:** 22\
**Last updated:** [August 29, 2024, 5:25am UTC](https://fenicsproject.discourse.group/t/installation-of-multiphenicsx/11365 "2024-08-29T05:25:25Z")

</div>

Hello, I am trying to install multiphenicsx in the docker environment, which is used for dolfinx library. The motivation for installation is to use the Lagrange multiplier method in the variational formulation. I inst…

---

## [How to get pyvista to work in docker and VS code with .ipynb](https://fenicsproject.discourse.group/t/how-to-get-pyvista-to-work-in-docker-and-vs-code-with-ipynb/15666)

<div class="topic-metadata">

**Author:** [@HenrySuen](https://fenicsproject.discourse.group/u/HenrySuen)\
**Replies:** 1\
**Last updated:** [August 28, 2024, 1:40pm UTC](https://fenicsproject.discourse.group/t/how-to-get-pyvista-to-work-in-docker-and-vs-code-with-ipynb/15666 "2024-08-28T13:40:01Z")

</div>

I am using the dolfinx/dolfinx:v0.8.0 image in docker on Windows 10. I am following the Possion demo in here. I run import pyvista print(pyvista.global\_theme.jupyter\_backend) I get trame. I then run from dolfinx im…

[Previous page](https://fenicsproject.discourse.group/c/installation/5.md)

[Next page](https://fenicsproject.discourse.group/c/installation/5.md?page=2)
