Skip to content

Commit 6e043d7

Browse files
committed
Update intel versions in CI
* Resolves issue where tests were failing for specific versions of ifx in other branches. * Requires separate versions for ifort and ifx as ifort deprecated from 2024.2.0 * Fixes a small bug in specifying the standard via command-line flag.
1 parent 7cfd662 commit 6e043d7

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/test_suite_ubuntu_cpu_intel.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,11 @@ jobs:
4141
- toolchain: intel-ifx
4242
FC: ifx
4343
MPIFC: mpiifx
44+
version: 2025.3.2
4445
- toolchain: intel-ifort
4546
FC: ifort
4647
MPIFC: mpiifort
47-
version: [2024.1.0]
48+
version: 2024.2.0 # Last release of oneapi with ifort
4849
std: [f08]
4950

5051
# Steps represent a sequence of tasks that will be executed as part of the job
@@ -68,12 +69,12 @@ jobs:
6869
pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
6970
7071
- name: Install Intel tools
71-
uses: rscohn2/setup-oneapi@2ad0cf6b74bc2426bdcee825cf88f9db719dd727 # v0.1.0
72+
uses: rscohn2/setup-oneapi@a5ae4e7697b9cd5dc8a616f94c1e56b87140999d
7273
with:
7374
components: |
7475
icx@${{ matrix.version }}
7576
ifx@${{ matrix.version }}
76-
impi@2021.12.0
77+
impi@2021.17.2
7778
7879
- name: Setup Intel oneAPI environment
7980
run: |
@@ -119,7 +120,7 @@ jobs:
119120
-DCMAKE_INSTALL_PREFIX="${INSTALL_DIR}" \
120121
-DCMAKE_BUILD_TESTS=TRUE \
121122
-DCMAKE_PREFIX_PATH="${PFUNIT_DIR};${Torch_DIR}" \
122-
-DCMAKE_Fortran_FLAGS="-std=${FORTRAN_STANDARD}"
123+
-DCMAKE_Fortran_FLAGS="-stand ${FORTRAN_STANDARD}"
123124
cmake --build .
124125
cmake --install .
125126

0 commit comments

Comments
 (0)