-
Notifications
You must be signed in to change notification settings - Fork 40
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
upper case package issues with stack-stack-1.7.0 #1066
Comments
This is fortunately only a warning, but it is incredibly annoying. The reason you are seeing this now is that we have reverted a modification that we made to the spack develop code - previously we had used the case sensitive package names, but spack develop has always been using uppercase for the We've raised this with the spack developers (@AlexanderRichert-NOAA did) because it is apparently not the right thing to do. Hopefully they agree, or we put back in our customization in 1.8.0 that we used up to 1.6.0 (i.e. 1.7.0 will be the only release with this issue). |
@climbfuji All good, @AlexanderRichert-NOAA suggested that I open this issue. |
Thanks for the additional info. That must be something hardcoded like a I created this issue in spack develop spack/spack#43569 and also mentioned it in the their slack channel (https://spackpm.slack.com/archives/C5W7NKZJT/p1712752096643619). |
It's my pleasure, thanks so much for the speedy response! |
I've changed my mind. I would like to get this change reverted for 1.7.0 and fix the existing installations. There's a PR for this JCSDA/spack#421 - still need the green light from my spack-stack colleagues on this, though. |
Closed via #1068 |
Describe the bug
cmake function find_package essentially breaks due to upper case variables located in spack-stack/1.7.0
the warning message looks like this:
To Reproduce
git clone https://github.com/NOAA-GFDL/GFDL-VortexTracker.git
cd GFDL-VortexTracker
mkdir build && cd build
module use /mnt/lfs4/HFIP/hfv3gfs/role.epic/spack-stack/spack-stack-1.7.0/envs/ue-intel/install/modulefiles/Core/
module load stack-intel
module load cmake/3.28.1
module load szip
module load hdf5
module load netcdf
module load jasper
module load zlib-ng
module load libpng
module load g2
module load g2tmpl
module load bacio/
module load w3emc
module load w3nco
cmake .. --> warnings appear
make --> fails due to libraries not loading
Expected behavior
expected behavior is that the cmake successfully builds, compiles, and creates executables
System:
Jet and Hera, the steps on hera differ slightly but the results are the same
Additional context
these issues do not arise when using
/mnt/lfs4/HFIP/hfv3gfs/role.epic/spack-stack/spack-stack-1.6.0/envs/unified-env-rocky8/install/modulefiles/Core/
The text was updated successfully, but these errors were encountered: