@@ -45,6 +45,7 @@ class FluxJobExecutor(BaseExecutor):
4545 - error_log_file (str): Name of the error log file to use for storing exceptions raised
4646 by the Python functions submitted to the Executor.
4747 - restart_limit (int): The maximum number of restarting worker processes. Default: 0
48+ - run_time_limit (int): The maximum runtime in seconds for each task. Default: None
4849 pmi_mode (str): PMI interface to use (OpenMPI v5 requires pmix) default is None
4950 flux_executor (flux.job.FluxExecutor): Flux Python interface to submit the workers to flux
5051 flux_executor_nesting (bool): Provide hierarchically nested Flux job scheduler inside the submitted function.
@@ -136,6 +137,7 @@ def __init__(
136137 compute notes. Defaults to False.
137138 - error_log_file (str): Name of the error log file to use for storing exceptions
138139 raised by the Python functions submitted to the Executor.
140+ - run_time_limit (int): The maximum runtime in seconds for each task. Default: None
139141 pmi_mode (str): PMI interface to use (OpenMPI v5 requires pmix) default is None
140142 flux_executor (flux.job.FluxExecutor): Flux Python interface to submit the workers to flux
141143 flux_executor_nesting (bool): Provide hierarchically nested Flux job scheduler inside the submitted function.
@@ -246,6 +248,7 @@ class FluxClusterExecutor(BaseExecutor):
246248 - slurm_cmd_args (list): Additional command line arguments for the srun call (SLURM only)
247249 - error_log_file (str): Name of the error log file to use for storing exceptions raised
248250 by the Python functions submitted to the Executor.
251+ - run_time_limit (int): The maximum runtime in seconds for each task. Default: None
249252 pysqa_config_directory (str, optional): path to the pysqa config directory (only for pysqa based backend).
250253 pmi_mode (str): PMI interface to use (OpenMPI v5 requires pmix) default is None
251254 hostname_localhost (boolean): use localhost instead of the hostname to establish the zmq connection. In the
@@ -333,6 +336,7 @@ def __init__(
333336 only)
334337 - error_log_file (str): Name of the error log file to use for storing exceptions
335338 raised by the Python functions submitted to the Executor.
339+ - run_time_limit (int): The maximum runtime in seconds for each task. Default: None
336340 pysqa_config_directory (str, optional): path to the pysqa config directory (only for pysqa based backend).
337341 pmi_mode (str): PMI interface to use (OpenMPI v5 requires pmix) default is None
338342 hostname_localhost (boolean): use localhost instead of the hostname to establish the zmq connection. In the
@@ -364,6 +368,7 @@ def __init__(
364368 "cwd" : None ,
365369 "openmpi_oversubscribe" : False ,
366370 "slurm_cmd_args" : [],
371+ "run_time_limit" : None ,
367372 }
368373 if resource_dict is None :
369374 resource_dict = {}
@@ -478,6 +483,7 @@ def create_flux_executor(
478483 compute notes. Defaults to False.
479484 - error_log_file (str): Name of the error log file to use for storing exceptions raised
480485 by the Python functions submitted to the Executor.
486+ - run_time_limit (int): The maximum runtime in seconds for each task. Default: None
481487 pmi_mode (str): PMI interface to use (OpenMPI v5 requires pmix) default is None
482488 flux_executor (flux.job.FluxExecutor): Flux Python interface to submit the workers to flux
483489 flux_executor_nesting (bool): Provide hierarchically nested Flux job scheduler inside the submitted function.
0 commit comments