NOAA-PSL / rnr-refresh

Reanalysis and Reforecasting: a Research Environment for Flexible Reanalysis Experiments on Systems that are Heterogeneous
GNU General Public License v3.0
1 stars 0 forks source link

Create a `global.cylc` file for project #10

Open sk8forether opened 12 months ago

sk8forether commented 12 months ago

Description

Need to create a global.cylc file for the rnr-refresh software to enable all tasks and workflows can access available platforms with the same configurations. This is not directly a part of the generic launch task MVP, but will enable it. This task will need to define configurations for:

Background

Previously (in Cylc 7), the Cylc "suite" was defined in a suite.rc file. In Cylc 8, Cylc "workflows" have replaced them, and are defined in flow.cylc files that define the Workflow Configuration. Every workflow first references the global.cylc configuration. Thus, storing core configurations that each workflow will use in this global configuration makes the most sense.

From the doc on Global Configurations in the platforms configuration section:

Many of these settings have replaced those of the same name from the old Cylc 7 suite.rc[runtime][<namespace>][job]/[remote] and global.rc[hosts][<host>] sections.

Here's an example of part of a global config file that was used in Cylc 7 for UFS-RNR (at least, it appears that Steve Lawrence used it).

Next Steps

sk8forether commented 12 months ago

Here's an important reference about Consolidating Configurations

sk8forether commented 12 months ago

Platform configurations for Hera (#2) and Azure (#3) will be located in the global.cylc file, and can be customized by users for different iterations as needed in their own configuration files.

sk8forether commented 11 months ago

This issue has grown to include #2 and #3 within the global config.

It is also blocked by #11 and #12 currently.