|
35 | 35 | mpi: openmpi |
36 | 36 | - os: ubuntu-latest |
37 | 37 | mpi: mpich |
38 | | - - os: windows-latest |
39 | | - mpi: msmpi |
40 | 38 | - os: macos-latest |
41 | 39 | mpi: openmpi |
42 | 40 | - os: macos-latest |
@@ -106,16 +104,14 @@ jobs: |
106 | 104 | if: contains(matrix.os,'ubuntu') && contains(matrix.mpi,'intel') |
107 | 105 | timeout-minutes: 1 |
108 | 106 | 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 |
| 107 | + 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 |
| 108 | + 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 | 109 | sudo apt-get update |
114 | 110 |
|
115 | 111 | - name: (Ubuntu) Install Intel oneAPI |
116 | 112 | 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 |
| 113 | + timeout-minutes: 15 |
| 114 | + 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 | 115 |
|
120 | 116 | - name: (Ubuntu) Setup Intel oneAPI environment |
121 | 117 | if: contains(matrix.os,'ubuntu') && contains(matrix.mpi,'intel') |
@@ -152,6 +148,7 @@ jobs: |
152 | 148 | if: contains(matrix.os,'windows') && contains(matrix.mpi,'msmpi') |
153 | 149 | run: | |
154 | 150 | echo "C:\Program Files\Microsoft MPI\Bin\" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append |
| 151 | + echo "/c/Program Files/Microsoft MPI/Bin/" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append |
155 | 152 | echo "MSMPI_BIN=C:\Program Files\Microsoft MPI\Bin\" | Out-File -FilePath $env:GITHUB_ENV -Append |
156 | 153 |
|
157 | 154 | - name: (Windows) load OneAPI environment variables |
@@ -216,9 +213,9 @@ jobs: |
216 | 213 | if: contains(matrix.mpi,'intel') |
217 | 214 | shell: bash |
218 | 215 | run: | |
219 | | - echo "FPM_FC=ifort" >> $GITHUB_ENV |
220 | | - echo "FPM_CC=icc" >> $GITHUB_ENV |
221 | | - echo "FPM_CXX=icpc" >> $GITHUB_ENV |
| 216 | + echo "FPM_FC=ifx" >> $GITHUB_ENV |
| 217 | + echo "FPM_CC=icx" >> $GITHUB_ENV |
| 218 | + echo "FPM_CXX=icpx" >> $GITHUB_ENV |
222 | 219 |
|
223 | 220 | - name: (macOS) Use gcc/g++ instead of Clang for C/C++ |
224 | 221 | if: contains(matrix.os,'macOS') |
|
0 commit comments