INCITE Summit

Link to official documentation

class flow.environments.incite.SummitEnvironment[source]

Bases: flow.environment.DefaultLSFEnvironment

Environment profile for the Summit supercomputer.

Example:

@Project.operation
@directives(nranks=3) # 3 MPI ranks per operation
@directives(ngpu=3) # 3 GPUs
@directives(np=3) # 3 CPU cores
@directives(rs_tasks=3) # 3 tasks per resource set
@directives(extra_jsrun_args='--smpiargs="-gpu"') # extra jsrun arguments
def my_operation(job):
    ...

https://www.olcf.ornl.gov/summit/

summit.sh
{# Templated in accordance with: https://www.olcf.ornl.gov/for-users/system-user-guides/summit/running-jobs/ #}
{% extends "lsf.sh" %}
{% block tasks %}
    {% set threshold = 0 if force else 0.9 %}
    {% set nn = operations|map('guess_resource_sets')|calc_num_nodes(parallel) %}
#BSUB -nnodes {{ nn }}
{% endblock tasks %}
{% block header %}
    {{- super() -}}
    {% set account = account|default(environment|get_account_name, true) %}
    {% if account %}
#BSUB -P {{ account }}
    {% endif %}
{% endblock header %}