Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try a DVM-based action #2107

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions .github/workflows/dvm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: DVM

on: [pull_request]

jobs:
dvm-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 test
run: |
export PATH=$RUNNER_TEMP/prteinstall/bin:${PATH}
export LD_LIBRARY_PATH=$RUNNER_TEMP/prteinstall/lib:${LD_LIBRARY_PATH}
prte --daemonize --no-ready-msg
prun -n 4 ./openpmix/master/examples/hello >& /dev/null
pterm
- name: Run pub-lookup tests
run: |
export PATH=$RUNNER_TEMP/prteinstall/bin:${PATH}
export LD_LIBRARY_PATH=$RUNNER_TEMP/prteinstall/lib:${LD_LIBRARY_PATH}
prte --daemonize --no-ready-msg
prun -n 3 ./openpmix/master/examples/pub >& /dev/null
prun -n 2 ./openpmix/master/examples/pub2 >& /dev/null
prun -n 4 ./openpmix/master/examples/pubi >& /dev/null
pterm
5 changes: 5 additions & 0 deletions .github/workflows/group.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,8 @@ jobs:
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
Loading