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

gsi-addon-dev environment needed on gaea-c6 for GSI #1292

Closed
jswhit opened this issue Sep 10, 2024 · 17 comments
Closed

gsi-addon-dev environment needed on gaea-c6 for GSI #1292

jswhit opened this issue Sep 10, 2024 · 17 comments
Assignees
Labels
NOAA-EMC OAR-EPIC NOAA Oceanic and Atmospheric Research and Earth Prediction Innovation Center

Comments

@jswhit
Copy link

jswhit commented Sep 10, 2024

Is your feature request related to a problem? Please describe.
ufs now compiles on gaea-c6, thanks to #1130

Describe the solution you'd like
we also need GSI for cycling, which requires the gsi-addon-dev environment

@climbfuji climbfuji added NOAA-EMC OAR-EPIC NOAA Oceanic and Atmospheric Research and Earth Prediction Innovation Center labels Sep 10, 2024
@jswhit
Copy link
Author

jswhit commented Sep 10, 2024

I spoke too soon about ufs compiling - it apparently needs the upp-addon-dev environment which has not been built yet for c6

@jswhit
Copy link
Author

jswhit commented Sep 10, 2024

see also ufs-community/ufs-weather-model#2407

@RatkoVasic-NOAA
Copy link
Collaborator

@jswhit I just installed upp-addon on Gaea-C6:
/ncrc/proj/epic/spack-stack/c6/spack-stack-1.6.0/envs/upp-addon-env/install/modulefiles/Core

Next installations on Gaea (starting with 1.8.0) will be on:
/usw/spack-stack/c5/
/usw/spack-stack/c6/
There is possibility that we will install older version (1.6.0) to that disk, but that will be later.

@jswhit
Copy link
Author

jswhit commented Sep 10, 2024

thanks @RatkoVasic-NOAA. I saw that but didn't realize it was for c6 since it doesn't have "-c6" appended to the name. I'll try modifying the ufs_gaea modulefile for ufs and see if it compiles.

@jswhit
Copy link
Author

jswhit commented Sep 11, 2024

edit ufs_gaea.intel to use /ncrc/proj/epic/spack-stack/c6/spack-stack-1.6.0/envs/upp-addon-env/install/modulefiles/Core and stack-intel/2023.2.0 doesn't quite work (some modules, hdf5 and netcdf-c in particular, are not found)

@RatkoVasic-NOAA
Copy link
Collaborator

@jswhit can you point me to your modulefile which is using /ncrc/proj/epic/spack-stack/c6/spack-stack-1.6.0/envs/upp-addon-env/install/modulefiles/Core on Gaea C6.

@jswhit
Copy link
Author

jswhit commented Sep 11, 2024

@RatkoVasic-NOAA it is at /gpfs/f6/drsa-precip4/proj-shared/Jeffrey.S.Whitaker/ufs-weather-model-develop-atm/modulefiles/ufs_gaea.intel.lua. I only changed the module path (here's a git diff)

diff --git a/modulefiles/ufs_gaea.intel.lua b/modulefiles/ufs_gaea.intel.lua
index fb2eb49a..0f84248f 100644
--- a/modulefiles/ufs_gaea.intel.lua
+++ b/modulefiles/ufs_gaea.intel.lua
@@ -1,13 +1,13 @@
 help([[
   This module loads libraries required for building and running UFS Weather Model
-  on the NOAA RDHPC machine Gaea C5 using Intel-2023.1.0.
+  on the NOAA RDHPC machine Gaea C5 using Intel-2023.2.0.
 ]])

 whatis([===[Loads libraries needed for building the UFS Weather Model on Gaea ]===])

-prepend_path("MODULEPATH", "/ncrc/proj/epic/spack-stack/spack-stack-1.6.0/envs/upp-addon-env/install/modulefiles/Core")
+prepend_path("MODULEPATH", "/ncrc/proj/epic/spack-stack/c6/spack-stack-1.6.0/envs/upp-addon-env/install/modulefiles/Core")

-stack_intel_ver=os.getenv("stack_intel_ver") or "2023.1.0"
+stack_intel_ver=os.getenv("stack_intel_ver") or "2023.2.0"
 load(pathJoin("stack-intel", stack_intel_ver))

 stack_cray_mpich_ver=os.getenv("stack_cray_mpich_ver") or "8.1.25"
lines 1-21/21 (END)

@RatkoVasic-NOAA
Copy link
Collaborator

@jswhit I cannot access to the main directory, I'm not member of drsa-precip4 group:

Gaea:/ncrc/home2/Ratko.Vasic>ll -d /gpfs/f6/drsa-precip4/proj-shared/
drwxrws--- 3 root drsa-precip4 4096 Sep 05 2024 20:21:32 /gpfs/f6/drsa-precip4/proj-shared/

Can you please copy just your
/gpfs/f6/drsa-precip4/proj-shared/Jeffrey.S.Whitaker/ufs-weather-model-develop-atm/modulefiles
directory to your i.e. home directory: /ncrc/home2/Jeffrey.S.Whitaker

@jswhit
Copy link
Author

jswhit commented Sep 12, 2024

Done

@RatkoVasic-NOAA
Copy link
Collaborator

@jswhit
you only need one small change in your ufs_gaea.intel.lua file:
replace
stack_cray_mpich_ver=os.getenv("stack_cray_mpich_ver") or "8.1.25"
with
stack_cray_mpich_ver=os.getenv("stack_cray_mpich_ver") or "8.1.29"

@jswhit
Copy link
Author

jswhit commented Sep 13, 2024

thank you @RatkoVasic-NOAA that did the trick. If the gsi-addon-dev env can now be built for C6, I think I can make a similar change in the GSI modulefiles and get it to build.

@climbfuji
Copy link
Collaborator

Thanks @RatkoVasic-NOAA and @jswhit . Can we close this as completed?

@jswhit2
Copy link

jswhit2 commented Sep 17, 2024

still need the gsi-addon-dev environment for C6

@RatkoVasic-NOAA
Copy link
Collaborator

@jswhit it is already innstalled on Gaea C6:
/ncrc/proj/epic/spack-stack/c6/spack-stack-1.6.0/envs/gsi-addon/install/modulefiles/Core

@jswhit2
Copy link

jswhit2 commented Sep 17, 2024

ahh - sorry I didn't see that. Will you let you know today if I can use it to get GSI compiled

@jswhit2
Copy link

jswhit2 commented Sep 17, 2024

sort of works - the cmake configuration runs and the compilation starts, but then hangs. I'll file a gaea help ticket.

@jswhit2
Copy link

jswhit2 commented Sep 17, 2024

must have a been a filesystem issue - the compilation completes now. Thank you @RatkoVasic-NOAA, this issue can be closed.

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

No branches or pull requests

5 participants