Skip to content

Commit a807fd9

Browse files
authored
remove unused parameter terminate_tasks_on_shutdown (#735)
1 parent 09ae798 commit a807fd9

File tree

4 files changed

+0
-7
lines changed

4 files changed

+0
-7
lines changed

executorlib/executor/flux.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ def __init__(
285285
plot_dependency_graph: bool = False,
286286
plot_dependency_graph_filename: Optional[str] = None,
287287
log_obj_size: bool = False,
288-
terminate_tasks_on_shutdown: bool = True,
289288
):
290289
"""
291290
The executorlib.FluxClusterExecutor leverages either the message passing interface (MPI), the SLURM workload

executorlib/executor/slurm.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ def __init__(
9797
plot_dependency_graph: bool = False,
9898
plot_dependency_graph_filename: Optional[str] = None,
9999
log_obj_size: bool = False,
100-
terminate_tasks_on_shutdown: bool = True,
101100
):
102101
"""
103102
The executorlib.SlurmClusterExecutor leverages either the message passing interface (MPI), the SLURM workload
@@ -281,7 +280,6 @@ def __init__(
281280
plot_dependency_graph: bool = False,
282281
plot_dependency_graph_filename: Optional[str] = None,
283282
log_obj_size: bool = False,
284-
terminate_tasks_on_shutdown: bool = True,
285283
):
286284
"""
287285
The executorlib.SlurmJobExecutor leverages either the message passing interface (MPI), the SLURM workload

tests/test_fluxclusterexecutor.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ def test_executor(self):
3737
resource_dict={"cores": 2, "cwd": "executorlib_cache"},
3838
block_allocation=False,
3939
cache_directory="executorlib_cache",
40-
terminate_tasks_on_shutdown=False,
4140
) as exe:
4241
cloudpickle_register(ind=1)
4342
fs1 = exe.submit(mpi_funct, 1)
@@ -51,7 +50,6 @@ def test_executor_no_cwd(self):
5150
resource_dict={"cores": 2},
5251
block_allocation=False,
5352
cache_directory="executorlib_cache",
54-
terminate_tasks_on_shutdown=True,
5553
) as exe:
5654
cloudpickle_register(ind=1)
5755
fs1 = exe.submit(mpi_funct, 1)

tests/test_slurmclusterexecutor.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ def test_executor(self):
5050
resource_dict={"cores": 2, "cwd": "executorlib_cache", "submission_template": submission_template},
5151
block_allocation=False,
5252
cache_directory="executorlib_cache",
53-
terminate_tasks_on_shutdown=False,
5453
) as exe:
5554
cloudpickle_register(ind=1)
5655
fs1 = exe.submit(mpi_funct, 1)
@@ -64,7 +63,6 @@ def test_executor_no_cwd(self):
6463
resource_dict={"cores": 2, "submission_template": submission_template},
6564
block_allocation=False,
6665
cache_directory="executorlib_cache",
67-
terminate_tasks_on_shutdown=True,
6866
) as exe:
6967
cloudpickle_register(ind=1)
7068
fs1 = exe.submit(mpi_funct, 1)

0 commit comments

Comments
 (0)