{% autoescape on %}

{{ diagnostics.title }}

{{ diagnostics.message }}

Next step: {{ diagnostics.suggestion }}

{% if diagnostics.tracking and diagnostics.tracking.status != "recent" %}

Connector is not reporting. Last contact: {{ diagnostics.tracking.last_contact_at|default:"Not yet reported" }}. This is saved status; jobs may have finished or continued on Slurm. Reconnect the connector to recover observations and outputs without resubmitting jobs.

{% endif %}
Scheduler and accounting details
Slurm job ID
{{ diagnostics.native_job_id|default:"Not recorded" }}
Cluster
{% if diagnostics.connection_removed %}{{ diagnostics.cluster_name }} (configuration removed){% elif diagnostics.connection_id %}{{ diagnostics.cluster_name }}{% else %}{{ diagnostics.cluster_name }}{% endif %}
Broker attempt
{{ diagnostics.attempt_id|default:"Not recorded" }}
Broker job
{{ diagnostics.job_id|default:"Not recorded" }}
Execution state
{{ diagnostics.state }}
Native state
{{ diagnostics.native_state|default:"Not reported" }}
Exit status (exit code:signal)
{{ diagnostics.exit_code|default:"Not reported" }}
Broker error code
{{ diagnostics.error_code|default:"No broker error code recorded" }}
Accounting
{{ diagnostics.accounting_state }}{% if diagnostics.accounting_final == True %} · Final usage reported{% elif diagnostics.accounting_final == False %} · Final usage not reported{% endif %}
Output collection
{{ diagnostics.collection_state }}
Last output activity
{{ diagnostics.log_updated_at|default:"No output received yet" }}
Observation source
{{ diagnostics.source|default:"Not reported" }}
Reported allocation
{{ diagnostics.allocated_cpus|default_if_none:"Unknown" }} CPUs · {{ diagnostics.allocated_gpus|default_if_none:"Unknown" }} GPUs · {{ diagnostics.elapsed_seconds|default_if_none:"Unknown" }} seconds
Reported usage
{{ diagnostics.cpu_core_seconds|default_if_none:"Unknown" }} CPU-core seconds · {{ diagnostics.gpu_device_seconds|default_if_none:"Unknown" }} GPU-device seconds
{% for notice in diagnostics.notices %}

{{ notice }}

{% endfor %} {% if diagnostics.cancellation_pending %}

Cancellation is requested. The connector must confirm the outcome; accounting and reserved compute can remain pending.

{% endif %} {% if diagnostics.can_cancel %}
{% csrf_token %}

Cancellation keeps this attempt's identity and accounting. A dispatched job may already have used compute; cancellation does not promise a refund.

{% endif %} {% if diagnostics.can_collect %}
{% csrf_token %}

Recover files from this same finished allocation. This does not run the program again or create another compute reservation.

{% endif %} {% if diagnostics.outputs %}

Declared results

A download does not acknowledge all results or validate their scientific content. Keep the path and verify the recorded SHA-256 when saving results for further work.

{% endif %}
Collected logs

Standard error

{{ diagnostics.stderr|default:"No standard error collected." }}
{% if diagnostics.stderr_truncated %}

Standard error preview is limited to {{ diagnostics.log_limit_bytes }} bytes. Additional text is not shown here.

{% endif %}

Standard output

{{ diagnostics.stdout|default:"No standard output collected." }}
{% if diagnostics.stdout_truncated %}

Standard output preview is limited to {{ diagnostics.log_limit_bytes }} bytes. Additional text is not shown here.

{% endif %}
{% endautoescape %}