-
Notifications
You must be signed in to change notification settings - Fork 15
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
Script to run cylc jobs and graph results. #329
Open
jim-p-w
wants to merge
10
commits into
develop
Choose a base branch
from
feature/cron_run_job
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create graphs for all jobs in the "success" directory, if the same workflow has run at least twice and at least one run hasn't been graphed, create comparison graphs for each pair of successive runs; the older run is the baseline. Create unique graph directories for eacn cylc run.
… reference. The baseline is the mpas-workflow release/3.0.0
put a failed cylc file in directory which gets sent to the webserver.
1. the baseline run 2. the previous run (if there is one)
b968a2e
to
befd821
Compare
-m <mmm_webserver> the mmm web server content machine, e.g. whitedwarf.mmm.ucar.edu if not provided the graphs won't get copied to the webserver -c <cylc_graph_dir> where the cylc output graphs go on the mmm webserver, e.g. /web/htdocs/<graph-dir-path> if not provided the graphs won't get copied to the webserver
…at works with no tty.
amstokely
requested changes
Feb 11, 2025
local help="" | ||
local CYLC_ENV_SCRIPT="env-setup/machine.sh" | ||
|
||
# get comamnd line args |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing you meant command :) .
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR has a script which will run cylc jobs and graph the results.
It is intended to by run from cron, but can also be run manually.
Command line options control whether the script will run a cycl job, or look for results of previously started job.
Testing was done manually.
Note this relies on changes to the graphing code, including https://github.com/JCSDA-internal/mpas-jedi/pull/1022 (merged)
and https://github.com/JCSDA-internal/mpas-jedi/pull/1027