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

Update g2tmpl to 1.12.0 on NOAA-Cloud (CSPs) #1183

Closed
weihuang-jedi opened this issue Jul 8, 2024 · 9 comments
Closed

Update g2tmpl to 1.12.0 on NOAA-Cloud (CSPs) #1183

weihuang-jedi opened this issue Jul 8, 2024 · 9 comments
Assignees
Labels
OAR-EPIC NOAA Oceanic and Atmospheric Research and Earth Prediction Innovation Center

Comments

@weihuang-jedi
Copy link

Can we update g2tmpl within spack-stack on CSPs to 1.12.0?

The current develop branch on CSPs has problem to compile:

./compile_upp.sh
Building for machine noaacloud, compiler intel
Lmod has detected the following error: The following module(s) are unknown: "g2tmpl/1.12.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 "g2tmpl/1.12.0"

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

Executing this command requires loading "g2tmpl/1.12.0" which failed while processing the following module(s):

Module fullname Module Filename


upp_common /contrib/Wei.Huang/src/global-workflow-cloud/sorc/ufs_model.fd/FV3/upp/modulefiles/upp_common.lua
noaacloud /contrib/Wei.Huang/src/global-workflow-cloud/sorc/ufs_model.fd/FV3/upp/modulefiles/noaacloud.lua
Current on CSPs, we have:
[Wei.Huang@wei1epic2azure3slurm-85 c48atm]$ module spider g2tmpl

g2tmpl: g2tmpl/1.10.2

If we force to use g2tmpl/1.10.2, we got error:
/contrib/Wei.Huang/src/global-workflow-cloud/sorc/ufs_model.fd/FV3/upp/sorc/ncep_post.fd/grib2_module.f(502): error #6580: Name in only-list does not exist or is not accessible. [G2SEC4_TEMP9]
g2sec4_temp0,g2sec4_temp8,g2sec4_temp9,g2sec4_temp44, &
-----------------------------------------------------^
/contrib/Wei.Huang/src/global-workflow-cloud/sorc/ufs_model.fd/FV3/upp/sorc/ncep_post.fd/grib2_module.f(503): error #6580: Name in only-list does not exist or is not accessible. [G2SEC4_TEMP46]
g2sec4_temp46,g2sec4_temp48,g2sec5_temp0,g2sec5_temp2, &
---------------------------^
compilation aborted for /contrib/Wei.Huang/src/global-workflow-cloud/sorc/ufs_model.fd/FV3/upp/sorc/ncep_post.fd/grib2_module.f (code 1)
make[2]: *** [sorc/ncep_post.fd/CMakeFiles/upp.dir/grib2_module.f.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [sorc/ncep_post.fd/CMakeFiles/upp.dir/all] Error 2
make: *** [all] Error 2

@climbfuji
Copy link
Collaborator

@weihuang-jedi This request was made to us in the past, and for this purpose we installed an addon environment called upp-env for spack-stack-1.6.0. I don't have access to your NOAA CSPs, but on S4 these directories = environments exist in spack-stack-1.6.0/envs:

-bash-4.2$ ls -l envs/
total 46
drwxr-xr-x 6 jedipara domain users 11776 Jan  3  2024 gsi-addon-env
drwxr-xr-x 6 jedipara domain users 11776 Jan  2  2024 unified-env
drwxr-xr-x 7 jedipara domain users 11776 Apr 24 17:13 upp-addon-env

This should be the same on ParallelWorks. If you can locate upp-addon-env, please try to use that. It's the same as unified-env, except that it has g2tmpl@1.12.0.

@climbfuji climbfuji added the OAR-EPIC NOAA Oceanic and Atmospheric Research and Earth Prediction Innovation Center label Jul 8, 2024
@weihuang-jedi
Copy link
Author

weihuang-jedi commented Jul 8, 2024 via email

@climbfuji
Copy link
Collaborator

@natalie-perlin Can you fix this, please?

@natalie-perlin
Copy link
Collaborator

natalie-perlin commented Jul 9, 2024

@climbfuji - somebody from the SI team will install upp-addon-env on NOAA CSP. Where is the best place to find directions (any specific PRs?)

@climbfuji
Copy link
Collaborator

See #1087

@weihuang-jedi
Copy link
Author

On CSPs, please install at: /contrib/spack-stack/spack-stack-1.6.0/envs

@natalie-perlin
Copy link
Collaborator

natalie-perlin commented Jul 12, 2024

@weihuang-jedi @climbfuji -
Installation of upp-addon-env completed for AWS, GCloud, and Azure ( for CentOS )

A chained environment with g2tmpl/1.12.0 is installed in
/contrib/spack-stack/spack-stack-1.6.0/envs/upp-addon-env

@climbfuji
Copy link
Collaborator

Thanks @natalie-perlin ! Closing this, please reopen if there are still issues.

@weihuang-jedi
Copy link
Author

Thank you @natalie-perlin !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OAR-EPIC NOAA Oceanic and Atmospheric Research and Earth Prediction Innovation Center
Projects
None yet
Development

No branches or pull requests

3 participants