![]() When trying to use Spack to build Intel TBB on the EOS network file system we use at CERN, I am facing the following error: ``` Launching the installer... Installation directory is not empty. The product cannot be installed into nonempty directory '/eos/home-s/sswatman/spack/opt/spack/linux-x86_64_v2/... intel-oneapi-tbb-2021.12.0-3jlx6hlr3z6di42f3qy35eizcse7u2tk'. ``` This error appears to happen because Spack tries to set `$HOME` to the prefix of the package, into which the Intel installer is also trying to install it's software. I've found that an easy fix is to set `$HOME` to a directory in the build stage instead, as this can be guaranteed to remain empty. |
||
---|---|---|
.. | ||
docs | ||
external | ||
llnl | ||
spack | ||
spack_installable |