Add v4 news file and adjust CI workflows #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build with PMIx v5 | |
on: [pull_request] | |
jobs: | |
ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y --no-install-recommends software-properties-common libhwloc-dev libevent-dev | |
- name: Git clone OpenPMIx | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
repository: openpmix/openpmix | |
path: openpmix/v5 | |
ref: v5.0 | |
- name: Build OpenPMIx | |
run: | | |
cd openpmix/v5 | |
./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 test | |
run: | | |
export PATH=$RUNNER_TEMP/prteinstall/bin:${PATH} | |
export LD_LIBRARY_PATH=$RUNNER_TEMP/prteinstall/lib:${LD_LIBRARY_PATH} | |
prterun -n 4 ./openpmix/v5/examples/hello >& /dev/null | |
ubuntuClang: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y --no-install-recommends software-properties-common libhwloc-dev libevent-dev clang | |
- name: Git clone OpenPMIx | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
repository: openpmix/openpmix | |
path: openpmix/v5 | |
ref: v5.0 | |
- name: Build OpenPMIx | |
run: | | |
cd openpmix/v5 | |
./autogen.pl | |
CC=clang ./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 | |
pip3 install -r docs/requirements.txt | |
CC=clang ./configure --prefix=$RUNNER_TEMP/prteinstall --with-pmix=$RUNNER_TEMP/pmixinstall $sphinx | |
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 test | |
run: | | |
export PATH=$RUNNER_TEMP/prteinstall/bin:${PATH} | |
export LD_LIBRARY_PATH=$RUNNER_TEMP/prteinstall/lib:${LD_LIBRARY_PATH} | |
prterun -n 4 ./openpmix/v5/examples/hello >& /dev/null |