OLCF Andes

Link to official documentation <https://docs.olcf.ornl.gov/systems/andes_user_guide.html#running-jobs>

class flow.environments.incite.AndesEnvironment[source]

Bases: DefaultSlurmEnvironment

Environment profile for the Andes supercomputer.

https://www.olcf.ornl.gov/olcf-resources/compute-systems/andes/

andes.sh
{# Templated in accordance with: https://docs.olcf.ornl.gov/systems/andes_user_guide.html #}
{% extends "slurm.sh" %}
{% block tasks %}
    {% if 'gpu' in partition %}
        {% if resources.ncpu_tasks > resources.ngpu_tasks * 14 and not force %}
            {% raise "Cannot request more than 14 CPUs per GPU." %}
        {% endif %}
    {% endif %}
#SBATCH -N {{ resources.num_nodes }}
#SBATCH --ntasks={{ resources.ncpu_tasks }}
    {% if partition == 'gpu' %}
#SBATCH --gpus={{ resources.ngpu_tasks }}
    {% endif %}
{% endblock tasks %}
{% block header %}
    {{- super() -}}
    {% set account = account|default(project|get_account_name, true) %}
    {% if account %}
#SBATCH -A {{ account }}
    {% endif %}
{% endblock header %}