Skip to content

mpi hang not observed if plt.show() not last line #12

mpi hang not observed if plt.show() not last line

mpi hang not observed if plt.show() not last line #12

Workflow file for this run

name: CI
on:
push:
branches:
- numpy_debug_v2
defaults:
run:
shell: bash -l {0}
jobs:
style:
runs-on: ubuntu-22.04
container:
image: dolfinx/dolfinx:stable
options: --user 1001 --privileged
name: CI test
steps:
- name: run code
uses: actions/checkout@v2
- name: run the file
run: cd ./example && mpirun -n 1 python3 -u sfsi_toy_gaussian.py
- name: change directory and validate
run: |
cd ./example/testing_folder &&
output=$(python3 test_script.py) &&
if [[ "$output" == "1" ]]; then
exit 1
fi