File: task.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 (80 lines) | stat: -rw-r--r-- 2,803 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{% extends "layout.html" %}

{% block content %}

<br />
<h2>{{ task_details['task_func_name'] }} ({{ task_details['task_id'] }})</h2>
<hr>
<div class="container">
  <div class="row">
    <div class="col">
<ul>
    <li><b>Workflow name:</b>  <a href="/workflow/{{ workflow_details['run_id'] }}/">{{ workflow_details['workflow_name'] }}<a/></li>
    <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>task_func_name:</b>   <a href="/workflow/{{ workflow_details['run_id'] }}/app/{{ task_details['task_func_name'] }}">{{ task_details['task_func_name'] }}</a></li>
    <li><b>task_id:</b>  {{ task_details['task_id'] }}</li>
    <li><b>task_depends:</b>
        {% if task_details['task_depends'] %}
            {% for id in task_details['task_depends'].split(",") %}
                <a href="/workflow/{{ workflow_details['run_id'] }}/task/{{ id }}">{{ id }}</a>
            {% endfor %}
        {% else %}
            None
        {% endif %}
    </li>
    <li><b>task_time_invoked:</b>  {{ task_details['task_time_invoked'] | timeformat }}</li>
    <li><b>task_time_returned:</b>  {{ task_details['task_time_returned'] | timeformat }}</li>
    <li><b>task_inputs:</b>  {{ task_details['task_inputs'] }}</li>
    <li><b>task_outputs:</b>  {{ task_details['task_outputs'] }}</li>
    <li><b>task_stdin:</b>  {{ task_details['task_stdin'] }}</li>
    <li><b>task_stdout:</b>  {{ task_details['task_stdout'] }}</li>
    <li><b>task_stderr:</b>  {{ task_details['task_stderr'] }}</li>
</ul>
    </div>
    <div class="col">
        <h5>Task State</h5>

        <table class="table table-hover" style="width: 400px">
            <thead>
              <tr>
                <th>Time</th>
                <th>State</th>
              </tr>
            </thead>
            <tbody>
              {% for t in task_status %}
                  <tr>
                <td>{{ t.timestamp | timeformat }}</td>
                <td>{{ t.task_status_name }}</td>
              </tr>
            {% endfor %}
            </tbody>
          </table>
    </div>
  </div>
</div>

<div class="container">
  <div class="row">
    <div class="col-6" style="height: 350px;">
{{ time_series_memory_resident|safe }}
    </div>
  </div>
</div>

<!--
<div class="container">
  <div class="row">
    <div class="col-6" style="height: 300px;">
{{ time_series_memory_percent|safe }}
    </div>
    <div class="col-6" style="height: 300px;">
{{ time_series_memory_resident|safe }}
    </div>
  </div>
</div>
-->
{% endblock %}