49
49
cd MG5aMC/mg5amcnlo/
50
50
cp input/.mg5_configuration_default.txt input/mg5_configuration.txt
51
51
cp Template/LO/Source/.make_opts Template/LO/Source/make_opts
52
- rm -f PLUGIN/CUDACPP_OUTPUT
53
- ln -sf ../MG5aMC_PLUGIN/CUDACPP_OUTPUT PLUGIN/CUDACPP_OUTPUT
52
+ # *** NB1: acceptance tests require code generation (so in principle both PLUGIN and ../MG5aMC_PLUGIN are an option)
53
+ # *** NB2: test_manager.py cannot handle absolute paths and '..' relative paths (therefore ../MG5aMC_PLUGIN will not work)
54
+ # *** ===> therefore, the only option is to install CUDACPP_OUTPUT in PLUGIN (this is done and undone in each CI job)
55
+ if [ -f PLUGIN/CUDACPP_OUTPUT ]; then echo 'ERROR! PLUGIN/CUDACPP_OUTPUT already exists'; exit 1; fi
56
+ ln -sf ../../MG5aMC_PLUGIN/CUDACPP_OUTPUT PLUGIN/CUDACPP_OUTPUT
54
57
./tests/test_manager.py -p./PLUGIN/CUDACPP_OUTPUT/acceptance_tests/ test_simd_cpp_eemumua_float
58
+ rm -f PLUGIN/CUDACPP_OUTPUT
55
59
56
60
simd_cpp_heft_ggh_double :
57
61
# The type of runner that the job will run on
71
75
cd MG5aMC/mg5amcnlo/
72
76
cp input/.mg5_configuration_default.txt input/mg5_configuration.txt
73
77
cp Template/LO/Source/.make_opts Template/LO/Source/make_opts
74
- rm -f PLUGIN/CUDACPP_OUTPUT
75
- ln -sf ../MG5aMC_PLUGIN/CUDACPP_OUTPUT PLUGIN/CUDACPP_OUTPUT
78
+ # *** NB1: acceptance tests require code generation (so in principle both PLUGIN and ../MG5aMC_PLUGIN are an option)
79
+ # *** NB2: test_manager.py cannot handle absolute paths and '..' relative paths (therefore ../MG5aMC_PLUGIN will not work)
80
+ # *** ===> therefore, the only option is to install CUDACPP_OUTPUT in PLUGIN (this is done and undone in each CI job)
81
+ if [ -f PLUGIN/CUDACPP_OUTPUT ]; then echo 'ERROR! PLUGIN/CUDACPP_OUTPUT already exists'; exit 1; fi
82
+ ln -sf ../../MG5aMC_PLUGIN/CUDACPP_OUTPUT PLUGIN/CUDACPP_OUTPUT
76
83
./tests/test_manager.py -p./PLUGIN/CUDACPP_OUTPUT/acceptance_tests/ test_simd_cpp_heft_ggh_double
84
+ rm -f PLUGIN/CUDACPP_OUTPUT
77
85
78
86
simd_cpp_pptt_mixed :
79
87
# The type of runner that the job will run on
@@ -93,9 +101,13 @@ jobs:
93
101
cd MG5aMC/mg5amcnlo/
94
102
cp input/.mg5_configuration_default.txt input/mg5_configuration.txt
95
103
cp Template/LO/Source/.make_opts Template/LO/Source/make_opts
96
- rm -f PLUGIN/CUDACPP_OUTPUT
97
- ln -sf ../MG5aMC_PLUGIN/CUDACPP_OUTPUT PLUGIN/CUDACPP_OUTPUT
104
+ # *** NB1: acceptance tests require code generation (so in principle both PLUGIN and ../MG5aMC_PLUGIN are an option)
105
+ # *** NB2: test_manager.py cannot handle absolute paths and '..' relative paths (therefore ../MG5aMC_PLUGIN will not work)
106
+ # *** ===> therefore, the only option is to install CUDACPP_OUTPUT in PLUGIN (this is done and undone in each CI job)
107
+ if [ -f PLUGIN/CUDACPP_OUTPUT ]; then echo 'ERROR! PLUGIN/CUDACPP_OUTPUT already exists'; exit 1; fi
108
+ ln -sf ../../MG5aMC_PLUGIN/CUDACPP_OUTPUT PLUGIN/CUDACPP_OUTPUT
98
109
./tests/test_manager.py -p./PLUGIN/CUDACPP_OUTPUT/acceptance_tests/ test_simd_cpp_pptt_mixed
110
+ rm -f PLUGIN/CUDACPP_OUTPUT
99
111
100
112
simd_cpp_vector_size :
101
113
# The type of runner that the job will run on
@@ -115,6 +127,10 @@ jobs:
115
127
cd MG5aMC/mg5amcnlo/
116
128
cp input/.mg5_configuration_default.txt input/mg5_configuration.txt
117
129
cp Template/LO/Source/.make_opts Template/LO/Source/make_opts
118
- rm -f PLUGIN/CUDACPP_OUTPUT
119
- ln -sf ../MG5aMC_PLUGIN/CUDACPP_OUTPUT PLUGIN/CUDACPP_OUTPUT
130
+ # *** NB1: acceptance tests require code generation (so in principle both PLUGIN and ../MG5aMC_PLUGIN are an option)
131
+ # *** NB2: test_manager.py cannot handle absolute paths and '..' relative paths (therefore ../MG5aMC_PLUGIN will not work)
132
+ # *** ===> therefore, the only option is to install CUDACPP_OUTPUT in PLUGIN (this is done and undone in each CI job)
133
+ if [ -f PLUGIN/CUDACPP_OUTPUT ]; then echo 'ERROR! PLUGIN/CUDACPP_OUTPUT already exists'; exit 1; fi
134
+ ln -sf ../../MG5aMC_PLUGIN/CUDACPP_OUTPUT PLUGIN/CUDACPP_OUTPUT
120
135
./tests/test_manager.py -p./PLUGIN/CUDACPP_OUTPUT/acceptance_tests/ test_simd_cpp_vector_size
136
+ rm -f PLUGIN/CUDACPP_OUTPUT
0 commit comments