Dolfinx_Installation from Source (C++/Cpp build)

As stated in the aforementioned link:

there are several dependencies that you need to install:

Required

  • C++ compiler (supporting the C++20 standard)
  • Basix C++ core
  • Boost, with the following compiled Boost components
    • timer
  • CMake [build dependency]
  • HDF5 (with MPI support enabled)
  • MPI supporting MPI standard version 3 or above.
  • pkg-config
  • pugixml
  • spdlog
  • UFCx [ufcx.h, provided by FFCx package or FFCx UFCx CMake install at ffcx/cmake/*]
  • At least one of ParMETIS 2, KaHIP or PT-SCOTCH 2

See for instance: dolfinx/docker/Dockerfile.test-env at main · FEniCS/dolfinx · GitHub
for instructions on how to install these on linux.