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

grib_util module bug #312

Closed
GeorgeGayno-NOAA opened this issue Mar 19, 2024 · 5 comments
Closed

grib_util module bug #312

GeorgeGayno-NOAA opened this issue Mar 19, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@GeorgeGayno-NOAA
Copy link
Contributor

I have been testing with the Rocky8 spack-stack on Hera. When I do the following commands:

module purge
module use -a /scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.6.0/envs/unified-env-rocky8/install/modulefiles/Core
module load stack-intel/2021.5.0
module display grib-util

I get the following:

....
setenv("GRIB2GRIB","/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.6.0/envs/unified-env-rocky8/install/intel/2021.5.0/grib-util-1.3.0-ms2iw3h/bin/grib2grib2")
setenv("TOCGRIB","/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.6.0/envs/unified-env-rocky8/install/intel/2021.5.0/grib-util-1.3.0-ms2iw3h/bin/tocgrib")
setenv("TOCGRIB2","/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.6.0/envs/unified-env-rocky8/install/intel/2021.5.0/grib-util-1.3.0-ms2iw3h/bin/tocgrib2")
setenv("TOCGRIB2SUPER","/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.6.0/envs/unified-env-rocky8/install/intel/2021.5.0/grib-util-1.3.0-ms2iw3h/bin/tocgrib2super")
setenv("WGRIB2","/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.6.0/envs/unified-env-rocky8/install/intel/2021.5.0/grib-util-1.3.0-ms2iw3h/bin/wgrib2")

wgrib2 is not part of grib_util. The bin directory contains wgrib and it works. So, I think the environment variable needs to be updated.

I did not check other machines.

@GeorgeGayno-NOAA GeorgeGayno-NOAA added the bug Something isn't working label Mar 19, 2024
@edwardhartnett
Copy link
Contributor

@AlexanderRichert-NOAA would this be a spack-stack problem? We don't set any module information in the project...

@edwardhartnett edwardhartnett self-assigned this Mar 22, 2024
@AlexanderRichert-NOAA
Copy link
Contributor

Yep, this is in the spack-stack config. No idea why. I'll put in a PR to remove that setting...

@AlexanderRichert-NOAA
Copy link
Contributor

The fix: JCSDA/spack-stack#1044

@edwardhartnett
Copy link
Contributor

Can I close this issue?

@AlexanderRichert-NOAA
Copy link
Contributor

Yes this can be closed, we're tracking this under spack-stack (and it's already fixed on most systems): JCSDA/spack-stack#1097

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants