Skip to content

Commit 0ec725f

Browse files
authored
Merge pull request #154 from AndreasGocht/master
Finalise Score-P 8.0 Support
2 parents 261d947 + ce66692 commit 0ec725f

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ jobs:
1212

1313

1414
- name: Set up Python 3.8
15-
uses: actions/setup-python@v1
15+
uses: actions/setup-python@v4
1616
with:
1717
python-version: 3.8
1818
- name: Check Version
1919
run: test ${{ github.event.release.tag_name }} = `python -c "import scorep._version; print('v'+scorep._version.__version__)"`
20-
20+
2121
- name: Add Score-P repo
2222
run: sudo add-apt-repository ppa:andreasgocht/scorep
2323

2424
- name: Install Score-P
25-
run: sudo apt install scorep
25+
run: sudo apt-get -y install scorep
2626

2727
- name: Setup environment
2828
run: echo "$HOME/scorep/bin" >> $GITHUB_PATH

.github/workflows/static_analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on: [push, pull_request]
33

44
jobs:
55
Cpp:
6-
runs-on: ubuntu-18.04
6+
runs-on: ubuntu-22.04
77
steps:
88
- uses: actions/checkout@v2
99
- name: Formatting
@@ -13,10 +13,10 @@ jobs:
1313
clangFormatVersion: 9
1414

1515
Python:
16-
runs-on: ubuntu-18.04
16+
runs-on: ubuntu-22.04
1717
steps:
1818
- uses: actions/checkout@v2
19-
- uses: actions/setup-python@v2
19+
- uses: actions/setup-python@v4
2020
with:
2121
python-version: 3.8
2222
- name: Install Python packages

.github/workflows/unit_tests.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,20 @@ on: [push, pull_request, workflow_dispatch]
33

44
env:
55
SCOREP_TIMER: clock_gettime # tsc causes warnings
6+
RDMAV_FORK_SAFE:
7+
IBV_FORK_SAFE:
68

79
jobs:
810
build:
911
runs-on: ubuntu-latest
1012
strategy:
1113
matrix:
12-
python: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", 'pypy-2.7', 'pypy-3.6', 'pypy-3.7', 'pypy-3.8']
14+
python: ["2.7", "3.7", "3.8", "3.9", "3.10", "3.11", 'pypy-2.7', 'pypy-3.6', 'pypy-3.7', 'pypy-3.8']
1315
fail-fast: false
1416

1517
steps:
1618
- uses: actions/checkout@v2
17-
- uses: actions/cache@v1
19+
- uses: actions/cache@v3
1820
with:
1921
path: ~/.cache/pip
2022
key: ${{ runner.os }}-pip
@@ -23,12 +25,12 @@ jobs:
2325
run: sudo add-apt-repository ppa:andreasgocht/scorep
2426

2527
- name: Install Score-P
26-
run: sudo apt install scorep
28+
run: sudo apt-get -y install scorep
2729

2830
- name: Setup environment
2931
run: echo "$HOME/scorep/bin" >> $GITHUB_PATH
3032
- name: set up Python
31-
uses: actions/setup-python@v2
33+
uses: actions/setup-python@v4
3234
with:
3335
python-version: ${{matrix.python}}
3436
architecture: x64

test/test_scorep.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def test_mpi(scorep_env, instrumenter):
265265
env=scorep_env,
266266
)
267267

268-
assert re.search(r"\[Score-P\] [\w/.: ]*MPI_THREAD_FUNNELED", std_err)
268+
assert re.search(r"\[Score-P\] [\w/.: ]*MPI_THREAD_\(SERIALIZED\|MULTIPLE\) ", std_err)
269269
assert "[00] [0. 1. 2. 3. 4.]\n" in std_out
270270
assert "[01] [0. 1. 2. 3. 4.]\n" in std_out
271271
assert "bar\n" in std_out

0 commit comments

Comments
 (0)