-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
I currently have a Rocoto workflow that runs two sets of Metatasks in serial using versino 1.3.7 of Rocoto. My goal is to have the second set of metatasks begin once all of the first metatasks complete, so I set a metataskdep for the first task in my second set of metatasks to accomplish this. However, once the first set of tasks completes, running rocotorun a second time does not launch the second set of tasks. Is there something wrong with my workflow configuration that is causing this error?
The second set of metatasks does not depend on a particular cycle, it just needs to run after all cycles in the first metask are complete, so I set a "dummy" cycle def to try and accomplish this.
<workflow realtime="False" scheduler="slurm" cyclethrottle="326" taskthrottle="326"> <!-- cyclethrottle needs to be greater than ens*years-->
<cycledef group="metatask_1"> 0 0 1 1 1960-1962 * </cycledef>
<cycledef group="dummy_cylce"> 0 0 1 1 3000 * </cycledef> <!-- Dummy date to get ensemble tasks to run after year + ensemble tasks -->
<log>
<cyclestr>/work/&USER;/&DOMAIN;/job_output_files/rocoto_logs/Decadal_Workflow_&DOMAIN;_@Y@m@d@H.log</cyclestr>
</log>
<!-- first metatask, which needs to run for several ensemble members and several years -->
<metatask name="a1_atm_and_oce">
<var name="ens"> &ENSEMBLES; </var>
<task name="generate_oce_atms_#ens#" cycledefs="metatask_1">
<nodes>1:ppn=1</nodes>
<partition>batch</partition>
<walltime>43200</walltime>
<command>
<cyclestr>generate_historical_atm_and_oce.sh -e #ens# -y @Y -w &WORK; -g &GAEA;</cyclestr>
</command>
<jobname>generate_historical_atm_and_oce.sh</jobname>
<join>./job_output_files/generate_historical_atm_oce_%j.job</join>
</task
</metatask>
<!-- metatask to run after all tasks in previous step complete -->
<metatask name="concat_and_move_a1">
<var name="ens"> &ENSEMBLES; </var>
<task name="concat_and_move_obcs_#ens#" cycledefs="dummy_cycle" >
<nodes>1:ppn=1</nodes>
<partition>batch</partition>
<walltime>43200</walltime>
<command>
<cyclestr> 10_write_spear_a1_oce_concat_mv.sh -e #ens# -w &WORK; </cyclestr>
</command>
<jobname>10_write_spear_a1_oce_concat_mv</jobname>
<join>./job_output_files/10_write_spear_a1_oce_concat_mv_%j.sh</join>
<dependency>
<metataskdep metatask="a1_atm_and_oce"/>
</dependency>
</task>
<task name="stage_oce_atms_#ens#" cycledefs="dummy_cycle" >
<nodes>1:ppn=1</nodes>
<partition>batch</partition>
<walltime>43200</walltime>
<command>
<cyclestr>12_cp_gfdl_gaea_spear_a1_oce.sh -e #ens# -w &WORK; -g &GAEA; </cyclestr>
</command>
<jobname>12_cp_gfdl_gaea_spear_oce</jobname>
<join>./job_output_files/12_cp_gfdl_gaea_spear_a1_oce_%j.job</
<dependency>
<taskdep task="concat_and_move_obcs_#ens#"/>
</dependency>
</task>
</metatask>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels