I ran spack install --overwrite <spec>, where <spec> was copied from the spack.yaml environment file. The command reports that the spec will be newly installed, even though the hash is shown to be installed by spack find.
Entering "y" to install the package does correctly try and install the spec.
$ spack install --overwrite raja@apollo+cuda~shared~openmp cuda_arch=70 %clang@10.0.1 ^apollo@develop%clang@10.0.1 ^callpath%gcc ^spectrum-mpi ^opencv+vsx%gcc
==> The following package specs will be reinstalled:
-- linux-rhel7-ppc64le / clang@10.0.1 ---------------------------
o62ywpb raja@apollo%clang +cuda~openmp~shared build_type=RelWithDebInfo cuda_arch=70
==> The following package specs are not installed and the --overwrite flag was given. The package spec will be newly installed:
-- linux-rhel7-ppc64le / clang@10.0.1 ---------------------------
o62ywpb raja@apollo%clang +cuda~openmp~shared build_type=RelWithDebInfo cuda_arch=70
I ran
spack install --overwrite <spec>
, where<spec>
was copied from the spack.yaml environment file. The command reports that the spec will be newly installed, even though the hash is shown to be installed by spack find.Entering "y" to install the package does correctly try and install the spec.
Steps to reproduce the issue
Error Message
No error, but incorrect output:
spack find shows that that spec is installed:
Additional information
spack debug report
and reported the version of Spack/Python/Platform