File tree Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 17
17
jobs :
18
18
test-mpi-basic :
19
19
name : pytest-mpi
20
- runs-on : ubuntu-20 .04
20
+ runs-on : ubuntu-22 .04
21
21
strategy :
22
22
matrix :
23
23
python-version : ['3.9', '3.11']
28
28
OMP_NUM_THREADS : " 1"
29
29
CC : " gcc-9"
30
30
CXX : " g++-9"
31
+ RDMAV_FORK_SAFE : 1
31
32
32
33
steps :
33
34
- uses : actions/setup-python@v5
@@ -76,20 +77,20 @@ jobs:
76
77
os : ubuntu-latest
77
78
# Need safe math for icx due to inaccuracy with mpi+sinc interpolation
78
79
mpiflag : " -e DEVITO_SAFE_MATH=1"
79
-
80
+
80
81
steps :
81
82
- name : Checkout devito
82
83
uses : actions/checkout@v4
83
-
84
+
84
85
- name : Build docker image
85
86
run : |
86
87
docker build . --file docker/Dockerfile.devito --tag devito_img --build-arg base=devitocodes/bases:cpu-${{ matrix.arch }}
87
-
88
+
88
89
- name : Test with pytest
89
90
run : |
90
91
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
91
92
92
93
- name : Test examples with MPI
93
94
run : |
94
95
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
96
+ 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 32
32
name : [
33
33
pytest-ubuntu-py311-gcc11-noomp,
34
34
pytest-ubuntu-py312-gcc12-omp,
35
- pytest-ubuntu-py39-gcc7 -omp,
35
+ pytest-ubuntu-py39-gcc14 -omp,
36
36
pytest-ubuntu-py310-gcc10-noomp,
37
37
pytest-ubuntu-py312-gcc13-omp,
38
38
pytest-ubuntu-py39-gcc9-omp,
@@ -56,16 +56,16 @@ jobs:
56
56
language : " openmp"
57
57
sympy : " 1.13"
58
58
59
- - name : pytest-ubuntu-py39-gcc7 -omp
59
+ - name : pytest-ubuntu-py39-gcc14 -omp
60
60
python-version : ' 3.9'
61
- os : ubuntu-20 .04
62
- arch : " gcc-7 "
61
+ os : ubuntu-24 .04
62
+ arch : " gcc-14 "
63
63
language : " openmp"
64
64
sympy : " 1.9"
65
65
66
66
- name : pytest-ubuntu-py310-gcc10-noomp
67
67
python-version : ' 3.10'
68
- os : ubuntu-20 .04
68
+ os : ubuntu-22 .04
69
69
arch : " gcc-10"
70
70
language : " C"
71
71
sympy : " 1.11"
79
79
80
80
- name : pytest-ubuntu-py39-gcc9-omp
81
81
python-version : ' 3.9'
82
- os : ubuntu-20 .04
82
+ os : ubuntu-22 .04
83
83
arch : " custom"
84
84
language : " openmp"
85
85
sympy : " 1.10"
@@ -152,7 +152,7 @@ jobs:
152
152
echo "/opt/homebrew/opt/llvm/bin" >> $GITHUB_PATH
153
153
fi
154
154
id : set-tests
155
-
155
+
156
156
- name : Set pip flags for latest python (3.12)
157
157
run : |
158
158
if [ "${{ matrix.python-version }}" == '3.12' ]; then
You can’t perform that action at this time.
0 commit comments