@@ -137,127 +137,113 @@ mypy:
137
137
tags :
138
138
- matesting2-container-runner
139
139
script :
140
- - cd ${TEMPDIR}
140
+ - source env/DAMASK.sh
141
141
- ./bin/DAMASK_test
142
142
- find . -name '*.gcda' -not -path "**/test/*" -exec gcov {} \;
143
143
144
144
# -------------------------------------------------------------------------------------------------
145
145
146
- .unittest_GNU :
146
+ unittest_GCC_DEBUG :
147
147
extends : .unittest
148
- image : git.damask-multiphysics.org:5050/damask/damask:ubuntu2404_gnu13_petsc2106_ml
149
-
150
- unittest_GNU_DEBUG :
151
- extends : .unittest_GNU
148
+ image : git.damask-multiphysics.org:5050/damask/damask/gcc_petsc-debug:2025.03.10
152
149
before_script :
153
- - TEMPDIR=$(mktemp -d /tmp/tmp.XXXXXXXXXX)
154
- - cmake -B ${TEMPDIR} -DDAMASK_SOLVER=test -DCMAKE_INSTALL_PREFIX=${TEMPDIR} -DCMAKE_BUILD_TYPE=RELEASE -DBUILDCMD_POST=-coverage
155
- - cmake --build ${TEMPDIR} --target install
150
+ - cmake -B builddir -DDAMASK_SOLVER=test -DCMAKE_INSTALL_PREFIX=${PWD} -DCMAKE_BUILD_TYPE=DEBUG -DBUILDCMD_POST=-coverage
151
+ - cmake --build builddir --target install
156
152
157
- unittest_GNU_RELEASE :
158
- extends : .unittest_GNU
153
+ unittest_GCC_RELEASE :
154
+ extends : .unittest
155
+ image : git.damask-multiphysics.org:5050/damask/damask/gcc_petsc-default:2025.03.10
159
156
before_script :
160
- - TEMPDIR=$(mktemp -d /tmp/tmp.XXXXXXXXXX)
161
- - cmake -B ${TEMPDIR} -DDAMASK_SOLVER=test -DCMAKE_INSTALL_PREFIX=${TEMPDIR} -DCMAKE_BUILD_TYPE=RELEASE -DBUILDCMD_POST=-coverage
162
- - cmake --build ${TEMPDIR} --target install
157
+ - cmake -B builddir -DDAMASK_SOLVER=test -DCMAKE_INSTALL_PREFIX=${PWD} -DCMAKE_BUILD_TYPE=RELEASE -DBUILDCMD_POST=-coverage
158
+ - cmake --build builddir --target install
163
159
164
- unittest_GNU_PERFORMANCE :
165
- extends : .unittest_GNU
160
+ unittest_GCC_PERFORMANCE :
161
+ extends : .unittest
162
+ image : git.damask-multiphysics.org:5050/damask/damask/gcc_petsc-default:2025.03.10
166
163
before_script :
167
- - TEMPDIR=$(mktemp -d /tmp/tmp.XXXXXXXXXX)
168
- - cmake -B ${TEMPDIR} -DDAMASK_SOLVER=test -DCMAKE_INSTALL_PREFIX=${TEMPDIR} -DCMAKE_BUILD_TYPE=PERFORMANCE -DBUILDCMD_POST=-coverage
169
- - cmake --build ${TEMPDIR} --target install
164
+ - cmake -B builddir -DDAMASK_SOLVER=test -DCMAKE_INSTALL_PREFIX=${PWD} -DCMAKE_BUILD_TYPE=PERFORMANCE -DBUILDCMD_POST=-coverage
165
+ - cmake --build builddir --target install
170
166
171
167
# -------------------------------------------------------------------------------------------------
172
168
173
- .unittest_Intel :
169
+ unittest_oneAPI_DEBUG :
174
170
extends : .unittest
175
- image : git.damask-multiphysics.org:5050/damask/damask:ubuntu2404_intelllvm20250_petsc2106_ml
176
-
177
- unittest_Intel_DEBUG :
178
- extends : .unittest_Intel
171
+ image : git.damask-multiphysics.org:5050/damask/damask/oneapi_petsc-debug:2025.03.09
179
172
before_script :
180
- - source /opt/ intel/oneapi/setvars.sh
181
- - TEMPDIR=$(mktemp -d /tmp/tmp.XXXXXXXXXX)
182
- - cmake -B ${TEMPDIR} -DDAMASK_SOLVER=test -DCMAKE_INSTALL_PREFIX=${TEMPDIR} -DCMAKE_BUILD_TYPE=RELEASE -DBUILDCMD_POST=-coverage
183
- - cmake --build ${TEMPDIR } --target install
184
- - source env/DAMASK.sh
173
+ # https://community. intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Floating-point-exception-in-dgeev/td-p/1665868
174
+ - sed -i '/set (DEBUG_FLAGS "${DEBUG_FLAGS} -fpe-all=0/d' cmake/Compiler-IntelLLVM.cmake
175
+ - sed -i 's/FP_TRAP_ON/FP_TRAP_OFF/g' src/parallelization.f90
176
+ - cmake -B builddir -DDAMASK_SOLVER=test -DCMAKE_INSTALL_PREFIX=${PWD } -DCMAKE_BUILD_TYPE=DEBUG
177
+ - cmake --build builddir --target install
185
178
186
- unittest_Intel_RELEASE :
187
- extends : .unittest_Intel
179
+ unittest_oneAPI_RELEASE :
180
+ extends : .unittest
181
+ image : git.damask-multiphysics.org:5050/damask/damask/oneapi_petsc-default:2025.03.09
188
182
before_script :
189
- - source /opt/intel/oneapi/setvars.sh
190
- - TEMPDIR=$(mktemp -d /tmp/tmp.XXXXXXXXXX)
191
- - cmake -B ${TEMPDIR} -DDAMASK_SOLVER=test -DCMAKE_INSTALL_PREFIX=${TEMPDIR} -DCMAKE_BUILD_TYPE=RELEASE -DBUILDCMD_POST=-coverage
192
- - cmake --build ${TEMPDIR} --target install
193
- - source env/DAMASK.sh
183
+ - cmake -B builddir -DDAMASK_SOLVER=test -DCMAKE_INSTALL_PREFIX=${PWD} -DCMAKE_BUILD_TYPE=RELEASE
184
+ - cmake --build builddir --target install
194
185
195
- unittest_Intel_PERFORMANCE :
196
- extends : .unittest_Intel
186
+ unittest_oneAPI_PERFORMANCE :
187
+ extends : .unittest
188
+ image : git.damask-multiphysics.org:5050/damask/damask/oneapi_petsc-default:2025.03.09
197
189
before_script :
198
- - source /opt/intel/oneapi/setvars.sh
199
- - TEMPDIR=$(mktemp -d /tmp/tmp.XXXXXXXXXX)
200
- - cmake -B ${TEMPDIR} -DDAMASK_SOLVER=test -DCMAKE_INSTALL_PREFIX=${TEMPDIR} -DCMAKE_BUILD_TYPE=PERFORMANCE -DBUILDCMD_POST=-coverage
201
- - cmake --build ${TEMPDIR} --target install
202
- - source env/DAMASK.sh
190
+ - cmake -B builddir -DDAMASK_SOLVER=test -DCMAKE_INSTALL_PREFIX=${PWD} -DCMAKE_BUILD_TYPE=PERFORMANCE
191
+ - cmake --build builddir --target install
203
192
204
193
# ##################################################################################################
205
194
206
- .compile_grid :
195
+ .compile :
207
196
stage : compile
208
197
tags :
209
198
- matesting2-container-runner
210
- script :
199
+ before_script :
200
+ - tail +$(grep -n 'Configure Actions.*' /petsc/configure.log | cut -f 1 -d:) /petsc/configure.log
201
+ - source env/DAMASK.sh
211
202
- cd PRIVATE/testing
212
- - pytest -k 'compile and grid'
203
+
204
+ .compile_grid :
205
+ extends : .compile
206
+ script :
207
+ - python -m pytest -k 'compile and grid'
213
208
214
209
.compile_mesh :
215
- stage : compile
216
- tags :
217
- - matesting2-container-runner
210
+ extends : .compile
218
211
script :
219
- - cd PRIVATE/testing
220
- - pytest -k 'compile and mesh'
212
+ - python -m pytest -k 'compile and mesh'
221
213
222
- grid_GNU :
214
+ grid_GCC :
223
215
extends : .compile_grid
224
- image : git.damask-multiphysics.org:5050/damask/damask:ubuntu2404_gnu13_petsc2106_ml
225
- before_script :
226
- - source env/DAMASK.sh
216
+ image : git.damask-multiphysics.org:5050/damask/damask/gcc_petsc-default:2025.03.10
227
217
228
- mesh_GNU :
218
+ mesh_GCC :
229
219
extends : .compile_mesh
230
- image : git.damask-multiphysics.org:5050/damask/damask:ubuntu2404_gnu13_petsc2106_ml
231
- before_script :
232
- - source env/DAMASK.sh
220
+ image : git.damask-multiphysics.org:5050/damask/damask/gcc_petsc-default:2025.03.10
233
221
234
- grid_GNU-64bit :
222
+ grid_GCC-i64 :
235
223
extends : .compile_grid
236
- image : git.damask-multiphysics.org:5050/damask/damask:ubuntu2404_gnu13_petsc2106_int64
237
- before_script :
238
- - source env/DAMASK.sh
224
+ image : git.damask-multiphysics.org:5050/damask/damask/gcc_petsc-i64:2025.03.10
239
225
240
- mesh_GNU-64bit :
226
+ mesh_GCC-i64 :
241
227
extends : .compile_mesh
242
- tags :
243
- - matesting2-container-runner
244
- image : git.damask-multiphysics.org:5050/damask/damask:ubuntu2404_gnu13_petsc2106_int64
245
- before_script :
246
- - source env/DAMASK.sh
247
-
248
- grid_Intel :
249
- extends : .compile_grid
250
- image : git.damask-multiphysics.org:5050/damask/damask:ubuntu2404_intelllvm20250_petsc2106_ml
251
- before_script :
252
- - source /opt/intel/oneapi/setvars.sh
253
- - source env/DAMASK.sh
228
+ image : git.damask-multiphysics.org:5050/damask/damask/gcc_petsc-i64:2025.03.10
254
229
255
- mesh_Intel :
256
- extends : .compile_mesh
257
- image : git.damask-multiphysics.org:5050/damask/damask:ubuntu2404_intelllvm20250_petsc2106_ml
258
- before_script :
259
- - source /opt/intel/oneapi/setvars.sh
260
- - source env/DAMASK.sh
230
+ grid_oneAPI :
231
+ extends : .compile
232
+ image : git.damask-multiphysics.org:5050/damask/damask/oneapi_petsc-default:2025.03.09
233
+ script :
234
+ # https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Floating-point-exception-in-dgeev/td-p/1665868
235
+ - sed -i '/set (DEBUG_FLAGS "${DEBUG_FLAGS} -fpe-all=0/d' ../../cmake/Compiler-IntelLLVM.cmake
236
+ - sed -i 's/FP_TRAP_ON/FP_TRAP_OFF/g' ../../src/parallelization.f90
237
+ - python -m pytest -k 'compile and grid'
238
+
239
+ mesh_oneAPI :
240
+ extends : .compile
241
+ image : git.damask-multiphysics.org:5050/damask/damask/oneapi_petsc-default:2025.03.09
242
+ script :
243
+ # https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Floating-point-exception-in-dgeev/td-p/1665868
244
+ - sed -i '/set (DEBUG_FLAGS "${DEBUG_FLAGS} -fpe-all=0/d' ../../cmake/Compiler-IntelLLVM.cmake
245
+ - sed -i 's/FP_TRAP_ON/FP_TRAP_OFF/g' ../../src/parallelization.f90
246
+ - python -m pytest -k 'compile and mesh'
261
247
262
248
Marc_Intel :
263
249
stage : compile
@@ -282,17 +268,17 @@ setup_Marc:
282
268
283
269
284
270
# ##################################################################################################
285
- open-source_grid_GNU :
271
+ open-source_grid_GCC :
286
272
stage : fortran
287
273
tags :
288
274
- matesting2-container-runner
289
- image : git.damask-multiphysics.org:5050/damask/damask:ubuntu2404_gnu13_petsc2106_ml
275
+ image : git.damask-multiphysics.org:5050/damask/damask/gcc_petsc-default:2025.03.10
290
276
before_script :
291
277
- cmake -DDAMASK_SOLVER=GRID && make -j2 all install
292
278
- source env/DAMASK.sh
293
279
script :
294
280
- cd PRIVATE/testing
295
- - pytest -k 'not compile and grid and not signal and not restart'
281
+ - pytest -k 'grid and not compile and not (signal or restart) '
296
282
297
283
open-source_grid_signal_restart :
298
284
stage : fortran
@@ -309,21 +295,21 @@ open-source_grid_signal_restart:
309
295
- echo Job start:" $(date)"
310
296
script :
311
297
- cd PRIVATE/testing
312
- - pytest -k 'not compile and grid and (signal or restart)' -m 'not cifail' --basetemp ${TESTROOT}/open-source -v
298
+ - pytest -k 'grid and not compile and (signal or restart)' -m 'not cifail' --basetemp ${TESTROOT}/open-source -v
313
299
after_script :
314
300
- echo Job end:" $(date)"
315
301
316
- open-source_mesh_GNU :
302
+ open-source_mesh_GCC :
317
303
tags :
318
304
- matesting2-container-runner
319
- image : git.damask-multiphysics.org:5050/damask/damask:ubuntu2404_gnu13_petsc2106_ml
305
+ image : git.damask-multiphysics.org:5050/damask/damask/gcc_petsc-default:2025.03.10
320
306
stage : fortran
321
307
before_script :
322
308
- make mesh
323
309
- source env/DAMASK.sh
324
310
script :
325
311
- cd PRIVATE/testing
326
- - pytest -k 'not compile and mesh '
312
+ - pytest -k 'mesh and not compile '
327
313
328
314
Marc :
329
315
stage : fortran
0 commit comments