@@ -106,16 +106,14 @@ jobs:
106
106
if : contains(matrix.os,'ubuntu') && contains(matrix.mpi,'intel')
107
107
timeout-minutes : 1
108
108
run : |
109
- wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
110
- sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
111
- rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
112
- echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
109
+ wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
110
+ echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
113
111
sudo apt-get update
114
112
115
113
- name : (Ubuntu) Install Intel oneAPI
116
114
if : contains(matrix.os,'ubuntu') && contains(matrix.mpi,'intel')
117
- timeout-minutes : 5
118
- run : sudo apt-get install intel-oneapi-compiler-fortran intel-oneapi-compiler- dpcpp-cpp-and-cpp-classic intel-oneapi-mpi intel-oneapi-mpi-devel intel-oneapi-mkl ninja-build
115
+ timeout-minutes : 15
116
+ run : sudo apt-get install intel-oneapi-compiler-dpcpp-cpp-2023.1.0 intel-oneapi-compiler-fortran-2023.1.0 intel-oneapi-mpi-devel ninja-build
119
117
120
118
- name : (Ubuntu) Setup Intel oneAPI environment
121
119
if : contains(matrix.os,'ubuntu') && contains(matrix.mpi,'intel')
@@ -152,6 +150,7 @@ jobs:
152
150
if : contains(matrix.os,'windows') && contains(matrix.mpi,'msmpi')
153
151
run : |
154
152
echo "C:\Program Files\Microsoft MPI\Bin\" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
153
+ echo "/c/Program Files/Microsoft MPI/Bin/" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
155
154
echo "MSMPI_BIN=C:\Program Files\Microsoft MPI\Bin\" | Out-File -FilePath $env:GITHUB_ENV -Append
156
155
157
156
- name : (Windows) load OneAPI environment variables
@@ -216,9 +215,9 @@ jobs:
216
215
if : contains(matrix.mpi,'intel')
217
216
shell : bash
218
217
run : |
219
- echo "FPM_FC=ifort " >> $GITHUB_ENV
220
- echo "FPM_CC=icc " >> $GITHUB_ENV
221
- echo "FPM_CXX=icpc " >> $GITHUB_ENV
218
+ echo "FPM_FC=ifx " >> $GITHUB_ENV
219
+ echo "FPM_CC=icx " >> $GITHUB_ENV
220
+ echo "FPM_CXX=icpx " >> $GITHUB_ENV
222
221
223
222
- name : (macOS) Use gcc/g++ instead of Clang for C/C++
224
223
if : contains(matrix.os,'macOS')
0 commit comments