hpcflow.sdk.config.callbacks.set_scheduler_invocation_match#

hpcflow.sdk.config.callbacks.set_scheduler_invocation_match(config, scheduler)#

Invoked on set of default_scheduler.

For clusters with “proper” schedulers (SGE, SLURM, etc.), login nodes are typically named using the word “login”. So we can use this knowledge to set a default for the “hostname” invocation match key, if it is not manually set. However, it is preferable that on clusters the hostname match is explicitly set.

Parameters:

scheduler (str) –