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

Merge latest RUC LSM into community develop #1646

Merged
merged 42 commits into from
Mar 31, 2023

Conversation

tanyasmirnova
Copy link
Contributor

@tanyasmirnova tanyasmirnova commented Mar 8, 2023

Description

This PR merges changes from RRFS_dev to UFS community develop related to:

  1. Introducing new variables for fractional vegetation and soil data and and read this data in FV3GFS_io.F90.
  2. Updated snow model in RUC LSM
  3. Changes in the output related to LSM-produced variables.<!--

Provide a detailed description of what this PR does. What bug does it fix, or what feature does it add? Is a change of answers expected from this PR? Are any library updates included in this PR (modulefiles etc.)?
-->

Top of commit queue on: TBD

Input data additions/changes

  • No changes are expected to input data.
  • There will be new input data.
  • Input data will be updated.

Anticipated changes to regression tests:

  • No changes are expected to any regression test.
  • Changes are expected to the following tests:

Subcomponents involved:

  • AQM
  • CDEPS
  • CICE
  • CMEPS
  • CMakeModules
  • FV3
  • GOCART
  • HYCOM
  • MOM6
  • NOAHMP
  • WW3
  • stochastic_physics
  • none

Combined with PR's (If Applicable):

Commit Queue Checklist:

  • Link PR's from all sub-components involved
  • Confirm reviews completed in sub-component PR's
  • Add all appropriate labels to this PR.
  • Run full RT suite on either Hera/Cheyenne with both Intel/GNU compilers
  • Add list of any failed regression tests to "Anticipated changes to regression tests" section.

Linked PR's and Issues:

Testing Day Checklist:

  • This PR is up-to-date with the top of all sub-component repositories except for those sub-components which are the subject of this PR.
  • Move new/updated input data on RDHPCS Hera and propagate input data changes to all supported systems.

Testing Log (for CM's):

  • RDHPCS
    • Intel
      • Hera
      • Orion
      • Jet
      • Gaea
      • Cheyenne
    • GNU
      • Hera
      • Cheyenne
  • WCOSS2
    • Dogwood/Cactus
    • Acorn
  • CI
    • Completed
  • opnReqTest
    • N/A
    • Log attached to comment

@BrianCurtis-NOAA
Copy link
Collaborator

I see you put Draft: into the title. Thank you for that. If you want to make it a draft in GitHub, you can convert it to draft by clicking the link in the Reviewers section on the right side, you should see something like: Still in progress? Convert to draft. Click Convert to draft.

@tanyasmirnova tanyasmirnova changed the title Draft: Merge latest RUC LSM into community develop Merge latest RUC LSM into community develop Mar 16, 2023
@grantfirl
Copy link
Collaborator

@tanyasmirnova Have these changes been tested yet? If not, do you need some assistance?

@tanyasmirnova
Copy link
Contributor Author

@grantfirl Thank you for your question. I am still addressing your comments and the code is still changing. However @RatkoVasic-NOAA started performing a regression tests for my PR. We had a show stopper with compiling -DCCPP_SUITES=FV3_GFS_v17_coupled_p8_sfcocn -DCMEPS_AOFLUX=ON. It appears that CMEPS_AOFLUX has its own meta file that needs to be updated. This is where we are right now.

@uturuncoglu
Copy link
Collaborator

@tanyasmirnova CMEPS is also defined as CCPP host model for calculating atmosphere-ocean fluxes on exchange grid. So, it has own data structures and metadata file. Let me know if you need help.

@tanyasmirnova
Copy link
Contributor Author

@uturuncoglu I am adding some variables to MED_typedefs.meta. I have a questions: what section should I put xlat_d, xlon_d. They are defined under Grid property in GFS_typedefs.meta:
allocate (Grid%xlat_d (IM))
allocate (Grid%xlon_d (IM))

@tanyasmirnova
Copy link
Contributor Author

@uturuncoglu I think I figured it out.

@tanyasmirnova
Copy link
Contributor Author

tanyasmirnova commented Mar 23, 2023

@grantfirl @uturuncoglu When I added missing variables to CMEPS metadata, I got the following error in compilation with CMEPS:Compiling CMEPS with CCPP support.
Calling CCPP code generator (ccpp_prebuild.py) for suites --suites=FV3_sfc_ocean ...
-- CCPP prebuild step completed successfully
-- Configuring done
CMake Error at MOM6-interface/CMakeLists.txt:28 (add_library):
Cannot find source file:

MOM6/src/equation_of_state/TEOS10/gsw_chem_potential_water_t_exact.f90

Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .h .hh .h++
.hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .ispc

CMake Error at CICE-interface/CMakeLists.txt:71 (add_library):
Cannot find source file:

CICE/icepack/columnphysics/icepack_aerosol.F90

The log file is in /scratch1/BMC/gsd-fv3-dev/smirnova/ccpp_fv3/ufs_community_6mar23/tests/comp_CMEPS.log

Could you suggest us how to fix this error?

@uturuncoglu
Copy link
Collaborator

uturuncoglu commented Mar 24, 2023

@uturuncoglu I suggest to have clean build by changing "${BUILD_JOBS:-4}" parameter in ./build.sh (in the root model directory) and make it run with 1 thread like "${BUILD_JOBS:-1}". So, this will allow you to compile model component sequentially and make the error more apparent. Form your error output, it seems that the problem is on other components. BTW, I could only access to Orion and Cheyenne. So, if you want me to look at we need to compile on those platforms.

@RatkoVasic-NOAA
Copy link
Collaborator

@uturuncoglu Ufuk, I updated Tanya's branch so you can try to compile on Orion or Cheyenne. Here is the procedure:

git clone -b ufsdev_ruclsm https://github.com/tanyasmirnova/ufs-weather-model.git
cd ufs-weather-model
git submodule update --init --recursive

ls -l CMEPS-interface/CMEPS/ufs/ccpp/data/  <---- changes are here

cd tests
compile.sh @machine.compiler@ "-DAPP=S2S -DCCPP_SUITES=FV3_GFS_v17_coupled_p8_sfcocn -DCMEPS_AOFLUX=ON"

@grantfirl
Copy link
Collaborator

grantfirl commented Mar 24, 2023

@tanyasmirnova @RatkoVasic-NOAA @uturuncoglu @DeniseWorthen It was pointed out in the UFS code management meeting that we'll need a PR in CMEPS for the changes there that should be linked to this PR.

ufsdev_ruclsm->emc/develop

@tanyasmirnova
Copy link
Contributor Author

Thank you very much, Everybody, for your help. Ratko, could you please make a PR in CMEPS?

@RatkoVasic-NOAA
Copy link
Collaborator

Thank you very much, Everybody, for your help. Ratko, could you please make a PR in CMEPS?

I can do the PR, but compilation is still failing.

@uturuncoglu
Copy link
Collaborator

@tanyasmirnova @RatkoVasic-NOAA I ll look at this today. I am out of office now.

@RatkoVasic-NOAA
Copy link
Collaborator

@tanyasmirnova @RatkoVasic-NOAA @uturuncoglu @DeniseWorthen It was pointed out in the UFS code management meeting that we'll need a PR in CMEPS for the changes there that should be linked to this PR.

ufsdev_ruclsm->emc/develop

PR NOAA-EMC/CMEPS#84 is in.

@tanyasmirnova
Copy link
Contributor Author

@RatkoVasic-NOAA @uturuncoglu @SamuelTrahanNOAA Sam is on board to help with testing of this PR. The SD with CMEPS is still not compiling.

@zach1221
Copy link
Collaborator

Testing on jet/gaea has been quite slow. Pushing to have those finished by 2pm, then we can move forward with merging process.

@SamuelTrahanNOAA
Copy link
Collaborator

Testing on jet/gaea has been quite slow. Pushing to have those finished by 2pm, then we can move forward with merging process.

I have access to some Jet projects that have a very high priority (FairShare rating) so if you find it impossible to run on Jet, I can do that for you.

@zach1221
Copy link
Collaborator

Thanks, @SamuelTrahanNOAA . I think Jet is almost finished, so I dont want to ask you to do that quite yet.

@zach1221
Copy link
Collaborator

Ok, tests are done, we should be able to move forward with this PR. I think we need to have reviews/approval completed in the sub-prs linked #49 and #633. I can follow up in those PRs separately.

@grantfirl
Copy link
Collaborator

grantfirl commented Mar 31, 2023

Ok, tests are done, we should be able to move forward with this PR. I think we need to have reviews/approval completed in the sub-prs linked #49 and #633. I can follow up in those PRs separately.

#49 has approval and is ready to merge.

@zach1221
Copy link
Collaborator

Thanks, @grantfirl . Feel free to merge ccpp

@SamuelTrahanNOAA
Copy link
Collaborator

The ccpp has been merged and we're waiting on fv3atm

@jkbk2004
Copy link
Collaborator

@SamuelTrahanNOAA @tanyasmirnova fv3 pr was merged. Go ahead to update submodule pointer and revert change in gitmodules.

@SamuelTrahanNOAA
Copy link
Collaborator

The CMEPS PR still needs to be merged.

NOAA-EMC/CMEPS#84

@SamuelTrahanNOAA
Copy link
Collaborator

I did update the FV3 submodule, but until the CMEPS PR is merged, I cannot update that one.

@DeniseWorthen
Copy link
Collaborator

DeniseWorthen commented Mar 31, 2023

Sorry @SamuelTrahanNOAA Someone marked that the subcomponent PRs were approved, but CMEPS has not been. Hopefully Jun or Brian can quickly approve.

@DeniseWorthen
Copy link
Collaborator

CMEPS is merged hash 91bcb84

@SamuelTrahanNOAA
Copy link
Collaborator

The .gitmodules is reverted, and the FV3 & CMEPS point to their authoritative branches. You can merge this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Baseline Updates Current baselines will be updated. Ready for Commit Queue The PR is ready for the Commit Queue. All checkboxes in PR template have been checked.
Projects
None yet
Development

Successfully merging this pull request may close these issues.