Skip to content

Build ww3_bounc as a standalone executable#41

Draft
manishvenu wants to merge 2 commits into
ESCOMP:dev/unifiedfrom
CROCODILE-CESM:add-ww3-bounc-executable
Draft

Build ww3_bounc as a standalone executable#41
manishvenu wants to merge 2 commits into
ESCOMP:dev/unifiedfrom
CROCODILE-CESM:add-ww3-bounc-executable

Conversation

@manishvenu

@manishvenu manishvenu commented Jul 14, 2026

Copy link
Copy Markdown

Summary

  • Adds add_executable(ww3_bounc ww3_bounc.F90) / target_link_libraries(ww3_bounc PRIVATE wav), mirroring the existing ww3_grid/ww3_strt pattern.

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.
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.

1 participant