-
Notifications
You must be signed in to change notification settings - Fork 254
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 MAPL v2.53.0 in UFS weather model #2346
Comments
@lipan-NOAA Can you confirm this version of MAPL works in GOCART for GEFSv13? Thanks |
@Hang-Lei-NOAA is MAPL 2.46.2 installed on Acorn/WCOSS2? |
I will add these today.
…On Mon, Jul 1, 2024 at 8:06 AM Brian Curtis ***@***.***> wrote:
@Hang-Lei-NOAA <https://github.com/Hang-Lei-NOAA> is MAPL 2.46.2
installed on Acorn/WCOSS2?
—
Reply to this email directly, view it on GitHub
<#2346 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKWSMFE5DZSFI5WKMRDN65LZKFA25AVCNFSM6AAAAABKB6TLROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJZHE3DSNJQGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@Hang-Lei-NOAA Can you tell me where you installed it? |
@Li Pan - NOAA Affiliate ***@***.***> Please check here
module use
/lfs/h1/emc/nceplibs/noscrub/hpc-stack/libs/hpc-stack/modulefiles/mpi/intel/19.1.3.304/cray-mpich/8.1.9
module load esmf/8.6.1
module load mapl/4.6.2-esmf-8.6.1
…On Tue, Jul 2, 2024 at 10:47 AM lipan-NOAA ***@***.***> wrote:
@Hang-Lei-NOAA <https://github.com/Hang-Lei-NOAA> Can you tell me where
you installed it?
—
Reply to this email directly, view it on GitHub
<#2346 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKWSMFBJID7JN5QQCTIGLFDZKK4RPAVCNFSM6AAAAABKB6TLROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBTGQYTMMBYGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
do you want this installed in spack-stack/1.6.0? and on which machine? |
@DusanJovic-NOAA @junwang-noaa new maple and esmf version are available on hercules and orion for the test and debug activities. @RatkoVasic-NOAA thanks for the installation!
|
As an FYI, the MAPL 2.46.3 fix was when using externally initialized MPI. (Which is something you all do but we don't do internally). We also had this notice to users:
My guess is you do not need to call |
@weiyuan-jiang may I ask what compiler/mpi versions you want to test? Thanks |
@junwang-noaa Well for that version of MAPL, we would have been testing with:
We never had Intel ifort 2021.9 on any machines we have. Are any of these possible? |
@AlexanderRichert-NOAA do we have these intel and GCC version on Hera or Hercules orGaea? |
I can't get onto Hera at the moment but for the others:
|
As we have access to Hercules/Orion, I guess ifort 2021.12 is our best bet at the moment (though I'd have to imagine there must be a recent-ish gcc on there). I'm fairly certain we can run with 2021.12. There were some bugfixes needed in places of GEOS (I don't think MAPL, but I can find out), so by the time we got them all in, 2021.13 was out, but I think 2021.12 works. Plus, we have 2021.12 on discover, so we can do some matching if need be. |
@weiyuan-jiang @mathomp4 Which MAPL version would you like us to test in UFS? I assume the ESMF version is 8.6.1 |
@junwang-noaa It doesn't matter. I can always replace the MAPL as long as it can be built and run under new compiler on Hercules |
Thanks for the update @mathomp4. I am using a shell script provided by @AlexanderRichert-NOAA to build chained spack environment with updated ESMF and MAPL to run test on Hercules. If you can make a temporary tag or branch or something that spack can point to (I'm not sure if it has to be release), I should be able to try that version that includes OpenMP fix from 3350 PR you mentioned above. And if we can get that tested before @climbfuji needs to cut release for 1.9.0 spack-stack that would be perfect. |
Other components/models need esmf 8.8.0, might as well use that across the board if it works for Dusan. Thanks Matt! |
@DusanJovic-NOAA I've tagged with |
Thanks. @AlexanderRichert-NOAA is there a way to use this tag (specific commit hash) in your env chainer script to build MAPL. |
@DusanJovic-NOAA in theory yes-- I just made a small tweak in the env chainer script to allow it to use Spack's built-in support for using git references. For the mapl spec, it would be something like |
Thanks. Let me try that. |
I just confirmed with @weiyuan-jiang that he didn't do anything else after using that new MAPL code. He kept OpenMP on in his test. He did mention you'll need to make sure you have |
I successfully compiled MAPL tag (commit 260d563d08ff0d3e8436ec33ed98a362110e731b) using @AlexanderRichert-NOAA instructions, and I am running all intel ufs-wm regression tests. So far all tests passed (most importantly, cpld_control_p8_intel passed, which is the test that was failing previously). This is the configuration with:
So looks like we finally have a version of MAPL that fixes both issues, cubed_sphere grid with threading and masking of ESMF_grid due to mask value conflict between fv3atm and mapl. In the meantime I will try to build spack-stack using GNU, and run gnu ufs-wm regression tests, just to be sure. |
I should also mention that in order to use ufs-wm with ESMF v8.8.0 an update in GOCART was needed. In my tests, I used a branch @theurich created that has some updates for esmf 8.8.0. This one. So before we can actually switch to 8.8.0 this change will need to be merged in gocart. The only issue is that we (ufs-wm) are still using a gocart commit from Sep 2023. And Gerhard's changes are on top of that commit. Somebody will need to port Gerhard's changes to newer gocart and then update ufs-wm to use that version. |
@mathomp4 or @DusanJovic-NOAA Would you mind creating an issue in github.com/jcsda/spack-stack to update MAPL to version x.y.z for spack-stack-1.9.0, and list changes to the build options (if applicable)? Thanks! |
I'm going to work on getting MAPL 2.53 out now. Shouldn't take me too long. Then you'll have a semver tag rather than a crazy git-hash. ETA: Well, might take about 30-40 minutes. My final test is a full run on discover to make sure it is zero-diff, etc. and good ol' CMake has decided to rebuild the full model. I really hope |
MAPL 2.53.0 has been released: https://github.com/GEOS-ESM/MAPL/releases/tag/v2.53.0 And I have a PR to spack: and an issue for JCSDA/spack-stack: Though that last one might not be "complete" as I'm not sure if any updates are needed for how MAPL is built, etc. |
Thanks @mathomp4 ! |
The mapl/2.53.0 requires the cmake min_version as 3.24.0, which is not on
wcoss2.
…On Fri, Jan 24, 2025 at 11:46 AM Matt Thompson ***@***.***> wrote:
MAPL 2.53.0 has been released:
https://github.com/GEOS-ESM/MAPL/releases/tag/v2.53.0
And I have a PR to spack:
spack/spack#48712 <spack/spack#48712>
and an issue for JCSDA/spack-stack:
JCSDA/spack-stack#1469 <JCSDA/spack-stack#1469>
Though that last one might not be "complete" as I'm not sure if any
updates are needed for how MAPL is built, etc.
—
Reply to this email directly, view it on GitHub
<#2346 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKWSMFB4HLGL7IVN5W3WDND2MJU6DAVCNFSM6AAAAABKB6TLROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJSHE3DGMRVGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Can you let me know if you install that cmake version on Acorn so I can test it with the current develop version of the UFSWM. |
This is system lib, we cannot install it. It has to go through system
management.
…On Mon, Jan 27, 2025 at 12:12 PM Brian Curtis ***@***.***> wrote:
The mapl/2.53.0 requires the cmake min_version as 3.24.0, which is not on
wcoss2.
… <#m_8578923449386177122_>
Can you let me know if you install that cmake version on Acorn so I can
test it with the current develop version of the UFSWM.
—
Reply to this email directly, view it on GitHub
<#2346 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKWSMFBIEV5AZZIMRVF5HH32MZSH3AVCNFSM6AAAAABKB6TLROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJWGQYDEMRRGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
OK, then we should get the process started to install it. |
I have modified the CMakelist in mapl/2.53.0, by setting cmake min version
to 2.20.0. The build is successful.
module use
/lfs/h2/emc/eib/save/hang.lei/forgdit/nco_wcoss2/install2/modulefiles/mpi/intel/19.1.3.304/cray-mpich/8.1.12
module load esmf/8.8.0
module show mapl/2.53.0-esmf-8.8.0
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
/lfs/h2/emc/eib/save/hang.lei/forgdit/nco_wcoss2/install2/modulefiles/mpi/intel/19.1.3.304/cray-mpich/8.1.12/mapl/2.53.0-esmf-8.8.0.lua:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
help([[]])
conflict("mapl")
setenv("MAPL_ROOT","/lfs/h2/emc/eib/save/hang.lei/forgdit/nco_wcoss2/install2/intel-19.1.3.304/cray-mpich-8.1.12/mapl/2.53.0-esmf-8.8.0")
whatis("Name: mapl")
whatis("Version: 2.53.0-esmf-8.8.0")
whatis("Category: library")
whatis("Description: MAPL is a foundation layer of the GEOS architecture")
…On Mon, Jan 27, 2025 at 12:16 PM Brian Curtis ***@***.***> wrote:
This is system lib, we cannot install it. It has to go through system
management.
… <#m_3791370218502961601_>
OK, then we should get the process started to install it.
—
Reply to this email directly, view it on GitHub
<#2346 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKWSMFGYZX5GZ6ZA5W74IAL2MZSU5AVCNFSM6AAAAABKB6TLROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJWGQYTCMBWGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Ugh. I guess I figured CMake 3.24 was not new enough to cause issues as it came out in 2022! And, I guess, that maybe spack-stack folks would be building cmake via spack. I moved MAPL to 3.24 because we needed it for Python support. That was the oldest version of CMake I could get to work with Python 3.12 f2py which moved to meson. Plus Python That said, I have no idea if MAPL can use CMake 2. That is ANCIENT. Did you mean CMake 3.20? |
Yes, I used 2.20.3 installed on wcoss2
…On Mon, Jan 27, 2025 at 12:41 PM Matt Thompson ***@***.***> wrote:
I have modified the CMakelist in mapl/2.53.0, by setting cmake min version
to 2.20.0. The build is successful.
Ugh. I guess I figured CMake 3.24 was not new enough to cause issues as it
came out in 2022! And, I guess, that maybe spack-stack folks would be
building cmake via spack.
I moved MAPL to 3.24 because we needed it for Python support. That was the
oldest version of CMake I could to work with Python 3.12 f2py which moved
to meson. Plus Python FIND_STRATEGY LOCATION also seemed to need 3.24 in
testing.
That said, I have no idea if MAPL can use CMake 2. That is *ANCIENT*. Did
you mean CMake 3.20?
—
Reply to this email directly, view it on GitHub
<#2346 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKWSMFEJS4VUJG3JZCURAE32MZVUVAVCNFSM6AAAAABKB6TLROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJWGQ4DGMZUGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
That seems...weird. I'm not even sure there was a 2.20.3. I mean, there was a CMake 2.8.12.2 in 2018, but I'm not sure the Kitware folks had more in the 2-series before CMake 3.0.0 came out. |
Looking on Cactus, the system version of CMake is 3.20.4. There are also modules for 3.20.2 and 3.18.4. |
Yes , I mean that I set 3.20 up in the CMAkelist of mapl/2.53.0
…On Tue, Jan 28, 2025 at 7:44 AM David Huber ***@***.***> wrote:
Looking on Cactus, the system version of CMake is 3.20.4. There are also
modules for 3.20.2 and 3.18.4.
—
Reply to this email directly, view it on GitHub
<#2346 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKWSMFA6IVNVLFVAYJFFZHL2M53UBAVCNFSM6AAAAABKB6TLROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJYHEYDCNRSGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Ah. Okay. That makes more sense. Still old, but not quite as old. :) |
Regression test passed on WCOSS2 (Cactus) using esmf/8.8.0 and mapl/2.53.0-esmf-8.8.0 modules installed in this location. |
My runs used Dusan’s branch also succeeded in selected sensitive regression
tests.
It shows that we finally successfully solved the Esmf-mapl-gocart issue in
Dusan’s branch. Great job.
…On Wed, Jan 29, 2025 at 4:17 PM Dusan Jovic ***@***.***> wrote:
I have modified the CMakelist in mapl/2.53.0, by setting cmake min version
to 2.20.0. The build is successful.
module use
/lfs/h2/emc/eib/save/hang.lei/forgdit/nco_wcoss2/install2/modulefiles/mpi/intel/19.1.3.304/cray-mpich/8.1.12
module load esmf/8.8.0
module show mapl/2.53.0-esmf-8.8.0
/lfs/h2/emc/eib/save/hang.lei/forgdit/nco_wcoss2/install2/modulefiles/mpi/intel/19.1.3.304/cray-mpich/8.1.12/mapl/2.53.0-esmf-8.8.0.lua:
help([[]])
conflict("mapl")
setenv("MAPL_ROOT","/lfs/h2/emc/eib/save/hang.lei/forgdit/nco_wcoss2/install2/intel-19.1.3.304/cray-mpich-8.1.12/mapl/2.53.0-esmf-8.8.0")
whatis("Name: mapl")
whatis("Version: 2.53.0-esmf-8.8.0")
whatis("Category: library")
whatis("Description: MAPL is a foundation layer of the GEOS architecture")
… <#m_5140821704624361940_>
Regression test passed on WCOSS2 (Cactus) using esmf/8.8.0 and
mapl/2.53.0-esmf-8.8.0 modules installed in this location.
—
Reply to this email directly, view it on GitHub
<#2346 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKWSMFEEANWH5PPZR6Q2DVD2NFANNAVCNFSM6AAAAABKB6TLROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRSHA3TCNBYGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@DusanJovic-NOAA just curious what your ufs_common.lua lib versions were for these runs, or if you have a branch i could check out? (going to test w/ this esmf+mapl pair w/ spack-stack/1.9.0 on ursa). |
I used this branch for testing: https://github.com/DusanJovic-NOAA/ufs-weather-model/tree/esmf880_mapl2530 |
Description
MAPL 2.46.2 has fixes for issue #2162. UFS weather model needs to be tested and updated with this version.
20240830:
MAPL 2.46.2 has a bug. MAPL 2.46.3 should be installed and tested in UFS weather model. The issue title is updated.
Solution
Alternatives
Related to
The text was updated successfully, but these errors were encountered: