Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot load the gnu compiling environment using spack-stack 1.6.0 on hera #1520

Open
guoqing-noaa opened this issue Feb 17, 2025 · 2 comments
Assignees
Labels
bug Something is not working

Comments

@guoqing-noaa
Copy link

Describe the bug

I found that today I could NOT load the gnu compiling environment using spack-stack 1.6.0 on hera. The error information is as follows:

module load stack-gcc/9.2.0
Lmod has detected the following error:  The following module(s) are unknown: "stack-gcc/9.2.0"

Please check the spelling or version number. Also try "module spider ..."
It is also possible your cache file is out-of-date; it may help to try:
  $ module --ignore_cache load "stack-gcc/9.2.0"

Also make sure that all modulefiles written in TCL start with the string #%Module

when running module avail stack, only stack-intel/2021.5.0 is available.

But I have no problem to load stack-gcc/9.2.0 early last week.

To Reproduce
On Hera:

module use /contrib/spack-stack/spack-stack-1.6.0/envs/unified-env-rocky8/install/modulefiles/Core
module load stack-gcc/9.2.0

Expected behavior
The gnu compiling environment can be successfully loaded as before.

System:
hera

Additional context
I can load ``stack-gcc/9.2.0` early last week without a problem and successfully built and ran RDASApp on Hera. So something has been changed recently.

@guoqing-noaa guoqing-noaa added the bug Something is not working label Feb 17, 2025
@ulmononian
Copy link
Collaborator

@guoqing-noaa we will take a look on the epic side and get back to you asap

@RatkoVasic-NOAA
Copy link
Collaborator

@guoqing-noaa

Current GNU installation is here (example from UFS-WM):
https://github.com/ufs-community/ufs-weather-model/blob/develop/modulefiles/ufs_hera.gnu.lua

I have new PR, and soon GNU for WM will switch to use like this:
https://github.com/RatkoVasic-NOAA/ufs-weather-model/blob/Hera-scratch4/modulefiles/ufs_hera.gnu.lua
(those both are for [email protected])

There is possibility you were using this:
/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.6.0/envs/fms-2024.01/install/modulefiles/Core/stack-gcc/9.2.0.lua
and NOT this:
/contrib/spack-stack/spack-stack-1.6.0/envs/unified-env-rocky8/install/modulefiles/Core/
(we never officially used spack-stack-1.6.0 on /contrib directory, especially NOT one with old [email protected]).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working
Projects
None yet
Development

No branches or pull requests

3 participants