Skip to content

[INSTALL]: FMS with yaml support #1943

@sanAkel

Description

@sanAkel

Package name

FMS

Package version/tag

Some (future) version https://github.com/NOAA-EMC/FMS/tags

Build options

FMS must be compiled with the -DWITH_YAML

Installation timeframe

Please install on WCOSS-2 and URSA for next spack-stack release.

Other information

In the context of MOM6 IO, notes from @uramirez8707:

The collective netcdf writes + modern diag_manger will improve your performance
without requiring changes to the I/O layout and dealing with distributed files.
https://github.com/NOAA-GFDL/FMS/blob/main/diag_manager/diag_yaml_format.md#7-improving-performance-at-high-resolutions

Unfortunately, there are several pieces that need to come together:

  1. FMS must be compiled with the -DWITH_YAML option in cmake
  2. Set diag_manager_nml :: use_modern_diag = .True.
    https://github.com/NOAA-GFDL/FMS/blob/99fcd2f64352a9ad3d84dd8a96c3d5b25a0caf56/diag_manager/diag_data.F90#L391
  3. The diag table must be converted to yaml. This tool can be used to do the conversion: https://github.com/NOAA-GFDL/fms_yaml_tools
  4. Add the use_collective_writes: True key to all of the domain decomposed diag files.

I recommend doing 1-3 and making sure the diag manager is working correctly before moving on to #4.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions