spack: "spack load" broken with error "bash: /Modules/bin/modulecmd: No such file or directory"
Apparently, the current spack in the repo is broken on Ubuntu 18.04
Following the turorial fails:
git clone https://github.com/spack/spack.git
. spack/share/spack/setup-env.sh
spack install hdf5
git clone https://github.com/spack/spack.git . spack/share/spack/setup-env.sh spack install hdf5
Besides reporting the issue, I have the following questions:
- What can I do to recover my already compiled modules? I really hate to wait another day to have them compiled again, once downgrade to a working version of spack.
- Do you plan to start publishing a “stable” version even at the cost of a little outdated module?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 17 (8 by maintainers)
Commits related to this issue
- Fixed a typo in the name of the variables used to set-up modules fixes #8724 — committed to epfl-scitas/spack by alalazo 8 years ago
perhaps this problem is caused by _sp_module_prefix in
share/spack/setup-env.sh: 229and231, which maybe typos. @adamjstewartwhen I modified file
share/spack/setup-env.shand printed_sp_module_prefix, it showed nothing.then I tried
spack --print-shell-vars sh,modules, and the output showed that there was no_sp_module_prefix:so i did followings based on commit 25062d:
_sp_module_prefixof linesshare/spack/setup-env.sh: 229and231into module_prefix;. spack/share/spack/setup-env.shandspack load, it worked again.