Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a global.cylc file for project #10

Open
3 of 4 tasks
sk8forether opened this issue Oct 11, 2023 · 3 comments
Open
3 of 4 tasks

Create a global.cylc file for project #10

sk8forether opened this issue Oct 11, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@sk8forether
Copy link
Member

sk8forether commented Oct 11, 2023

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:

  • scheduler(s)
  • platforms and (potentially) platform groups
  • task events (i.e. mail)

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

  • Understand global.cylc files in Cylc 8
  • Create one for rnr-refresh
  • Test that it works when called directly by Cylc on the command-line (cylc config)
  • Test that it works for 2 platforms
@sk8forether sk8forether added the enhancement New feature or request label Oct 11, 2023
@sk8forether sk8forether self-assigned this Oct 11, 2023
@sk8forether
Copy link
Member Author

Here's an important reference about Consolidating Configurations

@sk8forether
Copy link
Member Author

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
Copy link
Member Author

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant