File: workflow.html

package info (click to toggle)
python-parsl 2025.01.13%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,072 kB
  • sloc: python: 23,817; makefile: 349; sh: 276; ansic: 45
file content (55 lines) | stat: -rw-r--r-- 1,871 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{% extends "layout.html" %}

{% block content %}

<br />
<h2>{{ workflow_details['workflow_name'] }}</h2>
<hr>

<div class="container">
  <div class="row">
    <div class="col">
        <h5>Workflow Summary</h5>

        <ul>
            <li><b>Started:</b>  {{ workflow_details['time_began'] | timeformat}}</li>
            <li><b>Completed:</b>  {{ workflow_details['time_completed'] | timeformat }}</li>
            <li><b>Workflow duration:</b>  {{ (workflow_details['time_began'], workflow_details['time_completed']) | durationformat }}</li>
            <li><b>Owner:</b>  {{ workflow_details['user'] }}</li>
            <li><b>Host:</b>  {{ workflow_details['host'] }}</li>
            <li><b>Run directory:</b>  {{ workflow_details['rundir'] }}</li>
            <li><b>Number of completed tasks:</b>  {{ workflow_details['tasks_completed_count'] }}</li>
            <li><b>Number of failed tasks:</b>  {{ workflow_details['tasks_failed_count'] }}</li>
        </ul>
    </div>
    <div class="col">
        <h5>App Summary</h5>

        <table class="table table-hover" style="width: 400px">
            <thead>
              <tr>
                <th>Name</th>
                <th>Count</th>
              </tr>
            </thead>
            <tbody>
              {% for (_, t) in task_summary.iterrows() %}
                  <tr>
                <td><a href="app/{{ t['task_func_name'] }}">{{ t['task_func_name'] }}</a></td>
                <td>{{ t.frequency }}</td>
              </tr>
            {% endfor %}
            </tbody>
          </table>
    </div>
  </div>
</div>

<a href="dag_group_by_apps">View workflow DAG -- colored by apps</a>
<br><a href="dag_group_by_states">View workflow DAG -- colored by task states</a>
<br><a href="resource_usage">View workflow resource usage</a>

{{ task_gantt | safe }}
{{ task_per_app |safe }}

{% endblock %}