polaris.parallel.check_mache_supports_placement

polaris.parallel.check_mache_supports_placement()[source]

Check that the installed mache can confine a launch to part of an allocation.

A mache without placement takes none of the arguments Polaris now passes it, so a run against one fails partway through with a TypeError from deep inside the launcher rather than saying what is wrong. Worse, a future mache that accepted the argument and ignored it would let a run appear to work while oversubscribing the machine – no error, wrong results, and slower than running one step at a time. Both are much better caught here.

Raises:

RuntimeError – If the installed mache has no placement support