executorlib.standalone.inputcheck.check_pmi_mode

Contents

executorlib.standalone.inputcheck.check_pmi_mode#

executorlib.standalone.inputcheck.check_pmi_mode(pmi_mode: str | None) None[source]#

Check that pmi_mode is not set on a local workstation without SLURM or flux.

Parameters:

pmi_mode (str, optional) – PMI interface name (e.g. “pmix”, “pmi1”, “pmi2”).

Raises:

ValueError – If pmi_mode is not None.