Skip to content

Commit 4bb3d5c

Browse files
committed
deps: add support for arm64 for gcc and nvidia
1 parent 06ce8b4 commit 4bb3d5c

3 files changed

Lines changed: 25 additions & 1 deletion

File tree

.github/workflows/pytest-core-mpi.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,18 @@ jobs:
6666
runs-on: ${{ matrix.os }}
6767
strategy:
6868
matrix:
69-
name: [gcc, icx]
69+
name: [gcc, gcc-arm, icx]
7070
include:
7171
- name: gcc
7272
arch: gcc
7373
os: ubuntu-latest
7474
mpiflag: ""
75+
76+
- name: gcc-arm
77+
arch: gcc
78+
os: ubuntu-24.04-arm
79+
mpiflag: ""
80+
7581
- name: icx
7682
arch: icx
7783
os: ubuntu-latest

.github/workflows/pytest-core-nompi.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
pytest-ubuntu-py310-gcc9-omp,
3939
pytest-osx-py312-clang-omp,
4040
pytest-docker-py310-gcc-omp,
41+
pytest-docker-py310-gcc-omp-arm64,
4142
pytest-docker-py310-icx-omp,
4243
pytest-ubuntu-py313-gcc14-omp
4344
]
@@ -99,6 +100,13 @@ jobs:
99100
language: "openmp"
100101
sympy: "1.13"
101102

103+
- name: pytest-docker-py310-gcc-omp
104+
python-version: '3.10'
105+
os: ubuntu-24.04-arm
106+
arch: "gcc"
107+
language: "openmp"
108+
sympy: "1.13"
109+
102110
- name: pytest-docker-py310-icx-omp
103111
python-version: '3.10'
104112
os: ubuntu-latest

docker/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,16 @@ In addition, the following legacy tags are available:
7575
- `devito:gpu-*` that corresponds to `devito:nvidia-nvc-*`
7676

7777

78+
### [Devito] on ARM64
79+
80+
We provide arm64 compatible images for both gcc and nvidia compilers. These images have the same tag as their x86_64 images and will automatically pull the correct architecture based on your system. Namely the base images supporting arm64 are
81+
82+
- `devitocodes/bases:cpu-gcc14` for the gcc 14 base image.
83+
- `devitocodes/bases:cpu-gcc` for the ubuntu 22.04 default gcc base image.
84+
- `devitocodes/bases:nvidia-nvc` for the nvidia openacc base image.
85+
- `devitocodes/bases:nvidia-nvcc` for the nvidia cuda base image.
86+
87+
7888
## Build a [Devito] image
7989

8090
To build the images yourself, you only need to run the standard build command using the provided Dockerfile. The main difference between the CPU and GPU images will be the base image used.

0 commit comments

Comments
 (0)