-
Notifications
You must be signed in to change notification settings - Fork 25
732 lines (611 loc) · 28.2 KB
/
CI_sequential 2.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
# This is a basic workflow to help you get started with Actions
name: CI SEQ NAVIERSTOKES
########################################################################
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
#env:
# HDF5_ROOT : /usr/lib/x86_64-linux-gnu/hdf5/serial/
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Define strategy matrix
strategy:
fail-fast: false
matrix:
compiler: ['gfortran','ifx']
mode: ['RELEASE', 'DEBUG']
comm: ['SEQUENTIAL']
enable_threads: ['YES']
mkl: ['YES','NO']
hdf5: ['YES','NO']
exclude:
- compiler: gfortran
mkl: 'YES'
- compiler: gfortran
hdf5: 'NO'
- compiler: ifx
mkl: 'NO'
- compiler: ifx
hdf5: 'YES'
env:
INTEL_COMPILER_DIR : /opt/intel/oneapi/compiler/2025.0
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
# sudo apt-get install -qq pkg-config libhdf5-serial-dev
- name: Install hdf5 (only gfortran)
if: (matrix.compiler == 'gfortran')
run: |
sudo apt-get update
sudo apt install libhdf5-dev
dpkg -L libhdf5-dev
echo "HDF5_ROOT="/usr/lib/x86_64-linux-gnu/hdf5/serial/"" >> $GITHUB_ENV
# IF COMPILER = ifx -> INSTALL ifx #
# UNCOMMENT TO USE CACHED ifx
#- name: cache-intel-compilers
# if: (matrix.compiler == 'ifx')
# id: cache-intel-compilers
# uses: actions/cache@v3
# with:
# path: /opt/intel
# key: intel-${{ runner.os }}-compilers-b
- name: Intel Apt repository
# UNCOMMENT TO USE CACHED ifx
# if: (steps.cache-intel-compilers.outputs.cache-hit != 'true')
run: |
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main"
sudo apt-get update
- name: Install Intel oneAPI
# UNCOMMENT TO USE CACHED ifx
# if: (steps.cache-intel-compilers.outputs.cache-hit != 'true')
run: sudo apt-get install intel-oneapi-compiler-fortran intel-oneapi-compiler-dpcpp-cpp intel-oneapi-mpi intel-oneapi-mpi-devel intel-oneapi-mkl-devel ninja-build
# Runs a single command using the runners shell
##- name: Install gfortran
## run: |
## sudo add-apt-repository ppa:ubuntu-toolchain-r/test
## sudo apt update
## sudo apt-get install gfortran-9
##- name: Show gfortran version
## run: gfortran-9 --version
- name: Show ${{matrix.compiler}} version
run: |
source /opt/intel/oneapi/setvars.sh || true
printenv >> $GITHUB_ENV
${{matrix.compiler}} --version
- name: Configure
working-directory: ./Solver
run: ./configure
- name: Compile horses3d
working-directory: ./Solver
run: |
source /opt/intel/oneapi/setvars.sh || true
make allclean MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
########################################################################
####### NAVIER-STOKES ########
########################################################################
#
# 0) Convergence
# ------------------------------
- name: Build Convergence
working-directory: ./Solver/test/NavierStokes/Convergence/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run Convergence
working-directory: ./Solver/test/NavierStokes/Convergence
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns Convergence.control
if: '!cancelled()'
#
# 0) Convergence energy
# --------------------------
- name: Build Convergence_energy
working-directory: ./Solver/test/NavierStokes/Convergence_energy/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run Convergence_energy
working-directory: ./Solver/test/NavierStokes/Convergence_energy
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns Convergence.control
if: '!cancelled()'
#
# 0) Convergence entropy
# ---------------------------------
- name: Build Convergence_entropy
working-directory: ./Solver/test/NavierStokes/Convergence_entropy/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run Convergence_entropy
working-directory: ./Solver/test/NavierStokes/Convergence_entropy
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns Convergence.control
if: '!cancelled()'
#
# 1) CYLINDER
# -----------
- name: Build NSCylinder
working-directory: ./Solver/test/NavierStokes/Cylinder/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run NSCylinder
working-directory: ./Solver/test/NavierStokes/Cylinder
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns Cylinder.control
if: '!cancelled()'
#
# 2) CYLINDER IP
# --------------
- name: Build NSCylinderIP
working-directory: ./Solver/test/NavierStokes/CylinderIP/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run NSCylinderIP
working-directory: ./Solver/test/NavierStokes/CylinderIP
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns CylinderIP.control
if: '!cancelled()'
#
# 3) CYLINDER BR2
# ---------------
- name: Build NSCylinderBR2
working-directory: ./Solver/test/NavierStokes/CylinderBR2/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run NSCylinderBR2
working-directory: ./Solver/test/NavierStokes/CylinderBR2
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns CylinderBR2.control
if: '!cancelled()'
#
# 4) CYLINDER DUCROS
# ------------------
- name: Build NSCylinderDucros
working-directory: ./Solver/test/NavierStokes/CylinderDucros/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run NSCylinderDucros
working-directory: ./Solver/test/NavierStokes/CylinderDucros
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns CylinderDucros.control
if: '!cancelled()'
#
# 5) CYLINDER Smagorinsky
# ------------------
- name: Build NSCylinderSmagorinsky
working-directory: ./Solver/test/NavierStokes/CylinderSmagorinsky/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run NSCylinderSmagorinsky
working-directory: ./Solver/test/NavierStokes/CylinderSmagorinsky
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns CylinderSmagorinsky.control
if: '!cancelled()'
#
# 6) CYLINDER WALE
# ------------------
- name: Build NSCylinderWALE
working-directory: ./Solver/test/NavierStokes/CylinderWALE/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run NSCylinderWALE
working-directory: ./Solver/test/NavierStokes/CylinderWALE
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns CylinderWALE.control
if: '!cancelled()'
#
# 7) CYLINDER Vreman
# ------------------
- name: Build NSCylinderVreman
working-directory: ./Solver/test/NavierStokes/CylinderVreman/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run NSCylinderVreman
working-directory: ./Solver/test/NavierStokes/CylinderVreman
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns CylinderVreman.control
if: '!cancelled()'
#
# 8) TAYLOR GREEN VORTEX
# ----------------------
- name: Build TaylorGreen
working-directory: ./Solver/test/NavierStokes/TaylorGreen/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run TaylorGreen
working-directory: ./Solver/test/NavierStokes/TaylorGreen
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns TaylorGreen.control
if: '!cancelled()'
#
# 9) TAYLOR GREEN VORTEX KEP BR2
# -----------------------------
- name: Build TaylorGreenKEP_BR2
working-directory: ./Solver/test/NavierStokes/TaylorGreenKEP_BR2/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run TaylorGreenKEP_BR2
working-directory: ./Solver/test/NavierStokes/TaylorGreenKEP_BR2
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns TaylorGreenKEP_BR2.control
if: '!cancelled()'
#
# 10) TAYLOR GREEN VORTEX KEPEC IP
# -------------------------------
- name: Build TaylorGreenKEPEC_IP
working-directory: ./Solver/test/NavierStokes/TaylorGreenKEPEC_IP/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run TaylorGreenKEPEC_IP
working-directory: ./Solver/test/NavierStokes/TaylorGreenKEPEC_IP
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns TaylorGreenKEPEC_IP.control
if: '!cancelled()'
#
# 11) CYLINDER FAS
# ---------------
- name: Build NSCylinderFAS
working-directory: ./Solver/test/NavierStokes/CylinderFAS/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run NSCylinderFAS
working-directory: ./Solver/test/NavierStokes/CylinderFAS
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns CylinderFAS.control
if: '!cancelled()'
#
# 12) CYLINDER IP+BDF2
# -------------------
#Deactivated because a mismatch in the accuracy
- name: Build NSCylinderIP_BDF2
working-directory: ./Solver/test/NavierStokes/CylinderIP_BDF2/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run NSCylinderIP_BDF2
working-directory: ./Solver/test/NavierStokes/CylinderIP_BDF2
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns CylinderIP_BDF2.control
if: '!cancelled()'
#
# 13) CYLINDER DIFFERENT ORDERS
# ----------------------------
- name: Build NSCylinderDifferentOrders
working-directory: ./Solver/test/NavierStokes/CylinderDifferentOrders/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run NSCylinderDifferentOrders
working-directory: ./Solver/test/NavierStokes/CylinderDifferentOrders
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns CylinderDifferentOrders.control
if: '!cancelled()'
#
# 14) ENTROPY CONSERVING TEST
# ----------------------------
- name: Build EntropyConservingTest
working-directory: ./Solver/test/NavierStokes/EntropyConservingTest/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run EntropyConservingTest
working-directory: ./Solver/test/NavierStokes/EntropyConservingTest
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns EntropyConservingTest.control
if: '!cancelled()'
#
# 15) ENERGY CONSERVING TEST
# ----------------------------
- name: Build EnergyConservingTest
working-directory: ./Solver/test/NavierStokes/EnergyConservingTest/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run EnergyConservingTest
working-directory: ./Solver/test/NavierStokes/EnergyConservingTest
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns EnergyConservingTest.control
if: '!cancelled()'
#
# 16) NACA0012 Steady
# ----------------------------
- name: Build NACA0012
working-directory: ./Solver/test/NavierStokes/NACA0012/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run NACA0012
working-directory: ./Solver/test/NavierStokes/NACA0012
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns NACA0012.control
if: '!cancelled()'
#
# 17) NACA0012 Unsteady Dual Time Stepping
# ----------------------------
- name: Build DualTimeStepping
working-directory: ./Solver/test/NavierStokes/DualTimeStepping/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run DualTimeStepping
working-directory: ./Solver/test/NavierStokes/DualTimeStepping
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns DualTimeStepping.control
if: '!cancelled()'
#
# 18) Manufactured Solution for Spalart-Almaras
# ----------------------------
# This test case only runs with hdf5 as we do not support hdf5 with ifx in the github actions
- name: Build ManufacturedSolutionsSA
working-directory: ./Solver/test/NavierStokes/ManufacturedSolutionsSA/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: ('!cancelled()' && matrix.compiler == 'gfortran')
- name: Run ManufacturedSolutionsSA
working-directory: ./Solver/test/NavierStokes/ManufacturedSolutionsSA
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.nssa MSSA.control
if: ('!cancelled()' && matrix.compiler == 'gfortran')
#
# 19) Flat-Plate test case for Spalart-Almaras
# ----------------------------
- name: Build FlatPlateSA
working-directory: ./Solver/test/NavierStokes/FlatPlateSA/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run FlatPlateSA
working-directory: ./Solver/test/NavierStokes/FlatPlateSA
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.nssa FlatPlate.control
if: '!cancelled()'
#
# 20) Numerical Jacobian for BIRK5
# --------------------------------
- name: Build BIRK5NumJac
working-directory: ./Solver/test/NavierStokes/BIRK5NumJac/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run BIRK5NumJac
working-directory: ./Solver/test/NavierStokes/BIRK5NumJac
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns Cylinder.control
if: '!cancelled()'
#
# 21) Forward facing step with SVV
# --------------------------------
- name: Build ForwardFacingStepSVV
working-directory: ./Solver/test/NavierStokes/ForwardFacingStepSVV/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run ForwardFacingStepSVV
working-directory: ./Solver/test/NavierStokes/ForwardFacingStepSVV
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns FFS_SVV.control
if: '!cancelled()'
#
# 20) Forward facing step with SSPRK33 and limiter
# ------------------------------------------------
- name: Build ForwardFacingStep_SSPRK33
working-directory: ./Solver/test/NavierStokes/ForwardFacingStep_SSPRK33/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run ForwardFacingStep_SSPRK33
working-directory: ./Solver/test/NavierStokes/ForwardFacingStep_SSPRK33
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns FFS_SSPRK33.control
if: '!cancelled()'
#
# 21) Forward facing step with SSPRK43
# ------------------------------------
- name: Build ForwardFacingStep_SSPRK43
working-directory: ./Solver/test/NavierStokes/ForwardFacingStep_SSPRK43/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run ForwardFacingStep_SSPRK43
working-directory: ./Solver/test/NavierStokes/ForwardFacingStep_SSPRK43
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns FFS_SSPRK43.control
if: '!cancelled()'
#
# 22) Taylor-Green vortex with SVV-LES
# ------------------------------------
- name: Build TaylorGreenSVVLES
working-directory: ./Solver/test/NavierStokes/TaylorGreenSVVLES/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run TaylorGreenSVVLES
working-directory: ./Solver/test/NavierStokes/TaylorGreenSVVLES
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns TaylorGreenSVVLES.control
if: '!cancelled()'
#
# 23) CYLINDER ANIS FAS
# -------------------
- name: Build CylinderAnisFAS
working-directory: ./Solver/test/NavierStokes/CylinderAnisFAS/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run CylinderAnisFAS
working-directory: ./Solver/test/NavierStokes/CylinderAnisFAS
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns CylinderAnisFAS.control
if: '!cancelled()'
#
# 24) IBM CYLINDER
# -------------------
- name: Build IBM_Cylinder
working-directory: ./Solver/test/NavierStokes/IBM_Cylinder/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run IBM_Cylinder
working-directory: ./Solver/test/NavierStokes/IBM_Cylinder
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns IBMCylinder.control
if: '!cancelled()'
#
# 25) Mach 2 cylinder with GMM shock capturing
# --------------------------------------------
- name: Build CylinderGMM
working-directory: ./Solver/test/NavierStokes/CylinderGMM/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run CylinderGMM
working-directory: ./Solver/test/NavierStokes/CylinderGMM
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns CylinderGMM.control
if: '!cancelled()'
#
# 26) Cylinder with Reinforcement Learning p-adaptation
# --------------------------------------------
- name: Build Cylinder_pAdaptationRL
working-directory: ./Solver/test/NavierStokes/Cylinder_pAdaptationRL/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run Cylinder_pAdaptationRL
working-directory: ./Solver/test/NavierStokes/Cylinder_pAdaptationRL
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns Cylinder_pAdaptationRL.control
if: '!cancelled()'
#
# 27) IBM Cylinder with Reinforcement Learning p-adaptation
# --------------------------------------------
- name: Build IBM_Cylinder_pAdaptationRL
working-directory: ./Solver/test/NavierStokes/IBM_Cylinder_pAdaptationRL/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run IBM_Cylinder_pAdaptationRL
working-directory: ./Solver/test/NavierStokes/IBM_Cylinder_pAdaptationRL
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns IBM_Cylinder_pAdaptationRL.control
if: '!cancelled()'
#
# 28) Cylinder with Overenriching and Reinforcement Learning p-adaptation
# --------------------------------------------
- name: Build Cylinder_Overenriching_pAdaptationRL
working-directory: ./Solver/test/NavierStokes/Cylinder_Overenriching_pAdaptationRL/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run Cylinder_Overenriching_pAdaptationRL
working-directory: ./Solver/test/NavierStokes/Cylinder_Overenriching_pAdaptationRL
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns Cylinder_Overenriching_pAdaptationRL.control
if: '!cancelled()'
#
# 28) Cylinder with Euler-RK3 hybrid temporal scheme and Reinforcement Learning p-adaptation
# --------------------------------------------
- name: Build EulerRK3_pAdaptationRL
working-directory: ./Solver/test/NavierStokes/EulerRK3_pAdaptationRL/SETUP
run: |
source /opt/intel/oneapi/setvars.sh || true
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
if: '!cancelled()'
- name: Run EulerRK3_pAdaptationRL
working-directory: ./Solver/test/NavierStokes/EulerRK3_pAdaptationRL
run: |
source /opt/intel/oneapi/setvars.sh || true
./horses3d.ns EulerRK3_pAdaptationRL.control
if: '!cancelled()'