-
Notifications
You must be signed in to change notification settings - Fork 261
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
Test ESMF 8.6.1 beta in UFS weather model #2230
Comments
@jkbk2004 May I ask if EPIC team can install the test library on hera? Thanks |
@RatkoVasic-NOAA can you install https://github.com/esmf-org/esmf/releases/tag/v8.6.1b04 to spack stack 1.6.0 location? Hecules or Hera might be a good starting point for this beta test. |
@jkbk2004 new version of esmf is still not in spack:
It cannot be installed as part of spack-stack. |
@RatkoVasic-NOAA I think you could still install with |
@RatkoVasic-NOAA @junwang-noaa @climbfuji If you need any help about installing beta snapshot from our side, just let us know. |
@uturuncoglu thanks! I installed esmf-8.6.1b04 on Hercules, under spack-stack-1.6.0 |
@RatkoVasic-NOAA That is great. Thanks for the update. |
I'm testing the esmf 8.6.1b04 on Hercules.
|
These are the changes I made to current develop branch: $ git diff
diff --git a/modulefiles/ufs_common.lua b/modulefiles/ufs_common.lua
index 1f395d97..f05ff8d4 100644
--- a/modulefiles/ufs_common.lua
+++ b/modulefiles/ufs_common.lua
@@ -10,17 +10,17 @@ local ufs_modules = {
{["netcdf-c"] = "4.9.2"},
{["netcdf-fortran"] = "4.6.0"},
{["parallelio"] = "2.5.10"},
- {["esmf"] = "8.5.0"},
+ {["esmf"] = "8.6.1bs4"},
{["fms"] = "2023.02.01"},
{["bacio"] = "2.4.1"},
{["crtm"] = "2.4.0"},
{["g2"] = "3.4.5"},
{["g2tmpl"] = "1.10.2"},
{["ip"] = "4.3.0"},
- {["sp"] = "2.3.3"},
+ {["sp"] = "2.5.0"},
{["w3emc"] = "2.10.0"},
{["gftl-shared"] = "1.6.1"},
- {["mapl"] = "2.40.3-esmf-8.5.0"},
+ {["mapl"] = "2.40.3-esmf-8.6.1b04"},
{["scotch"] = "7.0.4"},
}
diff --git a/modulefiles/ufs_hercules.intel.lua b/modulefiles/ufs_hercules.intel.lua
index 605fe579..63cfaa98 100644
--- a/modulefiles/ufs_hercules.intel.lua
+++ b/modulefiles/ufs_hercules.intel.lua
@@ -2,7 +2,7 @@ help([[
loads UFS Model prerequisites for Hercules/Intel
]])
-prepend_path("MODULEPATH", "/work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.5.1/envs/unified-env/install/modulefiles/Core")
+prepend_path("MODULEPATH", "/work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.6.0/envs/unified-env/install/modulefiles/Core")
stack_intel_ver=os.getenv("stack_intel_ver") or "2021.9.0"
load(pathJoin("stack-intel", stack_intel_ver))
|
@DusanJovic-NOAA can you check /work2/noaa/stmp/jongkim/stmp/jongkim/FV3_RT/rt_3264281/cpld_control_p8_intel ? intel runs ok. Setup is at /work/noaa/epic/jongkim/UFS-RT/hercules/pr-2093/modulefiles. Luckily mapl 2.40.3-esmf-8.5.0 was used ok somehow but mapl should be built with the esmf beta snapshot. |
@DusanJovic-NOAA there is typo in your ufs_common: |
Here is my ufs_common:
|
Thanks. I fixed the typo and I'm rerunning the test. But correct modules were loaded despite the typo, which is weird. |
@DusanJovic-NOAA , NOTE , mapl in this configuration is compiled with esmf@8.6.0 (although name suggests differently). This was just test if esmf@8.6.1b04 is working. mapl@2.40.3 didn't compile with new esmf. I'm looking into this with Matt. |
|
@DusanJovic-NOAA What is difference between your and Jong's run? |
I don't know. My working directory is here: /work/noaa/fv3-cam/djovic/ufs/e861/ufs-weather-model. Maybe the fact that @jkbk2004 used mapl 2.40.3-esmf-8.5.0? Not mapl 2.40.3-esmf-8.6.1b04 |
You can try with this ufs_common:
Also:
|
I can, but that will load esmf-8.5.0 not 8.6.1. And we should test 8.6.1, we know 8.5.0 works fine. |
What's the issue with compiling mapl using esmf 8.6.1? |
Isn't ESMF 8.6.x backward compatible with the previous release, ESMF 8.5.0? |
I think the ESMF target definition has changed, which requires updates to the mapl cmake config (lowercase vs uppercase or something like that). |
If update in the ESMF requires update in the MAPL then we should also update it. We should not be compiling 2.40.3 if it doesn't work with the latest ESMF. |
We are waiting for that tag (and they were hoping to wait for an official release of esmf as opposed to a beta snapshot ...) I'll ping our NASA colleagues and ask them to create the tag. Will let you know when I hear back. |
Hmm. MAPL people are waiting on the official ESMF release. And ESMF people are waiting on us to test a beta snapshot before they make a release, and we are waiting on MAPL tag, that is waiting on ESMF. circulus vitiosus. |
GMAO says the tag will be ready next week |
I hope I can make a new release of MAPL next week. But because of the requirement for ESMF 8.6.1 (beta or not), I'll need to build new libraries on all our clusters, etc. so that our devs don't have issues building with it (since MAPL will require ESMF 8.6.1). Now, if you are wanting to test, you could try out this commit GEOS-ESM/MAPL@5f91a5c. This is my current draft PR (see GEOS-ESM/MAPL#2682). This is where I'm tracking the changes to MAPL. You can also see my spack testing changes here: spack/spack@develop...mathomp4:spack:feature/mathomp4/test-mapl-build You'll note it says MAPL v5 only because I wanted to make sure I was "safe" when doing the testing. And you'll note the commit for v5 is different since this was a couple weeks ago. |
I ran the control_p8 test with esmf 8.6.1b04 for 240 hours creating outputs every hour. output_fh line for that configuration is longer than 1024 characters, which means version 8.6.1 will fix #1121. |
@uturuncoglu @danrosen25 The ESMF 8.6.1b04 testing is done in UFS and the fix works. Thanks. |
Note: We are close to getting ESMF 8.6.1b04 in GEOS land. I encountered a fun bug with GCC 13 that we had to figure out today, but hopefully next week I can release MAPL 2.46 and all is well. |
Description
The ESMF 8.6.1 beta has a fix for issue #1121, 1024 character limit is removed. ESMF team is asking the confirmation that this fix resolved the issue reported in UFS weather model.
Solution
Alternatives
Related to
The text was updated successfully, but these errors were encountered: