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

Use of '-S <variable>' doesn't seem to get covered well. #267

Open
r-sharp opened this issue Oct 28, 2024 · 0 comments
Open

Use of '-S <variable>' doesn't seem to get covered well. #267

r-sharp opened this issue Oct 28, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@r-sharp
Copy link
Contributor

r-sharp commented Oct 28, 2024

The following question arose on the "model systems" Teams chat to ask :

Does anyone know how I can run the cylc8 test-suite on XCS? there seems to be a METO_USE_XCS variable in the variables.cylc file but can't work out how to set it for a run.

Last time I remember, I thought it was settable from the top rose-suite.conf in rose stem? I thought it was supposed to be there, but defaulted to false

The answer was -S METO_USE_XCS=true, and the following appears in the wiki pages for testing lfric_apps.

Other command line options are also available for the rose stem command:

  • --source= This specifies the path to an lfric_core source. This can be either an fcm url or a path to a working copy. The source variable currently can only be used for the lfric_core source - others, eg. UM, will need to be set in the dependencies.sh file. To use, it, use the syntax as --source=. --source=fcm:lfric.xm_tr for the lfric_core trunk. The inclusion of the first source is required.
  • -S This can set a value for any jinja2 variable in the [template variables] section of the rose-suite.conf. Currently available options are below.
    • -S HOUSEKEEPING=<true/false>, with the default value as true. -S HOUSEKEEPING=false will turn off the Housekeeping tasks.
    • -S METO_USE_XCS=<false/true>, with the default value as false. -S METO_USE_XCS=true will run the test suite on Cray XCS instead of XCE/F (please note that the task names will still contain xc40).
    • -S OVERRIDE_LOG_LEVEL="info", which sets the logging level to "info" for all jobs. The default depends on the build of the job (e.g. fast-debug jobs are usually at "info", and full-debug are at "debug".

However, the link to those wiki pages is a bit buried, and it might be nice to think about putting that information somewhere more readily to hand in this repository. Be that generically at the "testing your change" level, or more specifically for each model at the "Testing " level

@r-sharp r-sharp added the documentation Improvements or additions to documentation label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant