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

test pr add one #36

Closed
wants to merge 2 commits into from
Closed
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
36 changes: 36 additions & 0 deletions .github/workflows/ompi_mpi4py.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: MPI4PY Sanity check CI

on: [pull_request]

env:
ROCM_VER: 5-4
PYTHONPATH: $PYTHONPATH:$PWD/mpi4py-3.1.5/
jobs:
run_mpi4py:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y --no-install-recommends wget lsb-core software-properties-common curl pip3
pip3 install cython
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Build Open MPI
run: |
./autogen.pl
./configure --disable-mpi-fortran
make -j install
- name: Build MPI4py
run: |
wget https://github.com/mpi4py/mpi4py/releases/download/3.1.5/mpi4py-3.1.5.tar.gz
tar -zxf mpi4py-3.1.5.tar.gz
cd mpi4py-3.1.5
python3 setup.py build --mpicc="mpicc -shared"
python3 setup.py install --user
- name: Run MPI4py
run: |
cd mpi4py-3.1.5/test
mpirun --map-by :OVERSUBSCRIBE -np 3 python3 ./main.py -v -f

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Open MPI

foo

[The Open MPI Project](https://www.open-mpi.org/) is an open source
implementation of the [Message Passing Interface (MPI)
specification](https://www.mpi-forum.org/docs/) that is developed and
Expand Down