-
Notifications
You must be signed in to change notification settings - Fork 48
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
[INSTALL]: install ESMF 8.6.1 and MAPL 2.46.2 in spack-stack 1.6.0 #1168
Comments
We need to do #1157 first, then this. |
#1157 was merged, so we can go ahead with this. Unlikely it will happen before the 4th of July weekend. Many people will be on leave. |
Below are the instructions and a list of platforms / assigned spack-stack installers: Instructions
with
in the List of platforms / installersONLY TICK IF YOU'VE ALSO FIXED THE GRIB-UTILS MODULE FOR WGRIB ONLY DO THIS FOR THE BASE UNIFIED-ENV - IGNORE THE ADDON ENVS
|
@climbfuji @AlexanderRichert-NOAA @jkbk2004 @junwang-noaa i installed a chained env based on 1.6.0 but with esmf/8.6.1 and mapl/2.46.2 here |
I am doing the |
@mathomp4 mapl 2.46.2 refuses to build on Hercules with gcc, because the 1.6.0 stack uses mvapich2:
Any quick fix for this (locally if needed - we've moved away from mvapich2 since spack-stack-1.7.0)? |
JCSDA/spack#449 and #1189 fix this for release/1.6.0, spack/spack#45164 for spack develop (it will come back to spack-stack-dev with the next pull). #1189 also fixes the missing |
@ulmononian Hercules is done for gcc, and I also fixed the |
@climbfuji thanks for taking on the hercules |
Correct. |
It looks like that the platforms missing are all EMC and EPIC systems - everything else is either done or not needed. |
In case it has not been reported here yet, I wanted to make aware this issue seen on Hercules when testing with the esmf/8.6.1 spack-stack 1.6.0 installation. @jkbk2004 @BrianCurtis-NOAA @FernandoAndrade-NOAA CMake Error at /work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.6.0/envs/ue-esmf-8.6.1-mapl-2.46.2/install/intel/2021.9.0/mapl-2.46.2-uiwt3at/lib64/cmake/MAPL/MAPL-targets.cmake:73 (set_target_properties):
but the target was not found. Possible reasons include:
|
That is so odd. I mean, ESMF 8.6.1 and MAPL 2.46 were essentially created to allow for the Hmm. My only next thought is that a Could you some how be picking up another one? It was noted by @danrosen25 in the ESMF PR, that, at the time these CMake files were out-of-date:
And a look at them shows them still quite old. Perhaps some package is still referring to an old |
I'm running with the MAPL FindESMF.cmake on WCOSS2 right now, but if this is the case, we should look into coordinating a place for one FindESMF.cmake to exist and other groups pull from that location. |
There's already an issue in the cmakemodules repo that talks about using ESMF's own findESMF.cmake: NOAA-EMC/CMakeModules#70 - there are also issues in fv3-jedi and spack for this if I remember correctly. |
@climbfuji is the findESMF.cmake issue caused by the new ESMF 8.6.1? I am curious why it is not an issue in previous ESMF 8.6.0. |
@climbfuji @junwang-noaa When I tests this change in UFS I had trouble IF I updated the UFS FindESMF.cmake files. If I left them alone then the UFS system built.
|
Note: GEOS is still has a few But until I can fix up all of GEOS, we have: if (NOT TARGET esmf)
add_library(esmf ALIAS ESMF::ESMF)
endif () in our code to still support the old style. I hope to remove it soon. |
Similar code can be added to UFS after this line: |
Where are we with this issue? Have [email protected] and [email protected] been installed on all NOAA RDHPCS systems in spack-stack-1.6.0? Or is this moot given that spack-stack-1.8.0 has [email protected] with [email protected]? |
MAPL 2.46.2 has a bug, we have to move to esmf 8.6.1 and mapl 2.46.3 to debug the issue. We suggest having a test version of spack-stack 1.6.0 with esmf 8.6.1 and mapl 2.46.3 to continue the debugging work, while you can move forward with spack-stack 1.8.0 release with esmf 8.6.1 and mapl 2.46.3 |
@RatkoVasic-NOAA FYI |
@mathomp4 we can continue to test on orion and hercules for the new versions of mapl and esmf. we can follow up at ufs-community/ufs-weather-model#2346. |
@RatkoVasic-NOAA installed a test env on orion/hercules w/ [email protected] and [email protected] in the following locations:
thank you @RatkoVasic-NOAA!!! |
Per a telecon today between the MAPL team (cc @tclune) and UFS team (e.g., @junwang-noaa and others), there was a request to create a MAPL tag that was based on MAPL v2.40.3 (which was the last "working" version) but with support for ESMF 8.6.1 as that version was needed. This could then be installed on Hercules for testing. I've created a "preliminary" tag, v2.40.3.1 where the changes compared to v2.40.3 are:
The tag is on MAPL now, though no release as I'm not sure yet if all the needed CMake, etc. changes have been brought over (MAPL 2.40 was a while ago). Now, MAPL 2.40.3.1 is not in the spack
My laptop seems to be able to resolve that. That said, we might need to iterate on this a few times if I missed something. There have been further "fixes for Spack/UFS" on later tags and perhaps those might need backporting. If so, I can update and push the tag. |
Hi @mathomp4
|
@danrosen25 Ohhhh. Okay. Let me consult with @bena-nasa on that. I might need to push the tag... ETA: I talked with @bena-nasa about this and we found one table call that needed updating. I've pushed v2.40.3.1 with the update. |
@mathomp4 We will test ESMF 8.6.1 with this MAPL 2.40.3.1 in ufs-weather model then. @AlexanderRichert-NOAA would you please install spack-stack with these new libraries on Hercules. The current Hercules module file is at: https://github.com/ufs-community/ufs-weather-model/blob/develop/modulefiles/ufs_hercules.intel.lua. Thanks |
@mathomp4 the 2.40.3.1 build on hercules is failing because c_ptr & c_loc are undefined in geom/FieldPointerUtilities.F90. Adding |
@junwang-noaa if/when @mathomp4 updates the tag to fix the issue in my previous comment, I'll reinstall, but if you want to go ahead and test: /work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.6.0/envs/mapl-2.40.3.1-intel-2021.9.0/install/modulefiles/Core |
Ahhh. Yeah. That was a file where we could compile it because the I've pushed the v2.40.3.1 tag. |
Thanks @mathomp4. I just reinstalled using the updated tag. |
@AlexanderRichert-NOAA may I ask if you can install ESMF beta snapshot 8.8.0b04(https://github.com/esmf-org/esmf/releases/tag/v8.8.0b04) with MAPL 2.40.3.1 on Hercules for people to test the grid imprint issue in UFS coupled test? Thanks |
Yes, will do |
/work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.6.0/envs/esmf-8.8.0b04-intel-2021.9.0/install/modulefiles/Core |
@AlexanderRichert-NOAA et al, I've released a formal MAPL v2.40.3.1 release1: https://github.com/GEOS-ESM/MAPL/releases/tag/v2.40.3.1 and I've made a PR to spack mainline for it: If any changes are needed now, we'll up the tweak number to 2. Footnotes
|
@AlexanderRichert-NOAA would you please install ESMF beta snapshot 8.8.0b06(https://github.com/esmf-org/esmf/tree/v8.8.0b06) with MAPL 2.40.3.1 on Hercules for us to test the HR4 hanging issue? Thank you very much! |
Yes will do |
Done. /work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.6.0/envs/esmf-8.8.0b06-intel-2021.9.0/install/modulefiles/Core |
@AlexanderRichert-NOAA with an one line change to use the new module:
Now we got error message:
Did we miss anything? |
Sorry, I forgot to rebuild the modules. Please try again. |
@AlexanderRichert-NOAA ESMF released a new beta snapshot 8.8.0b09 for us to testing ESMF managed thread. Would you please install it with current compiler version and MAPL 2.40.3.1 in spack-stack 1.6.0? Just to clarify, this does not require any Intel compiler version change. It is a separate request from the Intel version 2021.12 for MAPL/GOCART testing. Thank you! |
hercules: /work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.6.0/envs/esmf-8.8.0b09-intel-2021.9.0/install/modulefiles/Core |
Package name
ESMF and MAPL
Package version/tag
ESMF/8.6.1 and MAPL/2.46.2
Build options
Current
Installation timeframe
The two libraries will be installed under current spack-stack 1.6.0.
Other information
No response
WCOSS2
WCOSS2: General questions
No response
WCOSS2: Installation and testing
No response
WCOSS2: Technical & security review list
WCOSS2: Additional comments
No response
The text was updated successfully, but these errors were encountered: