-
Notifications
You must be signed in to change notification settings - Fork 180
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
Incorrect early cycle earc dependency #3244
Comments
@TravisElless-NOAA |
@TravisElless-NOAA diff --git i/workflow/rocoto/gfs_tasks.py w/workflow/rocoto/gfs_tasks.py
index 768512ba..08d260fe 100644
--- i/workflow/rocoto/gfs_tasks.py
+++ w/workflow/rocoto/gfs_tasks.py
@@ -2919,12 +2919,14 @@ class GFSTasks(Tasks):
deps = []
if 'enkfgdas' in self.run:
dep_dict = {'type': 'metatask', 'name': f'{self.run}_epmn'}
- else:
+ deps.append(rocoto.add_dependency(dep_dict))
+ dep_dict = {'type': 'task', 'name': f'{self.run}_echgres'}
+ deps.append(rocoto.add_dependency(dep_dict))
+ dependencies = rocoto.create_dependency(dep_condition='and', dep=deps)
+ else: # early cycle enkf run (enkfgfs)
dep_dict = {'type': 'task', 'name': f'{self.run}_esfc'}
- deps.append(rocoto.add_dependency(dep_dict))
- dep_dict = {'type': 'task', 'name': f'{self.run}_echgres'}
- deps.append(rocoto.add_dependency(dep_dict))
- dependencies = rocoto.create_dependency(dep_condition='and', dep=deps)
+ deps.append(rocoto.add_dependency(dep_dict))
+ dependencies = rocoto.create_dependency(dep=deps)
earcenvars = self.envars.copy()
earcenvars.append(rocoto.create_envar(name='ENSGRP', value='#grp#')) Would you mind giving this patch a try in your test for early cycle? |
My understanding of the This suggested change does indeed create the correct this dependency issue. |
What is wrong?
PR #3202 added a chgres dependency to the earc job. However, since the chgres job is not included in the early cycle tasks, this dependency results in the early cycle earc job failing to launch.
What should have happened?
The early cycle earc task should not have a chgres dependency
What machines are impacted?
All or N/A
What global-workflow hash are you using?
01eeb24
Steps to reproduce
EUPD_CYC="BOTH"
inconfig.base
)Additional information
No response
Do you have a proposed solution?
The chgres dependency should only be included for the late cycle earc task.
The text was updated successfully, but these errors were encountered: