Skip to content

Commit

Permalink
debugging round 0
Browse files Browse the repository at this point in the history
Signed-off-by: Howard Pritchard <[email protected]>
  • Loading branch information
hppritcha committed Jan 12, 2024
1 parent 328eaed commit da53911
Showing 1 changed file with 0 additions and 77 deletions.
77 changes: 0 additions & 77 deletions .github/workflows/ompi_mpi4py.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,80 +24,3 @@ jobs:
- name: Bootstrap Open MPI
run: ./autogen.pl
working-directory: mpi-build

- name: Configure Open MPI
run: ./configure
--disable-dependency-tracking
--enable-debug
--enable-mem-debug
--disable-sphinx
--disable-man-pages
--disable-mpi-fortran
LDFLAGS=-Wl,-rpath,/usr/local/lib
working-directory: mpi-build

- name: Build MPI
run: make -j 2
working-directory: mpi-build

- name: Install MPI
run: sudo make install
working-directory: mpi-build

- name: Tweak MPI
run: |
# Tweak MPI
mca_params="$HOME/.openmpi/mca-params.conf"
mkdir -p "$(dirname "$mca_params")"
echo mpi_param_check = true >> "$mca_params"
echo mpi_show_handle_leaks = true >> "$mca_params"
echo rmaps_base_oversubscribe = true >> "$mca_params"
mca_params="$HOME/.prte/mca-params.conf"
mkdir -p "$(dirname "$mca_params")"
echo rmaps_default_mapping_policy = :oversubscribe >> "$mca_params"
- name: Show MPI
run: ompi_info

- name: Show MPICC
run: mpicc -show

- name: Use Python
uses: actions/setup-python@v5
with:
python-version: 3
architecture: x64

- name: Install Python packages (build)
run: python -m pip install --upgrade
setuptools pip wheel

- name: Install Python packages (test)
run: python -m pip install --upgrade
numpy cffi pyyaml

- name: Checkout mpi4py
uses: actions/checkout@v4
with:
repository: "mpi4py/mpi4py"

- name: Install mpi4py
run: python -m pip install .
env:
CFLAGS: "-O0"

- name: Test mpi4py (singleton)
run: python test/main.py -v
if: ${{ true }}
- name: Test mpi4py (np=1)
run: mpiexec -n 1 python test/main.py -v
- name: Test mpi4py (np=2)
run: mpiexec -n 2 python test/main.py -v -f
- name: Test mpi4py (np=3)
run: mpiexec -n 3 python test/main.py -v -f
if: ${{ true }}
timeout-minutes: 10
- name: Test mpi4py (np=5)
run: mpiexec -n 5 python test/main.py -v -f
if: ${{ true }}
timeout-minutes: 20

0 comments on commit da53911

Please sign in to comment.