-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitlab-ci.yml
1038 lines (916 loc) · 56.4 KB
/
.gitlab-ci.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
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
stages:
- .pre
- build
- test
- example
- benchmark
#######################################
## ##
## Templates ##
## ##
#######################################
.test_template:
image: i10git.cs.fau.de:5005/exastencils/exastencils/ubuntu-20.04-openjdk-11
dependencies:
- build:generator
tags:
- docker
artifacts:
when: on_failure
paths:
- Testing/output/Debug/*
- Testing/output/generated/*
expire_in: 1 weeks
before_script:
- java -version
- python3 --version
- mpirun --version
- cd Testing
.test_template_AVX:
extends: .test_template
tags:
- docker
- AVX
.test_template_AVX2:
extends: .test_template
tags:
- docker
- AVX2
.test_template_CUDA:
extends: .test_template
tags:
- docker
- cuda11
- cudaComputeCapability6.1
before_script:
- java -version
- python3 --version
- mpirun --version
- nvcc --version
- nvidia-smi
- updatedb
- locate cuda.h
- locate libcudart
- export CPATH=$CPATH:/usr/local/cuda-11.4/targets/x86_64-linux/include
- ln -s /usr/local/cuda-11.4/targets/x86_64-linux/lib/libcudart.so /usr/lib
- cd Testing
.test_template_IO:
extends: .test_template
image: i10git.cs.fau.de:5005/exastencils/exastencils/ubuntu-20.04-openjdk-11-par-io
artifacts:
when: on_failure
paths:
- Testing/output/Debug/*
- Testing/output/generated/*
- Testing/data/*
expire_in: 1 weeks
before_script:
- java -version
- python3 --version
- mpirun --version
- sionversion
- h5pcc -showconfig
- pnetcdf-config --all
- cd Testing
.benchmark_template:
dependencies:
- build:generator
image: i10git.cs.fau.de:5005/exastencils/exastencils/ubuntu-20.04-openjdk-11
tags:
- docker-benchmark
artifacts:
when: on_failure
paths:
- Benchmark/output/Debug/*
- Benchmark/output/generated/*
expire_in: 1 weeks
before_script:
- java -version
- python3 --version
- mpirun --version
- cd Benchmark
#######################################
## ##
## Docker image ##
## ##
#######################################
generate-docker-image-base:
stage: .pre
when: manual
image: docker:latest
tags:
- docker-docker
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker pull i10git.cs.fau.de:5005/exastencils/exastencils/ubuntu-20.04-openjdk-11 || true
- docker build --pull . -f dockerfiles/ubuntu-20.04-openjdk-11.Dockerfile -t i10git.cs.fau.de:5005/exastencils/exastencils/ubuntu-20.04-openjdk-11
- docker push i10git.cs.fau.de:5005/exastencils/exastencils/ubuntu-20.04-openjdk-11
generate-docker-image-pario:
stage: .pre
when: manual
image: docker:latest
tags:
- docker-docker
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker pull i10git.cs.fau.de:5005/exastencils/exastencils/ubuntu-20.04-openjdk-11-par-io || true
- docker build --pull . -f dockerfiles/ubuntu-20.04-openjdk-11-par-io.Dockerfile -t i10git.cs.fau.de:5005/exastencils/exastencils/ubuntu-20.04-openjdk-11-par-io
- docker push i10git.cs.fau.de:5005/exastencils/exastencils/ubuntu-20.04-openjdk-11-par-io
#######################################
## ##
## Generator ##
## ##
#######################################
build:generator:
stage: build
image: i10git.cs.fau.de:5005/exastencils/exastencils/ubuntu-20.04-openjdk-11
tags:
- docker
artifacts:
paths:
- Compiler/Compiler.jar
- Compiler/lib
- Examples
- Benchmark
- Testing
expire_in: 1 weeks
script:
- java -version
- sbt compile
- sbt assembly
#######################################
## ##
## Tests ##
## ##
#######################################
###############################################
# MATRIX TESTS #
###############################################
test:MatrixMisc:
extends: .test_template
script:
# Matrix_evalMatrixOpRuntimeExecution: decision about runtime execution of solution of local systems and inversions depending on size/const entries
- python3 run_test.py Matrix_evalMatrixOpRuntimeExecution MatrixClassTests/evalMOpRuntimeExe evalMOpRuntimeExe.knowledge "evalMOpRuntimeExe.exa4" evalMOpRuntimeExe.RESULTS Platform/random.platform output
# Matrix_determineMatrixStructures: classification of matrix shapes/structures
- python3 run_test.py Matrix_determineMatrixStructures MatrixClassTests/determineMatrixStructures determineMatrixStructures.knowledge "determineMatrixStructures.exa4" determineMatrixStructures.RESULTS Platform/random.platform output
# Matrix_matrixFields: operations on fields with matrices as inner data type
- python3 run_test.py Matrix_matrixFields MatrixClassTests/matrixFields matrixFields.knowledge "matrixFields.exa4" matrixFields.RESULTS Platform/random.platform output
# Matrix_2D_FV_SWE: shallow water equation in vector form
- python3 run_test.py Matrix_2D_FV_SWE MatrixClassTests/2D_FV_SWE 2D_FV_SWE.knowledge "2D_FV_SWE.exa4" 2D_FV_SWE.RESULTS Platform/random.platform output
# built-in operations of matrices
test:MatrixOperations:
extends: .test_template
script:
# Matrix_slicing
- python3 run_test.py Matrix_slicing MatrixClassTests/resolvingMatrixFunctions/slicing slicing.knowledge "slicing.exa4" slicing.RESULTS Platform/random.platform output
# Matrix_chaines
- python3 run_test.py Matrix_chaines MatrixClassTests/resolvingMatrixFunctions/chaines chaines.knowledge "chaines.exa4" chaines.RESULTS Platform/random.platform output
# Matrix_cross
- python3 run_test.py Matrix_cross MatrixClassTests/resolvingMatrixFunctions/cross cross.knowledge "cross.exa4" cross.RESULTS Platform/random.platform output
# Matrix_dot
- python3 run_test.py Matrix_dot MatrixClassTests/resolvingMatrixFunctions/dot dot.knowledge "dot.exa4" dot.RESULTS Platform/random.platform output
# Matrix_trace
- python3 run_test.py Matrix_trace MatrixClassTests/resolvingMatrixFunctions/trace trace.knowledge "trace.exa4" trace.RESULTS Platform/random.platform output
# Matrix_transpose
- python3 run_test.py Matrix_transpose MatrixClassTests/resolvingMatrixFunctions/transpose transpose.knowledge "transpose.exa4" transpose.RESULTS Platform/random.platform output
# Matrix_frobeniusNorm
- python3 run_test.py Matrix_frobeniusNorm MatrixClassTests/resolvingMatrixFunctions/frobeniusNorm frobeniusNorm.knowledge "frobeniusNorm.exa4" frobeniusNorm.RESULTS Platform/random.platform output
# direct solution of small linear systems
test:MatrixSolve:
extends: .test_template
script:
# Matrix_SolveMatSysRunTime
- python3 run_test.py Matrix_SolveMatSysRunTime MatrixClassTests/SolveMatSys/SolveMatSysRunTime SolveMatSysRunTime.knowledge "SolveMatSysRunTime.exa4" SolveMatSysRunTime.RESULTS Platform/random.platform output
# Matrix_SolveMatSysCompileTime
- python3 run_test.py Matrix_SolveMatSysCompileTime MatrixClassTests/SolveMatSys/SolveMatSysCompileTime SolveMatSysCompileTime.knowledge "SolveMatSysCompileTime.exa4" SolveMatSysCompileTime.RESULTS Platform/random.platform output
test:MatrixResolve:
extends: .test_template
script:
# Matrix_resolvingMatrixAccesses: slicing and access of matrices per bracket operator
- python3 run_test.py Matrix_resolvingMatrixAccesses MatrixClassTests/resolvingMatrixAccesses resolvingMatrixAccesses.knowledge "resolvingMatrixAccesses.exa4" resolvingMatrixAccesses.RESULTS Platform/random.platform output
# Matrix_resolvingMatrixOperators: arithmetic operators
- python3 run_test.py Matrix_resolvingMatrixOperators MatrixClassTests/resolvingMatrixOperators resolvingMatrixOperators.knowledge "resolvingMatrixOperators.exa4" resolvingMatrixOperators.RESULTS Platform/random.platform output
# inversion at compiletime
test:MatrixInversionCompileTime:
extends: .test_template
script:
# Matrix_LUCompileTime
- python3 run_test.py Matrix_LUCompileTime MatrixClassTests/invert/CompileTime/LU LU.knowledge "LU.exa4" LU.RESULTS Platform/random.platform output
# Matrix_BlockDiagonalCompileTime
- python3 run_test.py Matrix_BlockDiagonalCompileTime MatrixClassTests/invert/CompileTime/BlockDiagonal BlockDiagonal.knowledge "BlockDiagonal.exa4" BlockDiagonal.RESULTS Platform/random.platform output
# Matrix_DiagonalCompileTime
- python3 run_test.py Matrix_DiagonalCompileTime MatrixClassTests/invert/CompileTime/Diagonal Diagonal.knowledge "Diagonal.exa4" Diagonal.RESULTS Platform/random.platform output
# Matrix_SchurCompileTime
- python3 run_test.py Matrix_SchurCompileTime MatrixClassTests/invert/CompileTime/Schur Schur.knowledge "Schur.exa4" Schur.RESULTS Platform/random.platform output
# Matrix_SchurWithHelpersCompileTime
- python3 run_test.py Matrix_SchurWithHelpersCompileTime MatrixClassTests/invert/CompileTime/SchurWithHelpers SchurWithHelpers.knowledge "SchurWithHelpers.exa4" SchurWithHelpers.RESULTS Platform/random.platform output
# Matrix_smallMatricesCompileTime
- python3 run_test.py Matrix_smallMatricesCompileTime MatrixClassTests/invert/CompileTime/smallMatrices smallMatrices.knowledge "smallMatrices.exa4" smallMatrices.RESULTS Platform/random.platform output
# inversion at runtime
test:MatrixInversionRunTime:
extends: .test_template
script:
# Matrix_LURunTime
- python3 run_test.py Matrix_LURunTime MatrixClassTests/invert/RunTime/LU LU.knowledge "LU.exa4" LU.RESULTS Platform/random.platform output
# Matrix_SchurRunTime
- python3 run_test.py Matrix_SchurRunTime MatrixClassTests/invert/RunTime/Schur Schur.knowledge "Schur.exa4" Schur.RESULTS Platform/random.platform output
# Matrix_DiagonalRunTime
- python3 run_test.py Matrix_DiagonalRunTime MatrixClassTests/invert/RunTime/Diagonal Diagonal.knowledge "Diagonal.exa4" Diagonal.RESULTS Platform/random.platform output
# Matrix_BlockDiagonalRunTime
- python3 run_test.py Matrix_BlockDiagonalRunTime MatrixClassTests/invert/RunTime/BlockDiagonal BlockDiagonal.knowledge "BlockDiagonal.exa4" BlockDiagonal.RESULTS Platform/random.platform output
# Matrix_SchurLargeMatrixRunTime
- python3 run_test.py Matrix_SchurLargeMatrixRunTime MatrixClassTests/invert/RunTime/SchurLargeMatrix SchurLargeMatrix.knowledge "SchurLargeMatrix.exa4" SchurLargeMatrix.RESULTS Platform/random.platform output
# Matrix_SmallMatrixRunTime
- python3 run_test.py Matrix_SmallMatrixRunTime MatrixClassTests/invert/RunTime/SmallMatrix SmallMatrix.knowledge "SmallMatrix.exa4" SmallMatrix.RESULTS Platform/random.platform output
# Application
test:Appl_ExaStokes_2D:
extends: .test_template
script:
- python3 run_test.py Appl_ExaStokes_2D Application ExaStokes_2D.knowledge "ExaStokes_2D.exa4" ExaStokes_2D.results Platform/random.platform output
test:Appl_ExaStokes_3D:
extends: .test_template
script:
- python3 run_test.py Appl_ExaStokes_3D Application ExaStokes_3D.knowledge "ExaStokes_3D.exa4" ExaStokes_3D.results Platform/random.platform output
test:Appl_ExaFluids:
extends: .test_template
script:
- python3 run_test.py Appl_ExaFluids Application ExaFluids.knowledge "ExaFluids.exa4" ExaFluids.results Platform/random.platform output
test:Appl_ExaFluids_PowerLaw:
extends: .test_template
script:
- python3 run_test.py Appl_ExaFluids_PowerLaw Application ExaFluids.knowledge "ExaFluids_PowerLaw.exa4" ExaFluids_PowerLaw.results Platform/random.platform output
test:Appl_ExaFluids_Bingham:
extends: .test_template
script:
- python3 run_test.py Appl_ExaFluids_Bingham Application ExaFluids.knowledge "ExaFluids_Bingham.exa4" ExaFluids_Bingham.results Platform/random.platform output
test:Appl_ExaFluids_Par:
extends: .test_template
script:
- python3 run_test.py Appl_ExaFluids_Par Application ExaFluids_Parallel.knowledge "ExaFluids.exa4" ExaFluids_Parallel.results Platform/random.platform output
test:Appl_OptFlow2D:
extends: .test_template
script:
- python3 run_test.py Appl_OptFlow2D Application OpticalFlow2D.knowledge "OpticalFlow2D.exa4" OpticalFlow2D.results Platform/random.platform output
test:Appl_OptFlow3D:
extends: .test_template
script:
- python3 run_test.py Appl_OptFlow3D Application OpticalFlow3D.knowledge "OpticalFlow3D.exa4" OpticalFlow3D.results Platform/random.platform output
###############################################
# (PARALLEL) I/O TESTS #
###############################################
test:ParIO_CheckEquality_2D:
extends: .test_template_IO
tags:
- docker
- AVX2
script:
# 2D_Scalar_CheckEquality_ReadAfterWrite
- python3 run_test.py 2D_Scalar_CheckEquality_ReadAfterWrite IOTest 2D_Scalar_CheckEquality_ReadAfterWrite.knowledge "2D_Scalar_CheckEquality_ReadAfterWrite.exa4" "" Platform/anyavx2.platform output
# 2D_LayoutTrafo_CheckEquality_ReadAfterWrite
- python3 run_test.py 2D_LayoutTrafo_CheckEquality_ReadAfterWrite IOTest 2D_LayoutTrafo_CheckEquality_ReadAfterWrite.knowledge "2D_LayoutTrafo_CheckEquality_ReadAfterWrite.exa4" "" Platform/anyavx2.platform output
# 2D_Vector_CheckEquality_ReadAfterWrite
- python3 run_test.py 2D_Vector_CheckEquality_ReadAfterWrite IOTest 2D_Vector_CheckEquality_ReadAfterWrite.knowledge "2D_Vector_CheckEquality_ReadAfterWrite.exa4" "" Platform/anyavx2.platform output
test:ParIO_CheckEquality_3D:
extends: .test_template_IO
tags:
- docker
- AVX2
script:
# 3D_Matrix_CheckEquality_ReadAfterWrite
- python3 run_test.py 3D_Matrix_CheckEquality_ReadAfterWrite IOTest 3D_Matrix_CheckEquality_ReadAfterWrite.knowledge "3D_Matrix_CheckEquality_ReadAfterWrite.exa4" "" Platform/anyavx2.platform output
# 3D_Scalar_CheckEquality_ReadAfterWrite
- python3 run_test.py 3D_Scalar_CheckEquality_ReadAfterWrite IOTest 3D_Scalar_CheckEquality_ReadAfterWrite.knowledge "3D_Scalar_CheckEquality_ReadAfterWrite.exa4" "" Platform/anyavx2.platform output
# 3D_Vector_CheckEquality_ReadAfterWrite
- python3 run_test.py 3D_Vector_CheckEquality_ReadAfterWrite IOTest 3D_Vector_CheckEquality_ReadAfterWrite.knowledge "3D_Vector_CheckEquality_ReadAfterWrite.exa4" "" Platform/anyavx2.platform output
# CheckEquality_ReadAfterWrite
- python3 run_test.py CheckEquality_ReadAfterWrite IOTest CheckEquality_ReadAfterWrite.knowledge "CheckEquality_ReadAfterWrite.exa4" "" Platform/anyavx2.platform output
###############################################
# BASIC COMMUNICATION TESTS #
###############################################
test:Communication:
extends: .test_template
script:
# CommBasic_PureMPI
- python3 run_test.py CommBasic_PureMPI CommBasic PureMPI.knowledge "PureMPI.exa4" PureMPI.results Platform/random.platform output
# CommBasic_PureOMP
- python3 run_test.py CommBasic_PureOMP CommBasic PureOMP.knowledge "PureOMP.exa4" PureOMP.results Platform/random.platform output
# CommBasic_Hybrid
- python3 run_test.py CommBasic_Hybrid CommBasic Hybrid.knowledge "Hybrid.exa4" Hybrid.results Platform/random.platform output
# CommBasic_Summarize
- python3 run_test.py CommBasic_Summarize CommBasic Summarize.knowledge "Summarize.exa4" Summarize.results Platform/random.platform output
# CommBasic_Strategy26
- python3 run_test.py CommBasic_Strategy26 CommBasic Strategy26.knowledge "Strategy26.exa4" Strategy26.results Platform/random.platform output
# CommBasic_2D
- python3 run_test.py CommBasic_2D CommBasic 2D.knowledge "2D.exa4" 2D.results Platform/random.platform output
# CommBasic_HybridCell
- python3 run_test.py CommBasic_HybridCell CommBasic HybridCell.knowledge "HybridCell.exa4" HybridCell.results Platform/random.platform output
# CommBasic_Strategy26Cell
- python3 run_test.py CommBasic_Strategy26Cell CommBasic Strategy26Cell.knowledge "Strategy26Cell.exa4" Strategy26Cell.results Platform/random.platform output
# CommBasic_complexNumbers
- python3 run_test.py CommBasic_complexNumbers CommBasic ComplexNumbers.knowledge "ComplexNumbers.exa4" ComplexNumbers.results Platform/random.platform output
###############################################
# OPTIMIZATION TESTS #
###############################################
# various tests of optimization strategies
# (run time for each is only a few seconds)
### sequential version
## single precision
test:Optimization_Seq_SinglePrec_Naive:
extends: .test_template
script:
- python3 run_test.py Seq_TestF_naive Opts seq__float_naive.knowledge "base_flt.exa4" seq__float.results Platform/random.platform output
# SSE3
test:Optimization_Seq_SinglePrec_SSE3:
extends: .test_template
script:
# Seq_TestF_vectS
- python3 run_test.py Seq_TestF_vectS Opts seq__float_vect.knowledge "base_flt.exa4" seq__float.results Platform/random.platform output
# Seq_TestF_vectSAl
- python3 run_test.py Seq_TestF_vectSAl Opts seq__float_vectAl.knowledge "base_flt.exa4" seq__float.results Platform/random.platform output
# Seq_TestF_vectSAlAl
- python3 run_test.py Seq_TestF_vectSAlAl Opts seq__float_vectAlAl.knowledge "base_flt.exa4" seq__float.results Platform/random.platform output
# AVX
test:Optimization_Seq_SinglePrec_AVX:
extends: .test_template_AVX
script:
# Seq_TestF_vect
- python3 run_test.py Seq_TestF_vect Opts seq__float_vect.knowledge "base_flt.exa4" seq__float.results Platform/anyavx.platform output
# Seq_TestF_vectAl
- python3 run_test.py Seq_TestF_vectAl Opts seq__float_vectAl.knowledge "base_flt.exa4" seq__float.results Platform/anyavx.platform output
# Seq_TestF_vectAlAl
- python3 run_test.py Seq_TestF_vectAlAl Opts seq__float_vectAlAl.knowledge "base_flt.exa4" seq__float.results Platform/anyavx.platform output
# AVX2
test:Optimization_Seq_SinglePrec_AVX2:
extends: .test_template_AVX2
script:
# Seq_TestF_vect2
- python3 run_test.py Seq_TestF_vect2 Opts seq__float_vect.knowledge "base_flt.exa4" seq__float.results Platform/anyavx2.platform output
# Seq_TestF_vect2Al
- python3 run_test.py Seq_TestF_vect2Al Opts seq__float_vectAl.knowledge "base_flt.exa4" seq__float.results Platform/anyavx2.platform output
# Seq_TestF_vect2AlAl
- python3 run_test.py Seq_TestF_vect2AlAl Opts seq__float_vectAlAl.knowledge "base_flt.exa4" seq__float.results Platform/anyavx2.platform output
## double precision
test:Optimization_Seq_DoublePrec_Naive:
extends: .test_template_AVX
script:
- python3 run_test.py Seq_Test_naive Opts seq_naive.knowledge "base.exa4" seq.results Platform/anyavx.platform output
test:Optimization_Seq_DoublePrec_Opti:
extends: .test_template_AVX
tags:
- docker
- AVX
- i10swarm13
script:
# Seq_Test_addrPre
- python3 run_test.py Seq_Test_addrPre Opts seq_addrPre.knowledge "base.exa4" seq.results Platform/anyavx.platform output
# Seq_Test_poly
- python3 run_test.py Seq_Test_poly Opts seq_poly.knowledge "tempBlock.exa4" seq.results Platform/anyavx.platform output
# Seq_Test_unroll
- python3 run_test.py Seq_Test_unroll Opts seq_unroll.knowledge "base.exa4" seq.results Platform/anyavx.platform output
# Seq_Test_unrolli
- python3 run_test.py Seq_Test_unrolli Opts seq_unrolli.knowledge "base.exa4" seq.results Platform/anyavx.platform output
## SSE3
test:Optimization_Seq_DoublePrec_SSE3:
extends: .test_template
script:
# Seq_Test_vectS
- python3 run_test.py Seq_Test_vectS Opts seq_vect.knowledge "base.exa4" seq.results Platform/random.platform output
# Seq_Test_vectSAl
- python3 run_test.py Seq_Test_vectSAl Opts seq_vectAl.knowledge "base.exa4" seq.results Platform/random.platform output
# Seq_Test_vectSAlAl
- python3 run_test.py Seq_Test_vectSAlAl Opts seq_vectAlAl.knowledge "base.exa4" seq.results Platform/random.platform output
# Seq_Test_allS
- python3 run_test.py Seq_Test_allS Opts seq_all.knowledge "tempBlock.exa4" seq.results Platform/random.platform output
# AVX
test:Optimization_Seq_DoublePrec_AVX:
extends: .test_template_AVX
script:
# Seq_Test_vect
- python3 run_test.py Seq_Test_vect Opts seq_vect.knowledge "base.exa4" seq.results Platform/anyavx.platform output
# Seq_Test_vectAl
- python3 run_test.py Seq_Test_vectAl Opts seq_vectAl.knowledge "base.exa4" seq.results Platform/anyavx.platform output
# Seq_Test_vectAlAl
- python3 run_test.py Seq_Test_vectAlAl Opts seq_vectAlAl.knowledge "base.exa4" seq.results Platform/anyavx.platform output
# Seq_Test_all
- python3 run_test.py Seq_Test_all Opts seq_all.knowledge "tempBlock.exa4" seq.results Platform/anyavx.platform output
# AVX2
test:Optimization_Seq_DoublePrec_AVX2:
extends: .test_template_AVX2
script:
# Seq_Test_vect2
- python3 run_test.py Seq_Test_vect2 Opts seq_vect.knowledge "base.exa4" seq.results Platform/anyavx2.platform output
# Seq_Test_vect2Al
- python3 run_test.py Seq_Test_vect2Al Opts seq_vectAl.knowledge "base.exa4" seq.results Platform/anyavx2.platform output
# Seq_Test_vect2AlAl
- python3 run_test.py Seq_Test_vect2AlAl Opts seq_vectAlAl.knowledge "base.exa4" seq.results Platform/anyavx2.platform output
# Seq_Test_all2
- python3 run_test.py Seq_Test_all2 Opts seq_all.knowledge "tempBlock.exa4" seq.results Platform/anyavx2.platform output
### parallel version (2*2*2 MPI ranks each with 8 OMP threads)
## single precision
test:Optimization_Par_SinglePrec_Naive:
extends: .test_template
script:
- python3 run_test.py Par_TestF_naive Opts par__float_naive.knowledge "base_par_flt.exa4" par__float.results Platform/random.platform output
# SSE3
test:Optimization_Par_SinglePrec_SSE3:
extends: .test_template
script:
# Par_TestF_vectS
- python3 run_test.py Par_TestF_vectS Opts par__float_vect.knowledge "base_par_flt.exa4" par__float.results Platform/random.platform output
# Par_TestF_vectSAl
- python3 run_test.py Par_TestF_vectSAl Opts par__float_vectAl.knowledge "base_par_flt.exa4" par__float.results Platform/random.platform output
# Par_TestF_vectSAlAl
- python3 run_test.py Par_TestF_vectSAlAl Opts par__float_vectAlAl.knowledge "base_par_flt.exa4" par__float.results Platform/random.platform output
## double precision
test:Optimization_Par_DoublePrec_Naive:
extends: .test_template_AVX
script:
- python3 run_test.py Par_Test_naive Opts par_naive.knowledge "base_par.exa4" par.results Platform/anyavx.platform output
test:Optimization_Par_DoublePrec_Opti:
extends: .test_template_AVX
tags:
- docker
- AVX
- i10swarm13
script:
# Par_Test_addrPre
- python3 run_test.py Par_Test_addrPre Opts par_addrPre.knowledge "base_par.exa4" par.results Platform/anyavx.platform output
# Par_Test_poly
- python3 run_test.py Par_Test_poly Opts par_poly.knowledge "tempBlock_par.exa4" par.results Platform/anyavx.platform output
# Par_Test_unroll
- python3 run_test.py Par_Test_unroll Opts par_unroll.knowledge "base_par.exa4" par.results Platform/anyavx.platform output
# Par_Test_unrolli
- python3 run_test.py Par_Test_unrolli Opts par_unrolli.knowledge "base_par.exa4" par.results Platform/anyavx.platform output
# SSE3
test:Optimization_Par_DoublePrec_SSE3:
extends: .test_template
tags:
- docker
- i10swarm13
script:
# Par_Test_vectS
- python3 run_test.py Par_Test_vectS Opts par_vect.knowledge "base_par.exa4" par.results Platform/random.platform output
# Par_Test_vectSAl
- python3 run_test.py Par_Test_vectSAl Opts par_vectAl.knowledge "base_par.exa4" par.results Platform/random.platform output
# Par_Test_vectSAlAl
- python3 run_test.py Par_Test_vectSAlAl Opts par_vectAlAl.knowledge "base_par.exa4" par.results Platform/random.platform output
# Par_Test_allS
- python3 run_test.py Par_Test_allS Opts par_all.knowledge "tempBlock_par.exa4" par.results Platform/random.platform output
###############################################
# POLYHEDRAL SEARCH SPACE EXPLORATION TESTS #
###############################################
# Jacobi 2D constant coefficient 9-pt
test:PolyExpl_Jacobi_ConstCoeff_9pt_2D:
extends: .test_template_AVX
script:
# PolyExpl_Jac2Dccd_f0
- python3 run_test.py PolyExpl_Jac2Dccd_f0 PolyExpl 2D_f0.knowledge "Jac2Dccd.exa4" all.results Platform/anyavx.platform output
# PolyExpl_Jac2Dccd_f2
- python3 run_test.py PolyExpl_Jac2Dccd_f2 PolyExpl 2D_f2.knowledge "Jac2Dccd.exa4" all.results Platform/anyavx.platform output
# PolyExpl_Jac2Dccd_f4
- python3 run_test.py PolyExpl_Jac2Dccd_f4 PolyExpl 2D_f4.knowledge "Jac2Dccd.exa4" all.results Platform/anyavx.platform output
# PolyExpl_Jac2Dccd_f6
- python3 run_test.py PolyExpl_Jac2Dccd_f6 PolyExpl 2D_f6.knowledge "Jac2Dccd.exa4" all.results Platform/anyavx.platform output
# Jacobi 3D constant coefficient 7-pt
test:PolyExpl_Jacobi_ConstCoeff_7pt_3D:
extends: .test_template_AVX
script:
# PolyExpl_Jac3Dcc_f0
- python3 run_test.py PolyExpl_Jac3Dcc_f0 PolyExpl 3D_f0.knowledge "Jac3Dcc.exa4" all.results Platform/anyavx.platform output
# PolyExpl_Jac3Dcc_f1
- python3 run_test.py PolyExpl_Jac3Dcc_f1 PolyExpl 3D_f1.knowledge "Jac3Dcc.exa4" all.results Platform/anyavx.platform output
# PolyExpl_Jac3Dcc_f3
- python3 run_test.py PolyExpl_Jac3Dcc_f3 PolyExpl 3D_f3.knowledge "Jac3Dcc.exa4" all.results Platform/anyavx.platform output
# PolyExpl_Jac3Dcc_f5
- python3 run_test.py PolyExpl_Jac3Dcc_f5 PolyExpl 3D_f5.knowledge "Jac3Dcc.exa4" all.results Platform/anyavx.platform output
# PolyExpl_Jac3Dcc_f6
- python3 run_test.py PolyExpl_Jac3Dcc_f6 PolyExpl 3D_f6.knowledge "Jac3Dcc.exa4" all.results Platform/anyavx.platform output
# RBGS 2D constant coefficient 5-pt
test:PolyExpl_RBGS_ConstCoeff_5pt_2D:
extends: .test_template_AVX
script:
# PolyExpl_RBGS2Dcc_f0
- python3 run_test.py PolyExpl_RBGS2Dcc_f0 PolyExpl 2D_f0.knowledge "RBGS2Dcc.exa4" all.results Platform/anyavx.platform output
# PolyExpl_RBGS2Dcc_f1
- python3 run_test.py PolyExpl_RBGS2Dcc_f1 PolyExpl 2D_f1.knowledge "RBGS2Dcc.exa4" all.results Platform/anyavx.platform output
# PolyExpl_RBGS2Dcc_f3
- python3 run_test.py PolyExpl_RBGS2Dcc_f3 PolyExpl 2D_f3.knowledge "RBGS2Dcc.exa4" all.results Platform/anyavx.platform output
# PolyExpl_RBGS2Dcc_f5
- python3 run_test.py PolyExpl_RBGS2Dcc_f5 PolyExpl 2D_f5.knowledge "RBGS2Dcc.exa4" all.results Platform/anyavx.platform output
# PolyExpl_RBGS2Dcc_f6
- python3 run_test.py PolyExpl_RBGS2Dcc_f6 PolyExpl 2D_f6.knowledge "RBGS2Dcc.exa4" all.results Platform/anyavx.platform output
# RBGS 3D variable coefficient 7-pt
test:PolyExpl_RBGS_VarCoeff_7pt_3D:
extends: .test_template_AVX
script:
# PolyExpl_RBGS3Dvc_f0
- python3 run_test.py PolyExpl_RBGS3Dvc_f0 PolyExpl 3D_f0.knowledge "RBGS3Dvc.exa4" all.results Platform/anyavx.platform output
# PolyExpl_RBGS3Dvc_f2
- python3 run_test.py PolyExpl_RBGS3Dvc_f2 PolyExpl 3D_f2.knowledge "RBGS3Dvc.exa4" all.results Platform/anyavx.platform output
# PolyExpl_RBGS3Dvc_f4
- python3 run_test.py PolyExpl_RBGS3Dvc_f4 PolyExpl 3D_f4.knowledge "RBGS3Dvc.exa4" all.results Platform/anyavx.platform output
# PolyExpl_RBGS3Dvc_f6
- python3 run_test.py PolyExpl_RBGS3Dvc_f6 PolyExpl 3D_f6.knowledge "RBGS3Dvc.exa4" all.results Platform/anyavx.platform output
###############################################
# SMOOTHER TESTS #
###############################################
# 27 OMP threads
test:Smoothers:
extends: .test_template
script:
# Smoothers_Jac
- python3 run_test.py Smoothers_Jac Smoothers Jac.knowledge "Jac.exa4" Jac.results Platform/random.platform output
# Smoothers_GS
- python3 run_test.py Smoothers_GS Smoothers GS.knowledge "GS.exa4" GS.results Platform/random.platform output
# Smoothers_RBGS
- python3 run_test.py Smoothers_RBGS Smoothers RBGS.knowledge "RBGS.exa4" RBGS.results Platform/random.platform output
# Smoothers_BS
- python3 run_test.py Smoothers_BS Smoothers BS.knowledge "BS.exa4" BS.results Platform/random.platform output
###############################################
# BOUNDARY CONDITION TESTS #
###############################################
# 2D
test:BCs_2D:
extends: .test_template
script:
# BC_2D_Polynomial
- python3 run_test.py BC_2D_Polynomial BC 2D_Polynomial.knowledge "2D_Polynomial.exa4" 2D_Polynomial.results Platform/random.platform output
# BC_2D_Trigonometric
- python3 run_test.py BC_2D_Trigonometric BC 2D_Trigonometric.knowledge "2D_Trigonometric.exa4" 2D_Trigonometric.results Platform/random.platform output
# BC_2D_Periodic
- python3 run_test.py BC_2D_Periodic BC 2D_Periodic.knowledge "2D_Periodic.exa4" 2D_Periodic.results Platform/random.platform output
# 3D
test:BCs_3D:
extends: .test_template
script:
# BC_3D_Polynomial
- python3 run_test.py BC_3D_Polynomial BC 3D_Polynomial.knowledge "3D_Polynomial.exa4" 3D_Polynomial.results Platform/random.platform output
# BC_3D_Trigonometric
- python3 run_test.py BC_3D_Trigonometric BC 3D_Trigonometric.knowledge "3D_Trigonometric.exa4" 3D_Trigonometric.results Platform/random.platform output
# BC_3D_Periodic
- python3 run_test.py BC_3D_Periodic BC 3D_Periodic.knowledge "3D_Periodic.exa4" 3D_Periodic.results Platform/random.platform output
# special cases
test:BCs_Special:
extends: .test_template
script:
# BC_Matrix
- python3 run_test.py BC_Matrix BC/Matrix BC_Matrix.knowledge "BC_Matrix.exa4" BC_Matrix.results Platform/random.platform output
# BC_COMPLEX_NUMBERS
- python3 run_test.py BC_COMPLEX_NUMBERS BC ComplexNumbers.knowledge "ComplexNumbers.exa4" ComplexNumbers.results Platform/random.platform output
###############################################
# CELL BASED DISCR TESTS #
###############################################
test:CellBased_2D:
extends: .test_template
script:
# Cell_2D_Basic
- python3 run_test.py Cell_2D_Basic CellBased 2D_Basic.knowledge "2D_Basic.exa4" 2D_Basic.results Platform/random.platform output
# Cell_2D_Neumann
- python3 run_test.py Cell_2D_Neumann CellBased 2D_Neumann.knowledge "2D_Neumann.exa4" 2D_Neumann.results Platform/random.platform output
test:CellBased_3D:
extends: .test_template
script:
# Cell_3D_Basic
- python3 run_test.py Cell_3D_Basic CellBased 3D_Basic.knowledge "3D_Basic.exa4" 3D_Basic.results Platform/random.platform output
# Cell_3D_Neumann
- python3 run_test.py Cell_3D_Neumann CellBased 3D_Neumann.knowledge "3D_Neumann.exa4" 3D_Neumann.results Platform/random.platform output
###############################################
# SISC PAPER TESTS #
###############################################
test:SISC_2D:
extends: .test_template
script:
# SISC_2D_ConstCoeff
- python3 run_test.py SISC_2D_ConstCoeff SISC 2D_ConstCoeff.knowledge "2D_ConstCoeff.exa4" 2D_ConstCoeff.results Platform/random.platform output
# SISC_2D_VarCoeff
- python3 run_test.py SISC_2D_VarCoeff SISC 2D_VarCoeff.knowledge "2D_VarCoeff.exa4" 2D_VarCoeff.results Platform/random.platform output
test:SISC_3D:
extends: .test_template
script:
# SISC_3D_ConstCoeff
- python3 run_test.py SISC_3D_ConstCoeff SISC 3D_ConstCoeff.knowledge "3D_ConstCoeff.exa4" 3D_ConstCoeff.results Platform/random.platform output
# SISC_3D_VarCoeff
- python3 run_test.py SISC_3D_VarCoeff SISC 3D_VarCoeff.knowledge "3D_VarCoeff.exa4" 3D_VarCoeff.results Platform/random.platform output
###############################################
# MISC TESTS #
###############################################
# execute Inlining only on chimaira, maybe this leads to more stable results
test:MISC:
extends: .test_template
script:
# Inlining
- python3 run_test.py Inlining Misc inlining.knowledge "inlining.exa4" inlining.results Platform/random.platform output
# MathFunctionEvaluation
- python3 run_test.py MathFunctionEvaluation Misc MathFunctionEvaluation.knowledge "MathFunctionEvaluation.exa4" MathFunctionEvaluation.results Platform/random.platform output
# Reduction
- python3 run_test.py Reduction Misc reduction.knowledge "reduction.exa4" reduction.results Platform/random.platform output
# ReductionOldOpenMP
- python3 run_test.py ReductionOldOpenMP Misc reduction.knowledge "reduction.exa4" reduction.results Platform/gcc4.2_omp2.5.platform output
###############################################
# FMG TESTS #
###############################################
test:FMG:
extends: .test_template
script:
# FMG_2D_Polynomial
- python3 run_test.py FMG_2D_Polynomial FMG 2D_Polynomial.knowledge "2D_Polynomial.exa4" 2D_Polynomial.results Platform/random.platform output
# 2D_ConstCoeff
- python3 run_test.py FMG_2D_ConstCoeff FMG 2D_ConstCoeff.knowledge "2D_ConstCoeff.exa4" 2D_ConstCoeff.results Platform/random.platform output
# FMG_3D_Trigonometric
- python3 run_test.py FMG_3D_Trigonometric FMG 3D_Trigonometric.knowledge "3D_Trigonometric.exa4" 3D_Trigonometric.results Platform/random.platform output
# FMG_3D_VarCoeff
- python3 run_test.py FMG_3D_VarCoeff FMG 3D_VarCoeff.knowledge "3D_VarCoeff.exa4" 3D_VarCoeff.results Platform/random.platform output
###############################################
# CSE TESTS #
###############################################
test:ConventionalCSE:
extends: .test_template
script:
# Conv_CSE_SISC_2D_VarCoeff
- python3 run_test.py Conv_CSE_SISC_2D_VarCoeff CSE 2D_VarCoeff_conv.knowledge "../SISC/2D_VarCoeff.exa4" ../SISC/2D_VarCoeff.results Platform/random.platform output
# 3D_VarCoeff_conv
- python3 run_test.py Conv_CSE_SISC_3D_VarCoeff CSE 3D_VarCoeff_conv.knowledge "../SISC/3D_VarCoeff.exa4" ../SISC/3D_VarCoeff.results Platform/random.platform output
test:LoopCarriedCSE:
extends: .test_template
script:
# LC_CSE_SISC_2D_VarCoeff
- python3 run_test.py LC_CSE_SISC_2D_VarCoeff CSE 2D_VarCoeff_lc.knowledge "../SISC/2D_VarCoeff.exa4" ../SISC/2D_VarCoeff.results Platform/random.platform output
# LC_CSE_SISC_3D_VarCoeff
- python3 run_test.py LC_CSE_SISC_3D_VarCoeff CSE 3D_VarCoeff_lc.knowledge "../SISC/3D_VarCoeff.exa4" ../SISC/3D_VarCoeff.results Platform/random.platform output
test:BothCSE:
extends: .test_template
script:
# Both_CSE_SISC_2D_VarCoeff
- python3 run_test.py Both_CSE_SISC_2D_VarCoeff CSE 2D_VarCoeff_both.knowledge "../SISC/2D_VarCoeff.exa4" ../CSE/2D_VarCoeff.results Platform/random.platform output
# Both_CSE_SISC_3D_VarCoeff
- python3 run_test.py Both_CSE_SISC_3D_VarCoeff CSE 3D_VarCoeff_both.knowledge "../SISC/3D_VarCoeff.exa4" ../SISC/3D_VarCoeff.results Platform/random.platform output
###############################################
# LAYOUT TRANSFORMATION TESTS #
###############################################
test:LayoutTrafos:
extends: .test_template_AVX
script:
# borrowed from OPTIMIZATION TESTS, shares results! (may be changed, when generated exa4 code changes)
- python3 run_test.py Layout_Seq_Test_naive LayoutTrafo seq_naive.knowledge "opts.exa4" ../Opts/seq.results Platform/anyavx.platform output
- python3 run_test.py Layout_Par_Test_all LayoutTrafo par_all.knowledge "opts.exa4" ../Opts/par.results Platform/anyavx.platform output
# borrowed from SMOOTHER TESTS, shares results! (may be changed, when generated exa4 code changes)
- python3 run_test.py Layout_Smoothers_RBGS LayoutTrafo RBGS.knowledge "rbgs.exa4" ../Smoothers/RBGS.results Platform/random.platform output
###############################################
# NON-LINEAR TESTS #
###############################################
# 9 OMP threads
test:FAS_2D_Basic:
extends: .test_template
script:
- python3 run_test.py FAS_2D_Basic NonLinear FAS_2D_Basic.knowledge "FAS_2D_Basic.exa4" FAS_2D_Basic.results Platform/random.platform output
###############################################
# CUDA TESTS #
###############################################
test:CUDA:
extends: .test_template_CUDA
script:
# CUDA_SISC_2D_ConstCoeff
- python3 run_test.py CUDA_SISC_2D_ConstCoeff CUDA 2D_ConstCoeff.knowledge "2D_ConstCoeff.exa4" ../SISC/2D_ConstCoeff.results Platform/chimaira-gpu.platform output
# CUDA_SISC_2D_VarCoeff: has its own expected results due to rounding differences compared to original SISC version
- python3 run_test.py CUDA_SISC_2D_VarCoeff CUDA 2D_VarCoeff.knowledge "2D_VarCoeff.exa4" 2D_VarCoeff.results Platform/chimaira-gpu.platform output
# CUDA_SISC_3D_ConstCoeff
- python3 run_test.py CUDA_SISC_3D_ConstCoeff CUDA 3D_ConstCoeff.knowledge "3D_ConstCoeff.exa4" ../SISC/3D_ConstCoeff.results Platform/chimaira-gpu.platform output
# CUDA_SISC_3D_VarCoeff
- python3 run_test.py CUDA_SISC_3D_VarCoeff CUDA 3D_VarCoeff.knowledge "3D_VarCoeff.exa4" ../SISC/3D_VarCoeff.results Platform/chimaira-gpu.platform output
# CUDA_ExaFluids_Bingham
- python3 run_test.py CUDA_ExaFluids_Bingham CUDA 3D_ExaFluids_NN_CUDA.knowledge "3D_ExaFluids_NN_CUDA.exa4" 3D_ExaFluids_NN_CUDA.results Platform/chimaira-gpu.platform output
test:CUDA_2D_MatrixReduction:
extends: .test_template_CUDA
script:
# base variant
- python3 run_test.py CUDA_2D_MatrixReduction CUDA 2D_MatrixReduction.knowledge "2D_MatrixReduction.exa4" 2D_MatrixReduction.results Platform/chimaira-gpu.platform output
# managed memory variant
- cp CUDA/2D_MatrixReduction.knowledge CUDA/2D_MatrixReduction_MM.knowledge
- echo -e "\ncuda_useManagedMemory = true" >> CUDA/2D_MatrixReduction_MM.knowledge
- echo -e "\ncuda_usePinnedHostMemory = false" >> CUDA/2D_MatrixReduction_MM.knowledge
- python3 run_test.py CUDA_2D_MatrixReduction_MM CUDA 2D_MatrixReduction_MM.knowledge "2D_MatrixReduction.exa4" 2D_MatrixReduction.results Platform/chimaira-gpu.platform output
# zero copy variant
- cp CUDA/2D_MatrixReduction.knowledge CUDA/2D_MatrixReduction_ZC.knowledge
- echo -e "\ncuda_useZeroCopy = true" >> CUDA/2D_MatrixReduction_ZC.knowledge
- echo -e "\ncuda_usePinnedHostMemory = false" >> CUDA/2D_MatrixReduction_ZC.knowledge
- python3 run_test.py CUDA_2D_MatrixReduction_ZC CUDA 2D_MatrixReduction_ZC.knowledge "2D_MatrixReduction.exa4" 2D_MatrixReduction.results Platform/chimaira-gpu.platform output
# no stream variant
- cp CUDA/2D_MatrixReduction.knowledge CUDA/2D_MatrixReduction_NoStream.knowledge
- echo -e "\nexperimental_cuda_useStreams = false" >> CUDA/2D_MatrixReduction_NoStream.knowledge
- python3 run_test.py CUDA_2D_MatrixReduction_NoStream CUDA 2D_MatrixReduction_NoStream.knowledge "2D_MatrixReduction.exa4" 2D_MatrixReduction.results Platform/chimaira-gpu.platform output
# managed memory && no stream variant
- cp CUDA/2D_MatrixReduction_MM.knowledge CUDA/2D_MatrixReduction_MM_NoStream.knowledge
- echo -e "\nexperimental_cuda_useStreams = false" >> CUDA/2D_MatrixReduction_MM_NoStream.knowledge
- python3 run_test.py CUDA_2D_MatrixReduction_MM_NoStream CUDA 2D_MatrixReduction_MM_NoStream.knowledge "2D_MatrixReduction.exa4" 2D_MatrixReduction.results Platform/chimaira-gpu.platform output
# zero copy && no stream variant
- cp CUDA/2D_MatrixReduction_ZC.knowledge CUDA/2D_MatrixReduction_ZC_NoStream.knowledge
- echo -e "\nexperimental_cuda_useStreams = false" >> CUDA/2D_MatrixReduction_ZC_NoStream.knowledge
- python3 run_test.py CUDA_2D_MatrixReduction_ZC_NoStream CUDA 2D_MatrixReduction_ZC_NoStream.knowledge "2D_MatrixReduction.exa4" 2D_MatrixReduction.results Platform/chimaira-gpu.platform output
###############################################
# COMPLEX NUMBERS TESTS #
###############################################
test:ComplexNumbers:
extends: .test_template
script:
# COMPLEX_NUMBERS_BasicFunc
- python3 run_test.py COMPLEX_NUMBERS_BasicFunc ComplexNumbers/BasicFunc BasicFunc.knowledge "BasicFunc.exa3" BasicFunc.results Platform/random.platform output
# COMPLEX_NUMBERS_Helmholtz
- python3 run_test.py COMPLEX_NUMBERS_Helmholtz ComplexNumbers/2D_FD_Helmholtz_fromL3 2D_FD_Helmholtz_fromL3.knowledge "2D_FD_Helmholtz_fromL3.exa4" 2D_FD_Helmholtz_fromL3.results Platform/random.platform output
# COMPLEX_NUMBERS_Helmholtz_MPI
- python3 run_test.py COMPLEX_NUMBERS_Helmholtz_MPI ComplexNumbers/2D_FD_Helmholtz_fromL3_MPI 2D_FD_Helmholtz_fromL3_MPI.knowledge "2D_FD_Helmholtz_fromL3_MPI.exa4" 2D_FD_Helmholtz_fromL3_MPI.results Platform/random.platform output
#######################################
## ##
## Examples ##
## ##
#######################################
###############################################
# BiHarmonic EXAMPLES #
###############################################
example:BiHarmonicExamples_2D:
stage: example
extends: .test_template
script:
# 2D_FD_BiHarmonic_fromL2
- python3 run_test.py 2D_FD_BiHarmonic_fromL2 Examples/BiHarmonic 2D_FD_BiHarmonic_fromL2.knowledge "../../../Examples/BiHarmonic/2D_FD_BiHarmonic_fromL2.exa[1-4]" "" Platform/random.platform output
###############################################
# HelmHoltz EXAMPLES #
###############################################
example:HelmHoltzExamples_2D:
stage: example
extends: .test_template
script:
# 2D_FD_Helmholtz_fromL3
- python3 run_test.py 2D_FD_Helmholtz_fromL3 Examples/Helmholtz 2D_FD_Helmholtz_fromL3.knowledge "../../../Examples/Helmholtz/2D_FD_Helmholtz_fromL3.exa[1-4]" "" Platform/random.platform output
# 2D_FD_Helmholtz_MPI_fromL3
- python3 run_test.py 2D_FD_Helmholtz_MPI_fromL3 Examples/Helmholtz 2D_FD_Helmholtz_MPI_fromL3.knowledge "../../../Examples/Helmholtz/2D_FD_Helmholtz_fromL3.exa[1-4]" "" Platform/random.platform output
example:HelmHoltzExamples_3D:
stage: example
extends: .test_template
script:
# 3D_FD_Helmholtz_fromL3
- python3 run_test.py 3D_FD_Helmholtz_fromL3 Examples/Helmholtz 3D_FD_Helmholtz_fromL3.knowledge "../../../Examples/Helmholtz/3D_FD_Helmholtz_fromL3.exa[1-4]" "" Platform/random.platform output
###############################################
# LinearElasticity EXAMPLES #
###############################################
example:LinearElasticityExamples_2D:
stage: example
extends: .test_template
script:
# 2D_FD_LinearElasticity_fromL2
- python3 run_test.py 2D_FD_LinearElasticity_fromL2 Examples/LinearElasticity 2D_FD_LinearElasticity_fromL2.knowledge "../../../Examples/LinearElasticity/2D_FD_LinearElasticity_fromL2.exa[1-4]" "" Platform/random.platform output
###############################################
# NavierStokes EXAMPLES #
###############################################
example:NavierStokesExamples_2D:
stage: example
extends: .test_template
script:
# 2D_FV_NavierStokes_localNewton
- python3 run_test.py 2D_FV_NavierStokes_localNewton Examples/NavierStokes 2D_FV_NavierStokes_localNewton.knowledge "../../../Examples/NavierStokes/2D_FV_NavierStokes_localNewton.exa[1-4]" "" Platform/random.platform output
# 2D_FV_NavierStokes_localPicard
- python3 run_test.py 2D_FV_NavierStokes_localPicard Examples/NavierStokes 2D_FV_NavierStokes_localPicard.knowledge "../../../Examples/NavierStokes/2D_FV_NavierStokes_localPicard.exa[1-4]" "" Platform/random.platform output
# 2D_FV_NavierStokes_Newton
- python3 run_test.py 2D_FV_NavierStokes_Newton Examples/NavierStokes 2D_FV_NavierStokes_Newton.knowledge "../../../Examples/NavierStokes/2D_FV_NavierStokes_Newton.exa[1-4]" "" Platform/random.platform output
# 2D_FV_NavierStokes_Picard
- python3 run_test.py 2D_FV_NavierStokes_Picard Examples/NavierStokes 2D_FV_NavierStokes_Picard.knowledge "../../../Examples/NavierStokes/2D_FV_NavierStokes_Picard.exa[1-4]" "" Platform/random.platform output
example:NonNewtonianExamples_2D:
stage: example
extends: .test_template
script:
# 2D_FV_NonNewtonian_Newton
- python3 run_test.py 2D_FV_NonNewtonian_Newton Examples/NavierStokes 2D_FV_NonNewtonian_Newton.knowledge "../../../Examples/NavierStokes/2D_FV_NonNewtonian_Newton.exa[1-4]" "" Platform/random.platform output
# 2D_FV_NonNewtonian_Picard
- python3 run_test.py 2D_FV_NonNewtonian_Picard Examples/NavierStokes 2D_FV_NonNewtonian_Picard.knowledge "../../../Examples/NavierStokes/2D_FV_NonNewtonian_Picard.exa[1-4]" "" Platform/random.platform output
example:NavierStokesExamples_3D:
stage: example
extends: .test_template
script:
# 3D_FV_NavierStokes_localNewton
- python3 run_test.py 3D_FV_NavierStokes_localNewton Examples/NavierStokes 3D_FV_NavierStokes_localNewton.knowledge "../../../Examples/NavierStokes/3D_FV_NavierStokes_localNewton.exa[1-4]" "" Platform/random.platform output
# 3D_FV_NavierStokes_localPicard
- python3 run_test.py 3D_FV_NavierStokes_localPicard Examples/NavierStokes 3D_FV_NavierStokes_localPicard.knowledge "../../../Examples/NavierStokes/3D_FV_NavierStokes_localPicard.exa[1-4]" "" Platform/random.platform output
# 3D_FV_NavierStokes_Newton
- python3 run_test.py 3D_FV_NavierStokes_Newton Examples/NavierStokes 3D_FV_NavierStokes_Newton.knowledge "../../../Examples/NavierStokes/3D_FV_NavierStokes_Newton.exa[1-4]" "" Platform/random.platform output
# 3D_FV_NavierStokes_Picard
- python3 run_test.py 3D_FV_NavierStokes_Picard Examples/NavierStokes 3D_FV_NavierStokes_Picard.knowledge "../../../Examples/NavierStokes/3D_FV_NavierStokes_Picard.exa[1-4]" "" Platform/random.platform output
example:NonNewtonianExamples_3D:
stage: example
extends: .test_template
script:
# 3D_FV_NonNewtonian_Newton
- python3 run_test.py 3D_FV_NonNewtonian_Newton Examples/NavierStokes 3D_FV_NonNewtonian_Newton.knowledge "../../../Examples/NavierStokes/3D_FV_NonNewtonian_Newton.exa[1-4]" "" Platform/random.platform output
# 3D_FV_NonNewtonian_Picard
- python3 run_test.py 3D_FV_NonNewtonian_Picard Examples/NavierStokes 3D_FV_NonNewtonian_Picard.knowledge "../../../Examples/NavierStokes/3D_FV_NonNewtonian_Picard.exa[1-4]" "" Platform/random.platform output
###############################################
# OpticalFlow EXAMPLES #
###############################################
example:OptFlowExamples_2D:
stage: example
extends: .test_template
script:
# 2D_FD_OptFlow_fromL2
- python3 run_test.py 2D_FD_OptFlow_fromL2 Examples/OpticalFlow 2D_FD_OptFlow_fromL2.knowledge "../../../Examples/OpticalFlow/2D_FD_OptFlow_fromL2.exa[1-4]" "" Platform/random.platform output
# 2D_FD_OptFlow_fromL4
- python3 run_test.py 2D_FD_OptFlow_fromL4 Examples/OpticalFlow 2D_FD_OptFlow_fromL4.knowledge "../../../Examples/OpticalFlow/2D_FD_OptFlow_fromL4.exa4" "" Platform/random.platform output
# 2D_FD_OptFlow_fromL4_Vec
- python3 run_test.py 2D_FD_OptFlow_fromL4_Vec Examples/OpticalFlow 2D_FD_OptFlow_fromL4_Vec.knowledge "../../../Examples/OpticalFlow/2D_FD_OptFlow_fromL4_Vec.exa4" "" Platform/random.platform output
example:OptFlowExamples_3D:
stage: example
extends: .test_template
script:
# 3D_FD_OptFlow_fromL2
- python3 run_test.py 3D_FD_OptFlow_fromL2 Examples/OpticalFlow 3D_FD_OptFlow_fromL2.knowledge "../../../Examples/OpticalFlow/3D_FD_OptFlow_fromL2.exa[1-4]" "" Platform/random.platform output
# 3D_FD_OptFlow_fromL4_Vec
- python3 run_test.py 3D_FD_OptFlow_fromL4_Vec Examples/OpticalFlow 3D_FD_OptFlow_fromL4_Vec.knowledge "../../../Examples/OpticalFlow/3D_FD_OptFlow_fromL4_Vec.exa4" "" Platform/random.platform output
###############################################
# Poisson EXAMPLES #
###############################################
example:PoissonExamples_1D:
stage: example
extends: .test_template
script:
# 1D_FD_Poisson_fromL1
- python3 run_test.py 1D_FD_Poisson_fromL1 Examples/Poisson 1D_FD_Poisson_fromL1.knowledge "../../../Examples/Poisson/1D_FD_Poisson_fromL1.exa1" "" Platform/random.platform output
example:PoissonExamples_2D:
stage: example
extends: .test_template
script:
# 2D_FD_Poisson_fromL1
- python3 run_test.py 2D_FD_Poisson_fromL1 Poisson 2D_FD_Poisson_fromL1.knowledge "../../Examples/Poisson/2D_FD_Poisson_fromL1.exa1" 2D_FD_Poisson_fromL1.results Platform/random.platform output
# 2D_FD_Poisson_fromL2
- python3 run_test.py 2D_FD_Poisson_fromL2 Poisson 2D_FD_Poisson_fromL2.knowledge "../../Examples/Poisson/2D_FD_Poisson_fromL2.exa[1-4]" 2D_FD_Poisson_fromL2.results Platform/random.platform output
# 2D_FD_Poisson_fromL3
- python3 run_test.py 2D_FD_Poisson_fromL3 Poisson 2D_FD_Poisson_fromL3.knowledge "../../Examples/Poisson/2D_FD_Poisson_fromL3.exa[1-4]" 2D_FD_Poisson_fromL3.results Platform/random.platform output
# 2D_FD_Poisson_fromL4
- python3 run_test.py 2D_FD_Poisson_fromL4 Poisson 2D_FD_Poisson_fromL4.knowledge "../../Examples/Poisson/2D_FD_Poisson_fromL4.exa4" 2D_FD_Poisson_fromL4.results Platform/random.platform output
# 2D_FE_Poisson_fromL2
- python3 run_test.py 2D_FE_Poisson_fromL2 Poisson 2D_FE_Poisson_fromL2.knowledge "../../Examples/Poisson/2D_FE_Poisson_fromL2.exa[1-4]" 2D_FE_Poisson_fromL2.results Platform/random.platform output
# 2D_FV_Poisson_fromL2
- python3 run_test.py 2D_FV_Poisson_fromL2 Poisson 2D_FV_Poisson_fromL2.knowledge "../../Examples/Poisson/2D_FV_Poisson_fromL2.exa[1-4]" 2D_FV_Poisson_fromL2.results Platform/random.platform output
# 2D_FV_Poisson_fromL4
- python3 run_test.py 2D_FV_Poisson_fromL4 Poisson 2D_FV_Poisson_fromL4.knowledge "../../Examples/Poisson/2D_FV_Poisson_fromL4.exa4" 2D_FV_Poisson_fromL4.results Platform/random.platform output
example:PoissonExamples_3D:
stage: example
extends: .test_template
script:
# 3D_FD_Poisson_fromL1
- python3 run_test.py 3D_FD_Poisson_fromL1 Examples/Poisson 3D_FD_Poisson_fromL1.knowledge "../../../Examples/Poisson/3D_FD_Poisson_fromL1.exa1" "" Platform/random.platform output
- mkdir -p lib/ && cp ../Examples/lib/solver_singleScalarEquation.exa3 lib/solver_singleScalarEquation.exa3
# 3D_FD_Poisson_fromL2
- python3 run_test.py 3D_FD_Poisson_fromL2 Examples/Poisson 3D_FD_Poisson_fromL2.knowledge "../../../Examples/Poisson/3D_FD_Poisson_fromL2.exa[1-4]" "" Platform/random.platform output
# 3D_FD_Poisson_fromL4
- python3 run_test.py 3D_FD_Poisson_fromL4 Examples/Poisson 3D_FD_Poisson_fromL4.knowledge "../../../Examples/Poisson/3D_FD_Poisson_fromL4.exa4" "" Platform/random.platform output
- mkdir -p lib/ && cp ../Examples/lib/solver_singleScalarEquation.exa3 lib/solver_singleScalarEquation.exa3
# 3D_FV_Poisson_fromL2
- python3 run_test.py 3D_FV_Poisson_fromL2 Examples/Poisson 3D_FV_Poisson_fromL2.knowledge "../../../Examples/Poisson/3D_FV_Poisson_fromL2.exa[1-4]" "" Platform/random.platform output
# 3D_FV_Poisson_fromL4
- python3 run_test.py 3D_FV_Poisson_fromL4 Examples/Poisson 3D_FV_Poisson_fromL4.knowledge "../../../Examples/Poisson/3D_FV_Poisson_fromL4.exa4" "" Platform/random.platform output
###############################################
# Stokes EXAMPLES #
###############################################
example:StokesExamples_1D:
stage: example
extends: .test_template
script:
# 1D_FD_Stokes_fromL1
- python3 run_test.py 1D_FD_Stokes_fromL1 Examples/Stokes 1D_FD_Stokes_fromL1.knowledge "../../../Examples/Stokes/1D_FD_Stokes_fromL1.exa1" "" Platform/random.platform output
example:StokesExamples_2D:
stage: example
extends: .test_template
script:
# 2D_FD_Stokes_fromL1