Skip to content

Commit 39308f3

Browse files
committed
Adjust CI to match PMIx/PRRTE
Use external PMIx and PRRTE for mpi4py to see if that is making the difference Signed-off-by: Ralph Castain <[email protected]>
1 parent e8cb48d commit 39308f3

File tree

1 file changed

+43
-2
lines changed

1 file changed

+43
-2
lines changed

.github/workflows/ompi_mpi4py.yaml

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,47 @@ jobs:
2727
if: ${{ runner.os == 'Linux' || runner.os == 'macOS' }}
2828

2929
- name: Install depencencies
30-
run: sudo apt-get install -y -q
31-
libnuma-dev
30+
run: |
31+
sudo apt-get update
32+
sudo apt-get install -y -q libnuma-dev
33+
sudo apt-get install -y --no-install-recommends software-properties-common libhwloc-dev libevent-dev
3234
if: ${{ runner.os == 'Linux' }}
3335

36+
- name: Git clone OpenPMIx
37+
uses: actions/checkout@v4
38+
with:
39+
submodules: recursive
40+
repository: openpmix/openpmix
41+
path: openpmix/master
42+
ref: master
43+
44+
- name: Build OpenPMIx
45+
run: |
46+
cd openpmix/master
47+
./autogen.pl
48+
./configure --prefix=$RUNNER_TEMP/pmixinstall
49+
make -j $(nproc)
50+
make install
51+
52+
- name: Git clone PRRTE
53+
uses: actions/checkout@v4
54+
with:
55+
submodules: recursive
56+
repository: openpmix/prrte
57+
path: prrte/master
58+
ref: master
59+
60+
- name: Build PRRTE
61+
run: |
62+
cd prrte/master
63+
./autogen.pl
64+
./configure \
65+
--prefix=$RUNNER_TEMP/prteinstall \
66+
--with-pmix=$RUNNER_TEMP/pmixinstall \
67+
--disable-sphinx
68+
make -j $(nproc)
69+
make install
70+
3471
- name: Checkout Open MPI
3572
uses: actions/checkout@v4
3673
with:
@@ -55,6 +92,10 @@ jobs:
5592
--disable-mpi-fortran
5693
--disable-oshmem
5794
--disable-silent-rules
95+
--with-hwloc=external
96+
--with-libevent=external
97+
--with-pmix=$RUNNER_TEMP/pmixinstall
98+
--with-prrte=$RUNNER_TEMP/prteinstall
5899
--prefix=/opt/openmpi
59100
LDFLAGS=-Wl,-rpath,/opt/openmpi/lib
60101
working-directory: mpi-build

0 commit comments

Comments
 (0)