-
Notifications
You must be signed in to change notification settings - Fork 2.4k
spack compiler info doesn't show non-external compilers #51681
Copy link
Copy link
Labels
Description
Steps to reproduce
I have two compilers installed - gcc 8.5.0 on the system, and [email protected] installed with spack. When I do a spack compiler list I see both compilers, but spack compiler find only lists the external compiler.
bash-4.4$ spack compiler list
==> Available compilers
-- gcc rhel8-x86_64 ---------------------------------------------
[e] [email protected] [+] [email protected]
bash-4.4$ spack compiler info gcc
gcc@=8.5.0 languages:='c,c++,fortran' arch=linux-rhel8-x86_64:
prefix: /usr
compilers:
c: /usr/bin/gcc
cxx: /usr/bin/g++
fortran: /usr/bin/gfortran
When I do a more specific query for gcc 13 (or 13.4.0), spack can't find it:
bash-4.4$ spack compiler info gcc@13
==> Error: No compilers match spec gcc@13
And a spack compiler find turns up no new compilers:
> spack compiler find
==> Found no new compilers
==> Compilers are defined in the following files:
/decp/oar.gfdl.sw/cew_spack/an009/v1.0-2025.02-allowv4/spack/etc/spack/packages.yaml
Error message
No response
Information on your system
- Spack: 1.0.2 (ee4990d)
- Builtin repo: spack/spack-packages@32c54f0
- Python: 3.11.11
- Platform: linux-rhel8-westmere
I am turning off local user configuration as part of this install, which has resulted in some non-standard path locations:
export SPACK_DISABLE_LOCAL_CONFIG=true
export SPACK_USER_CACHE_PATH=${SPACK_ROOT}/spack-dotfiles/.cache
General information
- I have run
spack debug reportand reported the version of Spack/Python/Platform - I have searched the issues of this repo and believe this is not a duplicate
- I have run the failing commands in debug mode and reported the output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done