{% extends "broker/base.html" %}{% block title %}Add environment on {{ cluster }}{% endblock %}{% block content %} {% include "broker/cluster_navigation.html" with cluster_section="new_environment" current="Add environment" %}
Select Python modules, Anaconda/Miniforge, or an existing Poetry/venv environment for {{ cluster }}. Use Inspect selection to find executable paths and existing environments through your running connector, then save a recipe and grant it in project settings.
It loads your selected modules in the cluster login shell and lists existing environments. It never installs packages or runs a project. Conda uses isolated configuration; Poetry environments are found from existing prefixes and its standard cache. You can enter custom paths manually.
Restart this cluster's connector with the updated Compute Relay package to enable inspection. Manual paths and the saved catalog remain available.
{% endif %} {% if waiting %}Waiting for your connector to inspect this selection…
{% elif task.state == "failed" %}Inspection failed: {{ task.error_code }}. Check the connector and module selection, then inspect again.
{% elif task and not observation %}Inspection expired. Keep the connector running and inspect again.
{% endif %} {% if observation %}Inspection requested {{ task.created_at }}; results from the login node. Compute-node availability is unverified. Conda: {{ observation.conda_status }}.{% if observation.poetry_executable %} Poetry: {{ observation.poetry_executable }}.{% endif %}{% if observation.truncated %} Some candidates were omitted; you can enter an exact prefix manually.{% endif %}
This cluster's catalog includes module filename candidates{% if selected_cluster.discovery_snapshot.software.modules.availability.enabled %} and the site's module listing{% endif %}. Aliases, dependencies and compatibility have not been validated together. Review the selected modules and initialization in the job package before execution.
{% endif %} {{ form.detected_environments|json_script:"detected-environments" }} {% if observation %}{{ observation|json_script:"environment-observation" }}{% endif %} {% endblock %}