# boulderopalscaleup.runtime.Runtime

Source: https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/runtime/Runtime

```python
class boulderopalscaleup.runtime.Runtime(options)
```

Manages hardware systems and executes compiled programs.

A runtime holds a set of registered hardware systems and executes compiled
programs against them. It supports the context manager protocol for automatic
resource cleanup.

Use `Runtime.new()` as the preferred constructor.

### Variables
* **is_closed** (*bool*) – `True` once the runtime and all its systems have been closed.
* **systems** (*dict* *[* *str* *,* *System* *]*) – Registered hardware systems, keyed by system identifier.

## Methods

|||
|------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------|
| [__init__](https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/runtime/boulderopalscaleup.runtime.Runtime.__init__.md#boulderopalscaleup.runtime.Runtime.__init__)   |                                                                   |
| [add_system](https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/runtime/add_system.md#boulderopalscaleup.runtime.Runtime.add_system)                                | Register a system with this runtime.                              |
| [bind](https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/runtime/bind.md#boulderopalscaleup.runtime.Runtime.bind)                                                  | Compile a manifest into an executable against registered systems. |
| [close](https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/runtime/close.md#boulderopalscaleup.runtime.Runtime.close)                                               | Close the runtime and all registered systems.                     |
| [new](https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/runtime/new.md#boulderopalscaleup.runtime.Runtime.new)                                                     | Create a new runtime with the provided options.                   |
| [run](https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/runtime/run.md#boulderopalscaleup.runtime.Runtime.run)                                                     | Bind and immediately execute a manifest.                          |
