Correct the handling of "prefix" #98
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: DVM | |
on: [pull_request] | |
jobs: | |
pub-lookup: | |
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 --enable-devel-check | |
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 --pset foo ./openpmix/master/examples/hello | |
if: ${{ true }} | |
timeout-minutes: 5 | |
- name: Run pub-lookup test1 | |
run: | | |
export PATH=$RUNNER_TEMP/prteinstall/bin:${PATH} | |
export LD_LIBRARY_PATH=$RUNNER_TEMP/prteinstall/lib:${LD_LIBRARY_PATH} | |
prterun -n 3 ./openpmix/master/examples/pub | |
if: ${{ true }} | |
timeout-minutes: 5 | |
- name: Run pub-lookup test2 | |
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/pub2 20 | |
if: ${{ true }} | |
timeout-minutes: 5 | |
- name: Run pub-lookup test3 | |
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/pubi | |
if: ${{ true }} | |
timeout-minutes: 5 | |
- name: Run pub-lookup stress test | |
run: | | |
export PATH=$RUNNER_TEMP/prteinstall/bin:${PATH} | |
export LD_LIBRARY_PATH=$RUNNER_TEMP/prteinstall/lib:${LD_LIBRARY_PATH} | |
prterun -n 5 ./openpmix/master/examples/pubstress 30 | |
if: ${{ true }} | |
timeout-minutes: 10 |