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

Enhancement: WRF Coupled CMake Build and Documentation #797

Merged
merged 3 commits into from
Jan 7, 2025

Conversation

scrasmussen
Copy link
Member

TYPE: enhancement

KEYWORDS: WRF, CMake

SOURCE: Soren Rasmussen, NSF NCAR

DESCRIPTION OF CHANGES: Current documentation and CMake build work only for WRF + WRF-Hydro coupled mode using the older compilation method. CMake build and documentation updated to now have a functioning coupled build. The CMake instructions were adapted from WRF's CMakeLists.txt files.

TESTS CONDUCTED: Moved WRF-Hydro's src/ directory to WRF/hydro and built with CMake. Used the following command with GNU modules

$ ./configure_new -x -p gfortran/gcc -- -DWRF_CORE=ARW -DWRF_NESTING=BASIC -DENABLE_HYDRO=ON \
    -DWRF_CASE=EM_REAL
$ ./compile_new -j 4

@scrasmussen scrasmussen force-pushed the enhancement/coupled-bld-and-docs branch from 35f2d3e to 1dcf47f Compare December 13, 2024 22:47
@scrasmussen scrasmussen requested a review from rcabell December 13, 2024 22:47
rcabell
rcabell previously approved these changes Dec 16, 2024
Copy link
Collaborator

@rcabell rcabell left a comment

Choose a reason for hiding this comment

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

LGTM. We should probably think about a quick GitHub test for the coupled build, if even just that it compiles without error.

@rcabell rcabell force-pushed the enhancement/coupled-bld-and-docs branch from 9001b59 to 1bd82fd Compare January 7, 2025 15:54
@rcabell rcabell merged commit fb7c1ee into NCAR:main Jan 7, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants