@@ -176,31 +176,67 @@ jobs:
176
176
sudo echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
177
177
sudo apt-get update
178
178
echo ""
179
- echo "packages intel oneapi:"
180
- sudo apt-get install -y intel-oneapi-compiler-fortran intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic intel-oneapi-mpi intel-oneapi-mpi-devel
179
+ # info
180
+ #sudo -E apt-cache pkgnames intel | grep intel-oneapi
181
+ #echo ""
182
+ echo "installing packages intel oneapi:"
183
+ sudo apt-get install -y intel-oneapi-compiler-fortran-2023.2.2 intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic-2023.2.2 intel-oneapi-mpi intel-oneapi-mpi-devel
184
+ echo ""
181
185
182
186
- name : compiler infos
183
187
run : |
184
188
echo ""
185
189
source /opt/intel/oneapi/setvars.sh
186
190
echo ""
187
191
echo "compiler versions:"
192
+ echo "icx --version"
193
+ which icx
194
+ icx --version
195
+ echo ""
188
196
echo "icc --version"
197
+ which icc
189
198
icc --version
199
+ echo ""
200
+ echo "ifx --version"
201
+ which ifx
202
+ ifx --version
203
+ echo ""
190
204
echo "ifort --version"
205
+ which ifort
191
206
ifort --version
207
+ echo ""
192
208
echo "mpiifort --version"
209
+ which mpiifort
193
210
mpiifort --version
211
+ echo ""
194
212
echo "mpif90 --version"
213
+ which mpif90
195
214
mpif90 --version
196
215
echo ""
216
+ # infos
217
+ which ifort
218
+ which icc
219
+ which mpiifort
220
+ echo "mpirun:"
221
+ which mpirun
222
+ echo ""
223
+ # intel setup for running tests
224
+ echo ""
225
+ echo "replacing mpif90 with mpiifort link:"
226
+ sudo ln -sf $(which mpiifort) $(which mpif90)
227
+ mpif90 --version
228
+ echo ""
229
+ # debug
230
+ #export I_MPI_DEBUG=5,pid,host
231
+ #export I_MPI_LIBRARY_KIND=debug
232
+ # remove -ftrapuv which leads to issues for running tests
233
+ sed -i "s/-ftrapuv//g" flags.guess
234
+ # environment setting
197
235
export TERM=xterm
236
+ # export info
198
237
echo "exports:"
199
238
export
200
239
echo ""
201
- which ifort
202
- which icc
203
- which mpiifort
204
240
echo ""
205
241
printenv >> $GITHUB_ENV
206
242
echo "CXX=icpc" >> $GITHUB_ENV
@@ -209,7 +245,8 @@ jobs:
209
245
echo ""
210
246
211
247
- name : configure debug
212
- run : ./configure --enable-debug FC=ifort CC=icc
248
+ run : |
249
+ ./configure --enable-debug FC=ifort CC=icc
213
250
214
251
- name : make debug
215
252
run : |
@@ -218,15 +255,17 @@ jobs:
218
255
make clean
219
256
220
257
- name : configure
221
- run : ./configure FC=ifort CC=icc
258
+ run : |
259
+ ./configure FC=ifort CC=icc
222
260
223
261
- name : make
224
262
run : |
225
263
make -j2 all
226
264
make clean
227
265
228
266
- name : configure parallel debug
229
- run : ./configure --enable-debug --with-mpi FC=ifort CC=icc MPIFC=mpiifort MPI_INC="${I_MPI_ROOT}/include"
267
+ run : |
268
+ ./configure --enable-debug --with-mpi FC=ifort CC=icc MPIFC=mpiifort MPI_INC="${I_MPI_ROOT}/include"
230
269
231
270
- name : make parallel debug
232
271
run : |
@@ -235,16 +274,18 @@ jobs:
235
274
make clean
236
275
237
276
- name : configure parallel
238
- run : ./configure --with-mpi FC=ifort CC=icc MPIFC=mpiifort MPI_INC="${I_MPI_ROOT}/include"
277
+ run : |
278
+ ./configure --with-mpi FC=ifort CC=icc MPIFC=mpiifort MPI_INC="${I_MPI_ROOT}/include"
239
279
240
280
- name : make parallel
241
281
run : |
242
282
make -j2 all
243
283
make clean
244
284
245
- # fails due to MPI issue on virtual nodes
246
- # - name: make tests
247
- # run: make tests
285
+ # note: fails with -ftrapuv flag due to MPI issue on virtual nodes
286
+ - name : make tests
287
+ run : |
288
+ make tests
248
289
249
290
250
291
linuxTest_0 :
0 commit comments