Build ww3_bounc as a standalone executable#41
Draft
manishvenu wants to merge 2 commits into
Draft
Conversation
ww3_bounc consumes boundary-spectra netCDF files to produce nest.ww3 for regional/nested grids, mirroring ww3_grid and ww3_strt, but was never added as a CMake executable target, so it was never compiled or staged for CIME's buildnml to copy and run.
manishvenu
added a commit
to CROCODILE-CESM/WW3_interface
that referenced
this pull request
Jul 14, 2026
Points at CROCODILE-CESM/WW3 branch add-ww3-bounc-executable (ESCOMP/WW3#41, pending upstream merge), which adds ww3_bounc as a standalone CMake executable so the ww3_bounc preprocessing added here has something to run.
ww3_bounc calls nf90_* directly to read boundary-spectra files, unlike ww3_grid/ww3_strt which never touch netCDF, so it needs an explicit link against netcdff. Uses NETCDF_PATH, already set identically on casper and derecho by Macros.cmake.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
add_executable(ww3_bounc ww3_bounc.F90)/target_link_libraries(ww3_bounc PRIVATE wav), mirroring the existingww3_grid/ww3_strtpattern.