99 check_plot_dependency_graph ,
1010 check_pmi ,
1111 check_refresh_rate ,
12- check_terminate_tasks_on_shutdown ,
1312 validate_number_of_cores ,
1413)
1514from executorlib .task_scheduler .interactive .blockallocation import (
@@ -64,7 +63,6 @@ class FluxJobExecutor(BaseExecutor):
6463 debugging purposes and to get an overview of the specified dependencies.
6564 plot_dependency_graph_filename (str): Name of the file to store the plotted graph in.
6665 log_obj_size (bool): Enable debug mode which reports the size of the communicated objects.
67- terminate_tasks_on_shutdown (bool): Shutdown all tasks when the Executor is shutdown, this is the default.
6866
6967 Examples:
7068 ```
@@ -105,7 +103,6 @@ def __init__(
105103 plot_dependency_graph : bool = False ,
106104 plot_dependency_graph_filename : Optional [str ] = None ,
107105 log_obj_size : bool = False ,
108- terminate_tasks_on_shutdown : bool = True ,
109106 ):
110107 """
111108 The executorlib.FluxJobExecutor leverages either the message passing interface (MPI), the SLURM workload manager
@@ -151,7 +148,6 @@ def __init__(
151148 debugging purposes and to get an overview of the specified dependencies.
152149 plot_dependency_graph_filename (str): Name of the file to store the plotted graph in.
153150 log_obj_size (bool): Enable debug mode which reports the size of the communicated objects.
154- terminate_tasks_on_shutdown (bool): Shutdown all tasks when the Executor is shutdown, this is the default.
155151
156152 """
157153 default_resource_dict : dict = {
@@ -167,9 +163,6 @@ def __init__(
167163 resource_dict .update (
168164 {k : v for k , v in default_resource_dict .items () if k not in resource_dict }
169165 )
170- check_terminate_tasks_on_shutdown (
171- terminate_tasks_on_shutdown = terminate_tasks_on_shutdown
172- )
173166 if not disable_dependencies :
174167 super ().__init__ (
175168 executor = DependencyTaskScheduler (
@@ -255,7 +248,6 @@ class FluxClusterExecutor(BaseExecutor):
255248 debugging purposes and to get an overview of the specified dependencies.
256249 plot_dependency_graph_filename (str): Name of the file to store the plotted graph in.
257250 log_obj_size (bool): Enable debug mode which reports the size of the communicated objects.
258- terminate_tasks_on_shutdown (bool): Shutdown all tasks when the Executor is shutdown, this is the default.
259251
260252 Examples:
261253 ```
@@ -336,7 +328,6 @@ def __init__(
336328 debugging purposes and to get an overview of the specified dependencies.
337329 plot_dependency_graph_filename (str): Name of the file to store the plotted graph in.
338330 log_obj_size (bool): Enable debug mode which reports the size of the communicated objects.
339- terminate_tasks_on_shutdown (bool): Shutdown all tasks when the Executor is shutdown, this is the default.
340331
341332 """
342333 default_resource_dict : dict = {
@@ -376,7 +367,6 @@ def __init__(
376367 block_allocation = block_allocation ,
377368 init_function = init_function ,
378369 disable_dependencies = disable_dependencies ,
379- terminate_tasks_on_shutdown = terminate_tasks_on_shutdown ,
380370 )
381371 )
382372 else :
0 commit comments