FEniCS / dolfinx

Next generation FEniCS problem solving environment
https://fenicsproject.org
GNU Lesser General Public License v3.0
731 stars 177 forks source link

Error in using Spack to install dolfinx #2477

Closed tengzhang48 closed 1 year ago

tengzhang48 commented 1 year ago

Dear All,

I tried to follow the instruction of using Spack on a computer cluster. I got the following errors after installing "fenics-basix" and "xtensor":

==> Error: py-fenics-dolfinx-0.5.1-5bgklctlsxzijp3wncgml4jsijuhlhm4: Package was not installed ==> Error: Installation request failed. Refer to reported errors for failing package(s).

Did I miss some step?

Here are the commands.

"git clone https://github.com/spack/spack.git module purge . ./spack/share/spack/setup-env.sh spack env create fenicsx-env spack env activate fenicsx-env spack add py-fenics-dolfinx cflags="-O3" fflags="-O3" spack install"

Thanks.

Best, Teng

tengzhang48 commented 1 year ago

It is my fault. I should not use "module purge". I removed that command to restart the installation and successfully complete it. Thanks a lot. Best, Teng