File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717jobs :
1818 test-mpi-basic :
1919 name : pytest-mpi
20- runs-on : ubuntu-20 .04
20+ runs-on : ubuntu-22 .04
2121 strategy :
2222 matrix :
2323 python-version : ['3.9', '3.11']
@@ -76,20 +76,20 @@ jobs:
7676 os : ubuntu-latest
7777 # Need safe math for icx due to inaccuracy with mpi+sinc interpolation
7878 mpiflag : " -e DEVITO_SAFE_MATH=1"
79-
79+
8080 steps :
8181 - name : Checkout devito
8282 uses : actions/checkout@v4
83-
83+
8484 - name : Build docker image
8585 run : |
8686 docker build . --file docker/Dockerfile.devito --tag devito_img --build-arg base=devitocodes/bases:cpu-${{ matrix.arch }}
87-
87+
8888 - name : Test with pytest
8989 run : |
9090 docker run --init -t --rm -e CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} -e OMP_NUM_THREADS=1 --name testrun devito_img pytest tests/test_mpi.py
9191
9292 - name : Test examples with MPI
9393 run : |
9494 docker run --init -t --rm ${{ matrix.mpiflag }} -e DEVITO_MPI=1 -e OMP_NUM_THREADS=1 --name examplerun devito_img mpiexec -n 2 pytest examples/seismic/acoustic
95- docker run --init -t --rm -e DEVITO_MPI=1 -e OMP_NUM_THREADS=1 --name examplerun devito_img mpiexec -n 2 pytest examples/seismic/tti
95+ docker run --init -t --rm -e DEVITO_MPI=1 -e OMP_NUM_THREADS=1 --name examplerun devito_img mpiexec -n 2 pytest examples/seismic/tti
Original file line number Diff line number Diff line change @@ -58,14 +58,14 @@ jobs:
5858
5959 - name : pytest-ubuntu-py39-gcc7-omp
6060 python-version : ' 3.9'
61- os : ubuntu-20 .04
61+ os : ubuntu-22 .04
6262 arch : " gcc-7"
6363 language : " openmp"
6464 sympy : " 1.9"
6565
6666 - name : pytest-ubuntu-py310-gcc10-noomp
6767 python-version : ' 3.10'
68- os : ubuntu-20 .04
68+ os : ubuntu-22 .04
6969 arch : " gcc-10"
7070 language : " C"
7171 sympy : " 1.11"
7777 language : " openmp"
7878 sympy : " 1.13"
7979
80- - name : pytest-ubuntu-py39-gcc9-omp
81- python-version : ' 3.9'
82- os : ubuntu-20.04
83- arch : " custom"
84- language : " openmp"
85- sympy : " 1.10"
86-
8780 - name : pytest-osx-py312-clang-omp
8881 python-version : ' 3.12'
8982 os : macos-latest
@@ -152,7 +145,7 @@ jobs:
152145 echo "/opt/homebrew/opt/llvm/bin" >> $GITHUB_PATH
153146 fi
154147 id : set-tests
155-
148+
156149 - name : Set pip flags for latest python (3.12)
157150 run : |
158151 if [ "${{ matrix.python-version }}" == '3.12' ]; then
You can’t perform that action at this time.
0 commit comments