mache.parallel.pbs.is_pals_launcher

mache.parallel.pbs.is_pals_launcher(executable: str) bool[source]

Check whether a launcher is PALS, which can place concurrent launches.

PALS is the only PBS launcher mache has a placement mechanism for, and the other launchers on PBS machines – Open MPI’s mpirun on Improv, for example – take none of its options. The launcher is asked directly rather than trusting the machine’s config, since a site can change it without its mache config changing.

Parameters:

executable (str) – The launcher to ask, which is the first word of the machine’s parallel_executable.

Returns:

is_pals (bool) – Whether the launcher identified itself as PALS.