-
Notifications
You must be signed in to change notification settings - Fork 7
100 lines (75 loc) · 2.72 KB
/
drishti-darshan-3.4.2.yml
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
name: Drishti (Darshan 3.4.2)
on:
pull_request:
push:
workflow_dispatch:
jobs:
drishti:
runs-on: ubuntu-latest
container: jlbez/dxt-explorer-ubuntu-20.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Dependencies
run: |
sudo apt-get update
sudo apt-get install cmake gcc git libtool python3 python3-pip libcurl4-openssl-dev software-properties-common -y
# Darshan
git clone https://github.com/darshan-hpc/darshan.git darshan-3.4.2
cd darshan-3.4.2
git checkout darshan-3.4.2
pip install --upgrade pip
- name: Build Darshan
run: |
export DARSHAN_DIR=/opt/darshan
mkdir $DARSHAN_DIR
cd darshan-3.4.2
bash prepare.sh
cd darshan-util
./configure --prefix=$DARSHAN_DIR
make
make install
- name: Install py-darshan
run: |
pip install darshan==3.4.2
- name: Install Drishti
run: |
pip install -r requirements.txt
pip install .
- name: Run Drishti (--help)
run: |
export PATH=/opt/darshan/bin:$PATH
drishti -h
- name: Run Drishti (--issues)
run: |
export PATH=/opt/darshan/bin:$PATH
drishti --issues sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
- name: Run Drishti (--code)
run: |
export PATH=/opt/darshan/bin:$PATH
drishti --code sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
- name: Run DXT Explorer (--verbose)
run: |
export PATH=/opt/darshan/bin:$PATH
drishti --verbose sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
- name: Run DXT Explorer (--path)
run: |
export PATH=/opt/darshan/bin:$PATH
drishti --path sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
- name: Run DXT Explorer (--html)
run: |
export PATH=/opt/darshan/bin:$PATH
drishti --html sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
- name: Run DXT Explorer (--svg)
run: |
export PATH=/opt/darshan/bin:$PATH
drishti --svg sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
- name: Upload Artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: tests
path: sample/**
retention-days: 1