kkrunner.backends.PsijExecutor
- class kkrunner.backends.PsijExecutor(backend='slurm', *, url=None, config=None, job_executor=None, poll_interval=0.1)[source]
Bases:
ExecutorExecute calculations through a PSI/J backend such as Slurm or PBS.
- name = 'psij'
- create_run(spec, callback=None)[source]
- Parameters:
spec (ExecutionSpec)
- create_managed_run(spec, *, run_id, callback=None)[source]
Create backend execution for a caller-supplied persistent run ID.
RunManager owns the durable record; project membership is optional. Backends can override this hook to provide supervision and receipts.
- Parameters:
spec (ExecutionSpec)
- wait_status_native(native_id, timeout)[source]
Wait up to timeout seconds for a known state of a native job.
Unlike status_native(), this method may wait. A timeout returns UNKNOWN if the scheduler has still not provided a meaningful job state.