@@ -48,6 +48,7 @@ class Executor:
4848 function.
4949 init_function (None): optional function to preset arguments for functions which are submitted later
5050 command_line_argument_lst (list): Additional command line arguments for the srun call (SLURM only)
51+ pmi (str): PMI interface to use (OpenMPI v5 requires pmix) default is None (Flux only)
5152
5253 Examples:
5354 ```
@@ -85,6 +86,7 @@ def __init__(
8586 block_allocation : bool = True ,
8687 init_function : Optional [callable ] = None ,
8788 command_line_argument_lst : list [str ] = [],
89+ pmi : Optional [str ] = None ,
8890 disable_dependencies : bool = False ,
8991 refresh_rate : float = 0.01 ,
9092 ):
@@ -106,6 +108,7 @@ def __new__(
106108 block_allocation : bool = False ,
107109 init_function : Optional [callable ] = None ,
108110 command_line_argument_lst : list [str ] = [],
111+ pmi : Optional [str ] = None ,
109112 disable_dependencies : bool = False ,
110113 refresh_rate : float = 0.01 ,
111114 ):
@@ -143,6 +146,7 @@ def __new__(
143146 of the individual function.
144147 init_function (None): optional function to preset arguments for functions which are submitted later
145148 command_line_argument_lst (list): Additional command line arguments for the srun call (SLURM only)
149+ pmi (str): PMI interface to use (OpenMPI v5 requires pmix) default is None (Flux only)
146150 disable_dependencies (boolean): Disable resolving future objects during the submission.
147151 refresh_rate (float): Set the refresh rate in seconds, how frequently the input queue is checked.
148152
@@ -162,6 +166,7 @@ def __new__(
162166 block_allocation = block_allocation ,
163167 init_function = init_function ,
164168 command_line_argument_lst = command_line_argument_lst ,
169+ pmi = pmi ,
165170 refresh_rate = refresh_rate ,
166171 )
167172 else :
@@ -180,4 +185,5 @@ def __new__(
180185 block_allocation = block_allocation ,
181186 init_function = init_function ,
182187 command_line_argument_lst = command_line_argument_lst ,
188+ pmi = pmi ,
183189 )
0 commit comments