executorlib.standalone.interactive.spawner.generate_mpiexec_command#
- executorlib.standalone.interactive.spawner.generate_mpiexec_command(cores: int, openmpi_oversubscribe: bool = False) list[str][source]#
Generate the command list for the MPIExec interface.
- Parameters:
cores (int) – The number of cores.
openmpi_oversubscribe (bool, optional) – Whether to oversubscribe the cores. Defaults to False.
- Returns:
The generated command list.
- Return type:
list[str]