@@ -25,7 +25,7 @@ class Forward(OceanModelStep):
2525 """
2626 def __init__ (self , component , resolution , name = 'forward' , subdir = None ,
2727 indir = None , ntasks = None , min_tasks = None , openmp_threads = 1 ,
28- nu = None , run_time_steps = None ):
28+ nu = None , run_time_steps = None , graph_target = 'graph.info' ):
2929 """
3030 Create a new task
3131
@@ -70,15 +70,14 @@ def __init__(self, component, resolution, name='forward', subdir=None,
7070 self .run_time_steps = run_time_steps
7171 super ().__init__ (component = component , name = name , subdir = subdir ,
7272 indir = indir , ntasks = ntasks , min_tasks = min_tasks ,
73- openmp_threads = openmp_threads )
73+ openmp_threads = openmp_threads ,
74+ graph_target = graph_target )
7475
7576 # make sure output is double precision
7677 self .add_yaml_file ('polaris.ocean.config' , 'output.yaml' )
7778
7879 self .add_input_file (filename = 'initial_state.nc' ,
7980 target = '../../init/initial_state.nc' )
80- self .add_input_file (filename = 'graph.info' ,
81- target = '../../init/culled_graph.info' )
8281
8382 self .add_yaml_file ('polaris.ocean.tasks.baroclinic_channel' ,
8483 'forward.yaml' )
0 commit comments