How noaa-gfdl/fms works
FMS is a climate-modeling framework and runtime library, not a single end-user application. Model developers use its common interfaces and infrastructure to construct and execute atmospheric, oceanic, and climate models; model output supports scientific interpretation. The README documents parallelization, I/O, grid exchange, time-step orchestration, diagnostics, and input preparation. The tree identifies corresponding subsystems, but most implementation excerpts were not provided, so internal links are limited to documented relationships and the sampled grid-intersection code.
Main entry points: fms.F90 FMS runtime · horiz_interp_conserve_xgrid.c Exchange grids · coupler Model coupling · mpp.F90 MPP communication
Components 22
Model runtime
- FMS runtime
fms/fms.F90 - Time management
time_manager - Model coupling
coupler
Parallel computing
- MPP communication
mpp/mpp.F90 - CPU affinity
affinity/affinity.c
Grids and exchange
- Grid geometry
grid_utils/grid_utils.c - Polygon utilities
grid_utils/tree_utils.c - Grid gradients
grid_utils/gradient_c2l.c - Exchange grids
horiz_interp/include/horiz_interp_conserve_xgrid.c - Horizontal interpolation
horiz_interp/horiz_interp.F90
Model data
- Model I/O
fms2_io/fms2_io.F90 - Field management
field_manager/field_manager.F90 - Input preparation
data_override/data_override.F90
Scientific tools
- Diagnostics output
diag_manager/diag_manager.F90 - Particle tracking
drifters/drifters.F90 - YAML parsing
parser/yaml_parser.F90
Other components
- Model developer
- Climate model
- Model results
- Scientific interpretation
- NetCDF libraries
- MPI library
Connections 21
- Model developer → Climate model: constructs
README.md - Climate model → FMS runtime: uses infrastructure
README.md - FMS runtime → MPP communication: uses parallelization
README.md - FMS runtime → Model I/O: uses I/O
README.md - FMS runtime → Time management: orchestrates stepping
README.md - Climate model → Model coupling: exchanges model data
README.md - Model coupling → Exchange grids: uses grid exchange
README.md - Exchange grids → Grid geometry: calls geometry routines
horiz_interp/include/horiz_interp_conserve_xgrid.c - Exchange grids → Polygon utilities: uses polygon utilities
horiz_interp/include/horiz_interp_conserve_xgrid.c - Climate model → Horizontal interpolation: uses interpolation
README.md - Climate model → Grid gradients: uses grid calculations
- Climate model → Field management: uses field interfaces
README.md - Climate model → Input preparation: uses prepared input
README.md - Climate model → Diagnostics output: produces diagnostics
README.md - Climate model → Particle tracking: tracks particles
- Climate model → YAML parsing: reads YAML configuration
- Model I/O → NetCDF libraries: reads and writes
README.md - MPP communication → MPI library: uses optionally
README.md - Climate model → Model results: produces output
README.md - Model results → Scientific interpretation: supports
README.md - Climate model → CPU affinity: may configure affinity