-
Notifications
You must be signed in to change notification settings - Fork 68
76 lines (74 loc) · 2.78 KB
/
group.yaml
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
name: GROUP
on: [pull_request]
jobs:
group-testsuite:
runs-on: ubuntu-22.04
steps:
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y --no-install-recommends wget software-properties-common hwloc libhwloc-dev libevent-2.1-7 libevent-dev
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Git clone PMIx
uses: actions/checkout@v3
with:
submodules: recursive
repository: openpmix/openpmix
path: openpmix/master
ref: master
- name: Build PMIx
run: |
cd openpmix/master
./autogen.pl
./configure --prefix=$RUNNER_TEMP/pmixinstall
make -j
make install
- name: Git clone PRRTE
uses: actions/checkout@v3
with:
submodules: recursive
clean: false
- name: Build PRRTE
run: |
./autogen.pl
./configure --prefix=$RUNNER_TEMP/prteinstall --with-pmix=$RUNNER_TEMP/pmixinstall
make -j
make install
- name: Tweak PRRTE
run: |
# Tweak PRRTE
mca_params="$HOME/.prte/mca-params.conf"
mkdir -p "$(dirname "$mca_params")"
echo rmaps_default_mapping_policy = :oversubscribe >> "$mca_params"
- name: Run simple group
run: |
export PATH=$RUNNER_TEMP/prteinstall/bin:${PATH}
export LD_LIBRARY_PATH=$RUNNER_TEMP/prteinstall/lib:${LD_LIBRARY_PATH}
prterun -n 4 ./openpmix/master/examples/group >& /dev/null
- name: Run simple group with query
run: |
export PATH=$RUNNER_TEMP/prteinstall/bin:${PATH}
export LD_LIBRARY_PATH=$RUNNER_TEMP/prteinstall/lib:${LD_LIBRARY_PATH}
prterun -n 4 ./openpmix/master/examples/group --test-query >& /dev/null
- name: Run local CID group
run: |
export PATH=$RUNNER_TEMP/prteinstall/bin:${PATH}
export LD_LIBRARY_PATH=$RUNNER_TEMP/prteinstall/lib:${LD_LIBRARY_PATH}
prterun -n 4 ./openpmix/master/examples/group_lcl_cid >& /dev/null
- name: Run async group
run: |
export PATH=$RUNNER_TEMP/prteinstall/bin:${PATH}
export LD_LIBRARY_PATH=$RUNNER_TEMP/prteinstall/lib:${LD_LIBRARY_PATH}
prterun -n 4 ./openpmix/master/examples/asyncgroup >& /dev/null
- name: Run group dmodex
run: |
export PATH=$RUNNER_TEMP/prteinstall/bin:${PATH}
export LD_LIBRARY_PATH=$RUNNER_TEMP/prteinstall/lib:${LD_LIBRARY_PATH}
prterun -n 4 ./openpmix/master/examples/group_dmodex >& /dev/null
- name: Run spawn group
run: |
export PATH=$RUNNER_TEMP/prteinstall/bin:${PATH}
export LD_LIBRARY_PATH=$RUNNER_TEMP/prteinstall/lib:${LD_LIBRARY_PATH}
prterun -n 2 ./openpmix/master/examples/multi_nspace_group >& /dev/null