-
Notifications
You must be signed in to change notification settings - Fork 47
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 build against wgrib2api on Orion and Hercules (spack-stack 1.6.0) #962
Comments
I wonder if that's because the wgrib2 build failed silently. Previously, we had to pin wgrib to a newer version (3.1.1) to avoid build errors on Hercules. With the last release, this wasn't necessary, but perhaps this was a false positive and the 2.0.8 build failed silently without causing spack install to abort. |
@DavidHuber-NOAA I'll start looking into this today |
Well, after Hercules recovered from the power outage ... Orion is offline today, too. |
This problem is also present on Orion. I'll update the description. |
Actually, it looks like the wrong version of wgrib2 is being loaded. The gfs-utils modulefile requests version 2.0.8, but the system version 3.1.1 is being loaded instead, which does not include the wgrib2api.mod module. I fixed this for Orion, but will need to work a little more on Hercules. Closing this issue and will track further work in NOAA-EMC/gfs-utils#43. |
Describe the bug
When attempting to build gfs-utils on Orion or Hercules with wgrib2api.mod, the compiler is unable to find the module. The gfs-utils branch used for this work is DavidHuber-NOAA:feature/ss160. This version does build on Hera. The gfs-utils module that uses the API is src/reg2grb2.fd/regdiag.f.
To Reproduce
Expected behavior
gfs-utils would be able to build against wgrib2api on all platforms.
System:
Hercules (possibly others, but not Hera)
Additional context
Found while upgrading the global workflow to spack-stack version 1.6.0 (NOAA-EMC/global-workflow#2195).
The text was updated successfully, but these errors were encountered: