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

CMake build for S2S: Successful Compile/Build #182

Closed
wants to merge 53 commits into from
Closed

CMake build for S2S: Successful Compile/Build #182

wants to merge 53 commits into from

Conversation

BrianCurtis-NOAA
Copy link
Collaborator

@BrianCurtis-NOAA BrianCurtis-NOAA commented Sep 15, 2020

Description of changes

Brought over CMake from ufs-weather-model feature/s2s_cmake
Fixes for BUILD_INTERFACE
Cleaned up CMakeLists.txt between -weather and -s2s. Added script to …
rename build.sh to build_cmake.sh for a handy build test script, crea…
Typo in OpenMP CMake call
Edit compile_cmake to include MOM6/CICE6/CMEPS build options and use …
Added FindPIO.cmake to transition CICE from its internal PIO build
Fix for -qopenmp call using MOM6, bringing tests_cmake dir for CMake …
Fixes for using tests_cmake dir
CICE CMake fixes
NEMS.exe include
MOM6 had extra file, cleaned up to match MOM6 GMake flow better, test…
Don't need fv3_stack now that fv3 has stack as default
ESMF VERSION MAJOR/MINOR missing from CMEPS
Fixed merge conflict from upstream: updated modulefiles fv3 to include pio
Matching GMake compiler flags in CMake
Cleanup of CICE/MOM6 CMakeLists.txt

Specific notes

To JUST build with CMake:
module use modulefiles/orion.intel
module load fv3
./build_cmake.sh
-This PR does not address regression testing.

Issues Fixed (include github issue #):
#94 #95

Are changes expected to change answers?

  • bit for bit answers should NOT change
  • more substantial answers should NOT change

Specific changes:

  • changes in parm directory: No.
  • changes in module files: Yes. Creation of fv3_stack for orion.intel to use hpc-stack
  • new tests added or removed: Yes. Specific test files for S2S (will unify with -weather later)

Testing performed:

  • machines: orion, hera
  • This PR is not meant to address regression testing yet.

Hashes used for testing:

  • NEMS: 9d05172
  • CMEPS: 5e63bd4
  • FV3: 0975bb6
  • MOM6: eb58a2e
  • CICE6: 285985c
  • WW3: 96e3f3a
  • FMS: f61416f
  • stochastic_physics: a8e2cc1

Co-authored by:
@aerorahul

Copy link
Contributor

@aerorahul aerorahul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FIrst pass at the code.

@BrianCurtis-NOAA BrianCurtis-NOAA marked this pull request as ready for review September 23, 2020 16:34
Copy link
Collaborator Author

@BrianCurtis-NOAA BrianCurtis-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes were made in more recent commits

@junwang-noaa
Copy link
Collaborator

@BrianCurtis-NOAA at one point in time, the parm directory would be updated with updates from ufs-weather-model when we updated the atm model. There were a few exceptions such as we have an extra variable in the model_configure (see: https://github.com/ufs-community/ufs-s2s-model/blob/develop/parm/model_configure.IN#L24) but I don't know if that's true or there has been further divergence more recently.

I don't think we need that line though. We need to do some cleanup.

@DeniseWorthen
Copy link
Collaborator

DeniseWorthen commented Sep 24, 2020

Is there really some reason to think we don't need the line in mode_configure which contains the fast coupling frequency? That was a fix from a long time ago that allowed us to run the different slow-fast coupling timesteps. It is read in FV3/cpl/module_cap_cpl.F90.

@junwang-noaa
Copy link
Collaborator

junwang-noaa commented Sep 24, 2020 via email

@BrianCurtis-NOAA
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants