.gitlab-ci.yml 16.2 KB
Newer Older
1
2
3
4
5
stages:
  - test
  - coverage
  - deploy

6
before_script:
Andreas Marek's avatar
Andreas Marek committed
7
  - module purge
8
  - export LANG=C
9
  - ulimit -s unlimited
10
  - ulimit -v unlimited
Andreas Marek's avatar
Andreas Marek committed
11
  - module load git
Andreas Marek's avatar
Andreas Marek committed
12
  - echo "HOST " $HOST
13
  - module list
14
  - source .ci-env-vars
15
16


17
18
19
20
21
22
# For some reason sometimes not-writable files remain, which cause trouble the
# next time a runner tries to clean-up
after_script:
  - chmod u+w -R .


Andreas Marek's avatar
Andreas Marek committed
23
24
25
26
27
28
29
30
########################################################################################
#
# jobs for intel/gfortran double/single precision mpi and no openmp no cuda SSE/AVX
# - all runners on "cpu"
# - including coverage runs
#
########################################################################################
# intel double precision mpi noomp AVX/SSE
31
intel-double-precision-mpi-noomp-jobs:
32
33
  only:
    - /.*master.*/
Lorenz Huedepohl's avatar
Lorenz Huedepohl committed
34
35
  tags:
    - cpu
36
37
  script:
    - ./autogen.sh
38
    - ./configure --enable-option-checking=fatal CFLAGS="-O3 -mavx" FCFLAGS="-O3 -axAVX" SCALAPACK_LDFLAGS="$MKL_INTEL_SCALAPACK_LDFLAGS_MPI_NO_OMP" SCALAPACK_FCFLAGS="$SCALAPACK_FCFLAGS_MPI_NO_OMP" --disable-avx2 || { cat config.log; exit 1; }
39
    - make -j 8
40
    - export LD_LIBRARY_PATH=$MKL_HOME/lib/intel64:$LD_LIBRARY_PATH
41
    - make check TASKS=2 TEST_FLAGS='150 50 16' || { cat test-suite.log; exit 1; }
Andreas Marek's avatar
Andreas Marek committed
42
    - grep -i "Expected %stop" test-suite.log && exit 1 || true ;
Andreas Marek's avatar
Andreas Marek committed
43

Andreas Marek's avatar
Andreas Marek committed
44
45
# intel double precision mpi noomp AVX/SSE large
intel-double-precision-mpi-noomp-large-jobs:
46
47
  only:
    - /.*master.*/
Andreas Marek's avatar
Andreas Marek committed
48
49
50
51
  tags:
    - cpu
  script:
    - ./autogen.sh
52
    - ./configure --enable-option-checking=fatal CFLAGS="-O3 -mavx" FCFLAGS="-O3 -axAVX" SCALAPACK_LDFLAGS="$MKL_INTEL_SCALAPACK_LDFLAGS_MPI_NO_OMP" SCALAPACK_FCFLAGS="$MKL_INTEL_SCALAPACK_FCFLAGS_MPI_NO_OMP" --disable-avx2 || { cat config.log; exit 1; }
Andreas Marek's avatar
Andreas Marek committed
53
54
    - make -j 8
    - export LD_LIBRARY_PATH=$MKL_HOME/lib/intel64:$LD_LIBRARY_PATH
55
    - make check TASKS=2 TEST_FLAGS='1500 500 16' || { cat test-suite.log; exit 1; }
Andreas Marek's avatar
Andreas Marek committed
56
57
    - grep -i "Expected %stop" test-suite.log && exit 1 || true ;

58
59
60
61
62
63
64
65
66
67
68
# intel single precision mpi noomp AVX/SSE
intel-single-precision-mpi-noomp-jobs:
  tags:
    - cpu
  script:
    - ./autogen.sh
    - ./configure --enable-option-checking=fatal CFLAGS="-O3 -mavx" FCFLAGS="-O3 -mavx" SCALAPACK_LDFLAGS="$MKL_INTEL_SCALAPACK_LDFLAGS_MPI_NO_OMP" SCALAPACK_FCFLAGS="$MKL_INTEL_SCALAPACK_FCFLAGS_MPI_NO_OMP" --enable-single-precision --disable-avx2 || { cat config.log; exit 1; }
    - make -j 8
    - export LD_LIBRARY_PATH=$MKL_HOME/lib/intel64:$LD_LIBRARY_PATH
    - make check TASKS=2 TEST_FLAGS='150 50 16' || { cat test-suite.log; exit 1; }
    - grep -i "Expected %stop" test-suite.log && exit 1 || true ;
Andreas Marek's avatar
Andreas Marek committed
69

Andreas Marek's avatar
Andreas Marek committed
70
# gfortran double precision mpi noomp AVX/SSE
71
gfortran-double-precision-mpi-noomp-avx-jobs:
72
73
  only:
    - /.*master.*/
74
  tags:
Andreas Marek's avatar
Andreas Marek committed
75
    - cpu
76
77
  script:
    - ./autogen.sh
78
    - ./configure --enable-option-checking=fatal CFLAGS="-O3 -mavx -fsanitize=address" FCFLAGS="-O3 -mavx -fsanitize=address" SCALAPACK_LDFLAGS="$MKL_GFORTRAN_SCALAPACK_LDFLAGS_MPI_NO_OMP" SCALAPACK_FCFLAGS="$MKL_GFORTRAN_SCALAPACK_FCFLAGS_MPI_NO_OMP" --disable-avx2 FC=mpif90 || { cat config.log; exit 1; }
79
80
    - make -j 8
    - export LD_LIBRARY_PATH=$MKL_HOME/lib/intel64:$LD_LIBRARY_PATH
81
    - make check TASKS=2 TEST_FLAGS='150 50 16' || { cat test-suite.log; exit 1; }
Andreas Marek's avatar
Andreas Marek committed
82
    - grep -i "Expected %stop" test-suite.log && exit 1 || true ;
83

84
85
# gfortran single precision mpi noomp AVX/SSE
gfortran-single-precision-mpi-noomp-jobs:
86
87
  only:
    - /.*master.*/
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
  tags:
    - cpu
  script:
    - ./autogen.sh
    - ./configure --enable-option-checking=fatal CFLAGS="-O3 -mavx" FCFLAGS="-O3 -mavx" SCALAPACK_LDFLAGS="$MKL_GFORTRAN_SCALAPACK_LDFLAGS_MPI_NO_OMP" SCALAPACK_FCFLAGS="$MKL_GFORTRAN_SCALAPACK_FCFLAGS_MPI_NO_OMP" --disable-avx2 FC=mpif90 --enable-single-precision || { cat config.log; exit 1; }
    - make -j 8
    - export LD_LIBRARY_PATH=$MKL_HOME/lib/intel64:$LD_LIBRARY_PATH
    - make check TASKS=2 TEST_FLAGS='150 50 16' || { cat test-suite.log; exit 1; }
    - grep -i "Expected %stop" test-suite.log && exit 1 || true ;

# gfortran single precision mpi noomp AVX/SSE no legacy
gfortran-single-precision-mpi-noomp-no-legacy-jobs:
  tags:
    - cpu
  script:
    - ./autogen.sh
104
    - ./configure --enable-option-checking=fatal CFLAGS="-O3 -mavx -fsanitize=address" FCFLAGS="-O3 -mavx -fsanitize=address" SCALAPACK_LDFLAGS="$MKL_GFORTRAN_SCALAPACK_LDFLAGS_MPI_NO_OMP" SCALAPACK_FCFLAGS="$MKL_GFORTRAN_SCALAPACK_FCFLAGS_MPI_NO_OMP" --disable-avx2 FC=mpif90 --enable-single-precision --disable-legacy || { cat config.log; exit 1; }
105
106
107
108
109
    - make -j 8
    - export LD_LIBRARY_PATH=$MKL_HOME/lib/intel64:$LD_LIBRARY_PATH
    - make check TASKS=2 TEST_FLAGS='150 50 16' || { cat test-suite.log; exit 1; }
    - grep -i "Expected %stop" test-suite.log && exit 1 || true ;

Andreas Marek's avatar
Andreas Marek committed
110
111
112
113
114
115
# gfortran single precision mpi noomp AVX/SSE qr
gfortran-single-precision-mpi-noomp-qr-jobs:
  tags:
    - cpu
  script:
    - ./autogen.sh
116
    - ./configure --enable-option-checking=fatal CFLAGS="-O3 -mavx -fsanitize=address" FCFLAGS="-O3 -mavx -fsanitize=address" SCALAPACK_LDFLAGS="$MKL_GFORTRAN_SCALAPACK_LDFLAGS_MPI_NO_OMP" SCALAPACK_FCFLAGS="$MKL_GFORTRAN_SCALAPACK_FCFLAGS_MPI_NO_OMP" --disable-avx2 FC=mpif90 --enable-single-precision || { cat config.log; exit 1; }
Andreas Marek's avatar
Andreas Marek committed
117
118
    - make -j 8
    - export LD_LIBRARY_PATH=$MKL_HOME/lib/intel64:$LD_LIBRARY_PATH
119
    - make check TASKS=2 TEST_FLAGS='1500 500 64' || { cat test-suite.log; exit 1; }
Andreas Marek's avatar
Andreas Marek committed
120
121
    - grep -i "Expected %stop" test-suite.log && exit 1 || true ;

Andreas Marek's avatar
Andreas Marek committed
122
123
# gfortran double precision mpi noomp AVX/SSE, no assumed size
gfortran-double-precision-mpi-noomp-no-assumed-size-jobs:
124
125
  only:
    - /.*master.*/
126
  tags:
Andreas Marek's avatar
Andreas Marek committed
127
    - cpu
128
129
  script:
    - ./autogen.sh
130
    - ./configure --enable-option-checking=fatal CFLAGS="-O3 -mavx -fsanitize=address" FCFLAGS="-O3 -mavx -fsanitize=address" SCALAPACK_LDFLAGS="$MKL_GFORTRAN_SCALAPACK_LDFLAGS_MPI_NO_OMP" SCALAPACK_FCFLAGS="$MKL_GFORTRAN_SCALAPACK_FCFLAGS_MPI_NO_OMP" --disable-avx2 FC=mpif90  --disable-assumed-size || { cat config.log; exit 1; }
131
132
    - make -j 8
    - export LD_LIBRARY_PATH=$MKL_HOME/lib/intel64:$LD_LIBRARY_PATH
133
    - make check TASKS=2 TEST_FLAGS='150 50 16' || { cat test-suite.log; exit 1; }
Andreas Marek's avatar
Andreas Marek committed
134
    - grep -i "Expected %stop" test-suite.log && exit 1 || true ;
135

136
137
138
139
140
141
# gfortran single precision mpi noomp AVX/SSE, no assumed size
gfortran-single-precision-mpi-noomp-no-assumed-size-jobs:
  tags:
    - cpu
  script:
    - ./autogen.sh
142
    - ./configure --enable-option-checking=fatal CFLAGS="-O3 -mavx -fsanitize=address" FCFLAGS="-O3 -mavx -fsanitize=address" SCALAPACK_LDFLAGS="$MKL_GFORTRAN_SCALAPACK_LDFLAGS_MPI_NO_OMP" SCALAPACK_FCFLAGS="$MKL_GFORTRAN_SCALAPACK_FCFLAGS_MPI_NO_OMP" --disable-avx2 FC=mpif90 --enable-single-precision --disable-assumed-size || { cat config.log; exit 1; }
143
144
145
146
147
    - make -j 8
    - export LD_LIBRARY_PATH=$MKL_HOME/lib/intel64:$LD_LIBRARY_PATH
    - make check TASKS=2 TEST_FLAGS='150 50 16' || { cat test-suite.log; exit 1; }
    - grep -i "Expected %stop" test-suite.log && exit 1 || true ;

148

Andreas Marek's avatar
Andreas Marek committed
149

Andreas Marek's avatar
Andreas Marek committed
150
151
152
153
154
static-build:
  tags:
    - cpu
  script:
    - ./autogen.sh
155
    - ./configure --enable-option-checking=fatal CFLAGS="-O3 -mavx" FCFLAGS="-O3 -axAVX" SCALAPACK_LDFLAGS="$MKL_INTEL_SCALAPACK_LDFLAGS_NO_MPI_NO_OMP" SCALAPACK_FCFLAGS="$MKL_INTEL_SCALAPACK_FCFLAGS_NO_MPI_NO_OMP" --with-mpi=no FC=ifort --enable-shared=no --enable-static=yes --disable-avx2 || { cat config.log; exit 1; }
Andreas Marek's avatar
Andreas Marek committed
156
157
    - make -j 8
    - export LD_LIBRARY_PATH=$MKL_HOME/lib/intel64:$LD_LIBRARY_PATH
158
    - make check TASKS=2 TEST_FLAGS='150 50 16' || { cat test-suite.log; exit 1; }
Andreas Marek's avatar
Andreas Marek committed
159
160
161
162
163
164
165
166
    - grep -i "Expected %stop" test-suite.log && exit 1 || true ;

# test distcheck
distcheck:
  tags:
    - buildtest
  script:
    - ./autogen.sh
167
    - ./configure --enable-option-checking=fatal --with-mpi=no --disable-sse-assembly --disable-sse --disable-avx --disable-avx2 || { cat config.log; exit 1; }
Andreas Marek's avatar
Andreas Marek committed
168
    # stupid 'make distcheck' leaves behind write-protected files that the stupid gitlab runner cannot remove
169
    - make distcheck DISTCHECK_CONFIGURE_FLAGS="--with-mpi=no --disable-sse-assembly --disable-sse --disable-avx --disable-avx2" TASKS=2 TEST_FLAGS='150 50 16' || { chmod u+rwX -R . ; exit 1 ; }
Andreas Marek's avatar
Andreas Marek committed
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
# test test_project
test_project:
  tags:
    - buildtest
  script:
    - mkdir build
    - pushd build
    - ../autogen.sh
    - ../configure --enable-option-checking=fatal FCFLAGS="-march=native" CFLAGS="-march=native" --disable-avx2 SCALAPACK_LDFLAGS="$MKL_GFORTRAN_SCALAPACK_LDFLAGS_MPI_NO_OMP" SCALAPACK_FCFLAGS="$MKL_GFORTRAN_SCALAPACK_FCFLAGS_MPI_NO_OMP" FC=mpif90 --prefix=$PWD/installdest --disable-avx2 || { cat config.log; exit 1; }
    - make -j 8
    - make install
    - popd
    - mkdir test_project/build
    - pushd test_project/build
    - ../autogen.sh
    - ../configure --enable-option-checking=fatal PKG_CONFIG_PATH=../../build/installdest/lib/pkgconfig FC=mpif90 || { cat config.log; exit 1; }
    - make -j 8
    - export LD_LIBRARY_PATH=$MKL_HOME/lib/intel64:$LD_LIBRARY_PATH
    - ./test_real
    - make distclean
    - popd
    - pushd build
    - make distclean
    - rm -rf installdest
    - popd

Andreas Marek's avatar
Andreas Marek committed
197
198
# test test_project_legacy_api
test_project_legacy_api:
Andreas Marek's avatar
Andreas Marek committed
199
200
201
202
203
204
  tags:
    - buildtest
  script:
    - mkdir build
    - pushd build
    - ../autogen.sh
205
    - ../configure --enable-option-checking=fatal FCFLAGS="-march=native" CFLAGS="-march=native" --disable-avx2 SCALAPACK_LDFLAGS="$MKL_GFORTRAN_SCALAPACK_LDFLAGS_MPI_NO_OMP" SCALAPACK_FCFLAGS="$MKL_GFORTRAN_SCALAPACK_FCFLAGS_MPI_NO_OMP" FC=mpif90 --prefix=$PWD/installdest --disable-avx2 || { cat config.log; exit 1; }
Andreas Marek's avatar
Andreas Marek committed
206
207
208
    - make -j 8
    - make install
    - popd
Andreas Marek's avatar
Andreas Marek committed
209
210
    - mkdir test_project_legacy_api/build
    - pushd test_project_legacy_api/build
Andreas Marek's avatar
Andreas Marek committed
211
    - ../autogen.sh
212
    - ../configure --enable-option-checking=fatal PKG_CONFIG_PATH=../../build/installdest/lib/pkgconfig FC=mpif90 || { cat config.log; exit 1; }
Andreas Marek's avatar
Andreas Marek committed
213
214
215
216
217
218
219
220
221
222
    - make -j 8
    - export LD_LIBRARY_PATH=$MKL_HOME/lib/intel64:$LD_LIBRARY_PATH
    - ./test_real
    - make distclean
    - popd
    - pushd build
    - make distclean
    - rm -rf installdest
    - popd

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
# test test_project_2stage
test_project_2stage:
  tags:
    - buildtest
  script:
    - mkdir build
    - pushd build
    - ../autogen.sh
    - ../configure --enable-option-checking=fatal FCFLAGS="-march=native" CFLAGS="-march=native" SCALAPACK_LDFLAGS="$MKL_GFORTRAN_SCALAPACK_LDFLAGS_MPI_NO_OMP" SCALAPACK_FCFLAGS="$MKL_GFORTRAN_SCALAPACK_FCFLAGS_MPI_NO_OMP" FC=mpif90 --prefix=$PWD/installdest --disable-avx2 || { cat config.log; exit 1; }
    - make -j 8
    - make install
    - popd
    - mkdir test_project_2stage/build
    - pushd test_project_2stage/build
    - ../autogen.sh
    - ../configure --enable-option-checking=fatal PKG_CONFIG_PATH=../../build/installdest/lib/pkgconfig FC=mpif90 || { cat config.log; exit 1; }
    - make -j 8
    - export LD_LIBRARY_PATH=$MKL_HOME/lib/intel64:$LD_LIBRARY_PATH
    - ./test_real2
    - make distclean
    - popd
    - pushd build
    - make distclean
    - rm -rf installdest
    - popd

Andreas Marek's avatar
Andreas Marek committed
249

Andreas Marek's avatar
Andreas Marek committed
250
251
# test test_project_2stage_legacy_api
test_project_2stage_legacy_api:
Andreas Marek's avatar
Andreas Marek committed
252
253
254
255
256
257
  tags:
    - buildtest
  script:
    - mkdir build
    - pushd build
    - ../autogen.sh
258
    - ../configure --enable-option-checking=fatal FCFLAGS="-march=native" CFLAGS="-march=native" SCALAPACK_LDFLAGS="$MKL_GFORTRAN_SCALAPACK_LDFLAGS_MPI_NO_OMP" SCALAPACK_FCFLAGS="$MKL_GFORTRAN_SCALAPACK_FCFLAGS_MPI_NO_OMP" FC=mpif90 --prefix=$PWD/installdest --disable-avx2 || { cat config.log; exit 1; }
Andreas Marek's avatar
Andreas Marek committed
259
260
261
    - make -j 8
    - make install
    - popd
Andreas Marek's avatar
Andreas Marek committed
262
263
    - mkdir test_project_2stage_legacy_api/build
    - pushd test_project_2stage_legacy_api/build
Andreas Marek's avatar
Andreas Marek committed
264
    - ../autogen.sh
265
    - ../configure --enable-option-checking=fatal PKG_CONFIG_PATH=../../build/installdest/lib/pkgconfig FC=mpif90 || { cat config.log; exit 1; }
Andreas Marek's avatar
Andreas Marek committed
266
267
268
269
270
271
272
273
274
275
    - make -j 8
    - export LD_LIBRARY_PATH=$MKL_HOME/lib/intel64:$LD_LIBRARY_PATH
    - ./test_real2
    - make distclean
    - popd
    - pushd build
    - make distclean
    - rm -rf installdest
    - popd

276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
test_project_intel:
  tags:
    - buildtest
  script:
    - mkdir build
    - pushd build
    - ../autogen.sh
    - ../configure --enable-option-checking=fatal SCALAPACK_LDFLAGS="$MKL_INTEL_SCALAPACK_LDFLAGS_MPI_NO_OMP" SCALAPACK_FCFLAGS="$MKL_INTEL_SCALAPACK_FCFLAGS_MPI_NO_OMP" FC=mpiifort --prefix=$PWD/installdest --disable-sse-assembly --disable-sse --disable-avx --disable-avx2 || { cat config.log; exit 1; }
    - make -j 8
    - make install
    - popd
    - mkdir test_project/build
    - pushd test_project/build
    - ../autogen.sh
    - ../configure --enable-option-checking=fatal PKG_CONFIG_PATH=../../build/installdest/lib/pkgconfig FC=mpiifort || { cat config.log; exit 1; }
    - make -j 8
    - export LD_LIBRARY_PATH=$MKL_HOME/lib/intel64:$LD_LIBRARY_PATH
    - ./test_real
    - make distclean
    - popd
    - pushd build
    - make distclean
    - rm -rf installdest
Andreas Marek's avatar
Andreas Marek committed
299

Andreas Marek's avatar
Andreas Marek committed
300
test_project_intel_legacy_api:
Andreas Marek's avatar
Andreas Marek committed
301
302
303
304
305
306
  tags:
    - buildtest
  script:
    - mkdir build
    - pushd build
    - ../autogen.sh
307
    - ../configure --enable-option-checking=fatal SCALAPACK_LDFLAGS="$MKL_INTEL_SCALAPACK_LDFLAGS_MPI_NO_OMP" SCALAPACK_FCFLAGS="$MKL_INTEL_SCALAPACK_FCFLAGS_MPI_NO_OMP" FC=mpiifort --prefix=$PWD/installdest --disable-sse-assembly --disable-sse --disable-avx --disable-avx2 || { cat config.log; exit 1; }
Andreas Marek's avatar
Andreas Marek committed
308
309
310
    - make -j 8
    - make install
    - popd
Andreas Marek's avatar
Andreas Marek committed
311
312
    - mkdir test_project_legacy_api/build
    - pushd test_project_legacy_api/build
Andreas Marek's avatar
Andreas Marek committed
313
    - ../autogen.sh
314
    - ../configure --enable-option-checking=fatal PKG_CONFIG_PATH=../../build/installdest/lib/pkgconfig FC=mpiifort || { cat config.log; exit 1; }
Andreas Marek's avatar
Andreas Marek committed
315
316
317
318
319
320
321
322
323
    - make -j 8
    - export LD_LIBRARY_PATH=$MKL_HOME/lib/intel64:$LD_LIBRARY_PATH
    - ./test_real
    - make distclean
    - popd
    - pushd build
    - make distclean
    - rm -rf installdest

324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
test_project_2stage_intel:
 tags:
   - buildtest
 script:
   - mkdir build
   - pushd build
   - ../autogen.sh
   - ../configure --enable-option-checking=fatal SCALAPACK_LDFLAGS="$MKL_INTEL_SCALAPACK_LDFLAGS_MPI_NO_OMP" SCALAPACK_FCFLAGS="$MKL_INTEL_SCALAPACK_FCFLAGS_MPI_NO_OMP" FC=mpiifort --prefix=$PWD/installdest --disable-sse-assembly --disable-sse --disable-avx --disable-avx2 || { cat config.log; exit 1; }
   - make -j 8
   - make install
   - popd
   - mkdir test_project_2stage/build
   - pushd test_project_2stage/build
   - ../autogen.sh
   - ../configure --enable-option-checking=fatal PKG_CONFIG_PATH=../../build/installdest/lib/pkgconfig FC=mpiifort || { cat config.log; exit 1; }
   - make -j 8
   - export LD_LIBRARY_PATH=$MKL_HOME/lib/intel64:$LD_LIBRARY_PATH
   - ./test_real2
   - make distclean
   - popd
   - pushd build
   - make distclean
   - rm -rf installdest

Andreas Marek's avatar
Andreas Marek committed
348

Andreas Marek's avatar
Andreas Marek committed
349
test_project_2stage_intel_legacy_api:
Andreas Marek's avatar
Andreas Marek committed
350
351
352
353
354
355
 tags:
   - buildtest
 script:
   - mkdir build
   - pushd build
   - ../autogen.sh
356
   - ../configure --enable-option-checking=fatal SCALAPACK_LDFLAGS="$MKL_INTEL_SCALAPACK_LDFLAGS_MPI_NO_OMP" SCALAPACK_FCFLAGS="$MKL_INTEL_SCALAPACK_FCFLAGS_MPI_NO_OMP" FC=mpiifort --prefix=$PWD/installdest --disable-sse-assembly --disable-sse --disable-avx --disable-avx2 || { cat config.log; exit 1; }
Andreas Marek's avatar
Andreas Marek committed
357
358
359
   - make -j 8
   - make install
   - popd
Andreas Marek's avatar
Andreas Marek committed
360
361
   - mkdir test_project_2stage_legacy_api/build
   - pushd test_project_2stage_legacy_api/build
Andreas Marek's avatar
Andreas Marek committed
362
   - ../autogen.sh
363
   - ../configure --enable-option-checking=fatal PKG_CONFIG_PATH=../../build/installdest/lib/pkgconfig FC=mpiifort || { cat config.log; exit 1; }
Andreas Marek's avatar
Andreas Marek committed
364
365
366
367
368
369
370
371
   - make -j 8
   - export LD_LIBRARY_PATH=$MKL_HOME/lib/intel64:$LD_LIBRARY_PATH
   - ./test_real2
   - make distclean
   - popd
   - pushd build
   - make distclean
   - rm -rf installdest
Andreas Marek's avatar
Andreas Marek committed
372

Pavel Kus's avatar
Pavel Kus committed
373
374
# test test_project_C
test_project_C:
375
  tags:
Pavel Kus's avatar
Pavel Kus committed
376
    - buildtest
377
  script:
Pavel Kus's avatar
Pavel Kus committed
378
379
380
381
    - mkdir build
    - pushd build
    - ../autogen.sh
    - ../configure --enable-option-checking=fatal FCFLAGS="-march=native" CFLAGS="-march=native" --disable-avx2 SCALAPACK_LDFLAGS="$MKL_GFORTRAN_SCALAPACK_LDFLAGS_MPI_NO_OMP" SCALAPACK_FCFLAGS="$MKL_GFORTRAN_SCALAPACK_FCFLAGS_MPI_NO_OMP" FC=mpif90 --prefix=$PWD/installdest --disable-avx2 || { cat config.log; exit 1; }
382
    - make -j 8
Pavel Kus's avatar
Pavel Kus committed
383
384
385
386
387
388
    - make install
    - popd
    - mkdir test_project_C/build
    - pushd test_project_C/build
    - ../autogen.sh
    - ../configure --enable-option-checking=fatal PKG_CONFIG_PATH=../../build/installdest/lib/pkgconfig FC=mpif90 CC=mpicc || { cat config.log; exit 1; }
389
    - make -j 8
Pavel Kus's avatar
Pavel Kus committed
390
391
392
393
394
395
396
397
    - export LD_LIBRARY_PATH=$MKL_HOME/lib/intel64:$LD_LIBRARY_PATH
    - ./test_real
    - make distclean
    - popd
    - pushd build
    - make distclean
    - rm -rf installdest
    - popd
398