Makefile.am 43.5 KB
Newer Older
1
## Process this file with automake to produce Makefile.in
2

3
ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4
4

5
AM_FCFLAGS = $(SCALAPACK_FCFLAGS) @FC_MODINC@modules
6
AM_LDFLAGS = $(SCALAPACK_LDFLAGS)
7 8 9

# libelpa

10 11
# parts with public interface
noinst_LTLIBRARIES = libelpa@SUFFIX@_public.la
12
libelpa@SUFFIX@_public_la_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@modules @FC_MODINC@private_modules
13
libelpa@SUFFIX@_public_la_SOURCES = \
14
	src/elpa.F90 \
15 16
        src/elpa1.F90 \
        src/elpa2.F90 \
17
	src/elpa1_auxiliary.F90 \
18
        src/elpa1_utilities.F90 \
19
        src/elpa2_utilities.F90 \
20
        src/elpa_utilities.F90
21 22 23

# internal parts
noinst_LTLIBRARIES += libelpa@SUFFIX@_private.la
24
libelpa@SUFFIX@_private_la_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
25
libelpa@SUFFIX@_private_la_SOURCES = \
26
        src/mod_precision.F90 \
27 28
        src/mod_mpi.F90 \
        src/mod_mpi_stubs.F90 \
29
	src/mod_redist_band.F90 \
30 31 32 33 34
        src/mod_pack_unpack_real.F90 \
        src/mod_compute_hh_trafo_real.F90 \
        src/mod_compute_hh_trafo_complex.F90 \
        src/mod_pack_unpack_complex.F90 \
        src/aligned_mem.F90 \
35
        src/elpa1_compute_private.F90 \
36
	src/elpa2_determine_workload.F90 \
37
        src/elpa2_compute.F90 \
38 39
        src/elpa2_kernels/mod_fortran_interfaces.F90 \
        src/elpa2_kernels/mod_single_hh_trafo_real.F90 \
40
        src/elpa_c_interface.F90 \
41 42 43 44
        src/check_for_gpu.F90 \
        src/mod_cuda.F90 \
        src/interface_c_kernel.F90 \
        src/mod_pack_unpack_real_gpu.F90 \
45
        src/elpa_qr/qr_utils.F90 \
46
        src/elpa_qr/elpa_qrkernels.F90 \
47 48 49
        src/elpa_qr/elpa_pdlarfb.F90 \
        src/elpa_qr/elpa_pdgeqrf.F90

50
EXTRA_libelpa@SUFFIX@_private_la_DEPENDENCIES = \
51 52
        src/elpa_reduce_add_vectors.X90 \
        src/elpa_transpose_vectors.X90 \
53
        src/elpa1_compute_template.X90 \
54 55
        src/elpa2_compute_real_template.X90 \
        src/elpa2_compute_complex_template.X90 \
56
		src/elpa2_template.X90 \
57
	src/elpa2_bandred_template.X90 \
58
	src/elpa2_symm_matrix_allreduce_real_template.X90 \
59
	src/elpa2_trans_ev_band_to_full_template.X90 \
60
	src/elpa2_tridiag_band_template.X90 \
61
	src/elpa2_trans_ev_tridi_to_band_template.X90 \
62
	src/elpa2_herm_matrix_allreduce_complex_template.X90 \
63
	src/elpa2_kernels/elpa2_kernels_real_template.X90 \
64
	src/elpa2_kernels/elpa2_kernels_complex_template.X90 \
65
	src/elpa2_kernels/elpa2_kernels_simple_template.X90 \
66
        src/redist_band.X90 \
Andreas Marek's avatar
Andreas Marek committed
67 68
	src/sanity.X90 \
	src/elpa_cholesky_template.X90 \
Andreas Marek's avatar
Andreas Marek committed
69 70
	src/elpa_invert_trm.X90 \
	src/elpa_multiply_a_b.X90 \
71
        src/precision_macros.h
72

73
lib_LTLIBRARIES = libelpa@SUFFIX@.la
74
libelpa@SUFFIX@_la_LINK = $(FCLINK) $(AM_LDFLAGS) -version-info $(ELPA_SO_VERSION)
75 76
libelpa@SUFFIX@_la_LIBADD = libelpa@SUFFIX@_public.la libelpa@SUFFIX@_private.la
libelpa@SUFFIX@_la_SOURCES =
77

78

79
if HAVE_DETAILED_TIMINGS
80
  libelpa@SUFFIX@_private_la_SOURCES += \
81 82 83 84 85 86 87 88 89
        src/timer.F90 \
        src/ftimings/ftimings.F90 \
        src/ftimings/ftimings_type.F90 \
        src/ftimings/ftimings_value.F90 \
        src/ftimings/highwater_mark.c \
        src/ftimings/resident_set_size.c \
        src/ftimings/time.c \
        src/ftimings/virtual_memory.c \
        src/ftimings/papi.c
90 91
else
  libelpa@SUFFIX@_private_la_SOURCES += \
Andreas Marek's avatar
Andreas Marek committed
92
        src/timer_dummy.F90
93 94
endif

95
if WITH_GPU_VERSION
96 97
  libelpa@SUFFIX@_private_la_SOURCES +=  src/cudaFunctions.cu src/cuUtils.cu src/ev_tridi_band_gpu_c_v2.cu
  EXTRA_libelpa@SUFFIX@_private_la_DEPENDENCIES +=   src/ev_tridi_band_gpu_c_v2_complex_template.Xcu src/ev_tridi_band_gpu_c_v2_real_template.Xcu
98 99
endif

100
if !WITH_MPI
101
  libelpa@SUFFIX@_private_la_SOURCES += src/mod_time_c.F90
102
if !HAVE_DETAILED_TIMINGS
103
  libelpa@SUFFIX@_private_la_SOURCES += src/ftimings/time.c
104 105 106
endif
endif

Andreas Marek's avatar
Andreas Marek committed
107
if WITH_REAL_GENERIC_KERNEL
108
  libelpa@SUFFIX@_private_la_SOURCES +=  src/elpa2_kernels/elpa2_kernels_real.F90
109 110
endif

Andreas Marek's avatar
Andreas Marek committed
111
if WITH_COMPLEX_GENERIC_KERNEL
112
  libelpa@SUFFIX@_private_la_SOURCES +=  src/elpa2_kernels/elpa2_kernels_complex.F90
113 114
endif

Andreas Marek's avatar
Andreas Marek committed
115
if WITH_REAL_GENERIC_SIMPLE_KERNEL
116
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_simple.F90
117 118
endif

Andreas Marek's avatar
Andreas Marek committed
119
if WITH_COMPLEX_GENERIC_SIMPLE_KERNEL
120
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_simple.F90
121 122
endif

Andreas Marek's avatar
Andreas Marek committed
123
if WITH_REAL_BGP_KERNEL
124
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_bgp.f90
125 126
endif

Andreas Marek's avatar
Andreas Marek committed
127
if WITH_REAL_BGQ_KERNEL
128
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_bgq.f90
129 130
endif

131
if WITH_REAL_SSE_ASSEMBLY_KERNEL
132
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_asm_x86_64_double_precision.s
133
if WANT_SINGLE_PRECISION_REAL
134
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_asm_x86_64_single_precision.s
135
endif
136

Andreas Marek's avatar
Andreas Marek committed
137
else
138
if WITH_COMPLEX_SSE_ASSEMBLY_KERNEL
139
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_asm_x86_64_double_precision.s
140
if WANT_SINGLE_PRECISION_COMPLEX
141
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_asm_x86_64_single_precision.s
142
endif
143 144
endif
endif
Andreas Marek's avatar
Andreas Marek committed
145

146
if WITH_REAL_SSE_BLOCK2_KERNEL
147
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_sse_2hv_double_precision.c
148
if WANT_SINGLE_PRECISION_REAL
149
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_sse_2hv_single_precision.c
150
endif
151 152
endif

Andreas Marek's avatar
Andreas Marek committed
153
if WITH_REAL_AVX_BLOCK2_KERNEL
154
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_2hv_double_precision.c
155
if WANT_SINGLE_PRECISION_REAL
156
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_2hv_single_precision.c
157
endif
158 159
else
if WITH_REAL_AVX2_BLOCK2_KERNEL
160
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_2hv_double_precision.c
161
if WANT_SINGLE_PRECISION_REAL
162
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_2hv_single_precision.c
163
endif
164
endif
165 166
endif

167
if WITH_REAL_SSE_BLOCK4_KERNEL
168
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_sse_4hv_double_precision.c
169
if WANT_SINGLE_PRECISION_REAL
170
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_sse_4hv_single_precision.c
171
endif
172 173
endif

Andreas Marek's avatar
Andreas Marek committed
174
if WITH_REAL_AVX_BLOCK4_KERNEL
175
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_4hv_double_precision.c
176
if WANT_SINGLE_PRECISION_REAL
177
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_4hv_single_precision.c
178
endif
179 180
else
if WITH_REAL_AVX2_BLOCK4_KERNEL
181
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_4hv_double_precision.c
182
if WANT_SINGLE_PRECISION_REAL
183
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_4hv_single_precision.c
184
endif
185
endif
186 187
endif

188
if WITH_REAL_SSE_BLOCK6_KERNEL
189
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_sse_6hv_double_precision.c
190
if WANT_SINGLE_PRECISION_REAL
191
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_sse_6hv_single_precision.c
192
endif
193 194
endif

Andreas Marek's avatar
Andreas Marek committed
195
if WITH_REAL_AVX_BLOCK6_KERNEL
196
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_6hv_double_precision.c
197
if WANT_SINGLE_PRECISION_REAL
198
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_6hv_single_precision.c
199
endif
200 201
else
if WITH_REAL_AVX2_BLOCK6_KERNEL
202
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_6hv_double_precision.c
203
if WANT_SINGLE_PRECISION_REAL
204
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_6hv_single_precision.c
205
endif
206
endif
207 208
endif

209
if WITH_COMPLEX_SSE_BLOCK1_KERNEL
210
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_sse_1hv_double_precision.c
211
if WANT_SINGLE_PRECISION_COMPLEX
212
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_sse_1hv_single_precision.c
213
endif
214 215
endif

Andreas Marek's avatar
Andreas Marek committed
216
if WITH_COMPLEX_AVX_BLOCK1_KERNEL
217
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_avx-avx2_1hv_double_precision.c
218
if WANT_SINGLE_PRECISION_COMPLEX
219
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_avx-avx2_1hv_single_precision.c
220
endif
221 222
else
if WITH_COMPLEX_AVX2_BLOCK1_KERNEL
223
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_avx-avx2_1hv_double_precision.c
224
if WANT_SINGLE_PRECISION_COMPLEX
225
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_avx-avx2_1hv_single_precision.c
226
endif
227
endif
228 229
endif

230
if WITH_COMPLEX_SSE_BLOCK2_KERNEL
231
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_sse_2hv_double_precision.c
232
if WANT_SINGLE_PRECISION_COMPLEX
233
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_sse_2hv_single_precision.c
234
endif
235 236
endif

Andreas Marek's avatar
Andreas Marek committed
237
if WITH_COMPLEX_AVX_BLOCK2_KERNEL
238
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_avx-avx2_2hv_double_precision.c
239
if WANT_SINGLE_PRECISION_COMPLEX
240
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_avx-avx2_2hv_single_precision.c
241
endif
242 243
else
if WITH_COMPLEX_AVX2_BLOCK2_KERNEL
244
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_avx-avx2_2hv_double_precision.c
245
if WANT_SINGLE_PRECISION_COMPLEX
246
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_avx-avx2_2hv_single_precision.c
247
endif
248
endif
249 250
endif

251
.cu.lo:
252
	NVCC="$(NVCC)" libtool --mode=compile --tag=CC $(top_srcdir)/nvcc_wrap $(NVCCFLAGS) $(LDFLAGS) -I$(top_builddir)/ -I$(top_srcdir)/  -c $< -o $@
Andreas Marek's avatar
Andreas Marek committed
253

254 255 256
include generated_headers.am
BUILT_SOURCES = $(generated_headers)

257
# install public Fortran modules files in the include/ dir
258
elpa_includedir = $(includedir)/elpa@SUFFIX@-@PACKAGE_VERSION@
259
nobase_elpa_include_HEADERS = $(wildcard modules/*)
Andreas Marek's avatar
Andreas Marek committed
260
nobase_elpa_include_HEADERS += elpa/elpa.h elpa/elpa_kernel_constants.h elpa/elpa_generated.h
261

Lorenz Huedepohl's avatar
Lorenz Huedepohl committed
262
dist_man_MANS = \
263
           man/solve_evp_real.3 \
264
	   man/solve_evp_real_1stage_double.3 \
Andreas Marek's avatar
Andreas Marek committed
265
	   man/solve_evp_complex.3 \
266 267 268
	   man/solve_evp_complex_1stage_double.3 \
	   man/solve_evp_real_2stage_double.3 \
	   man/solve_evp_complex_2stage_double.3 \
269 270
	   man/elpa_solve_evp_real_1stage_double.3 \
	   man/elpa_solve_evp_complex_1stage_double.3 \
Andreas Marek's avatar
Andreas Marek committed
271 272
	   man/elpa_solve_evp_real_2stage_double.3 \
	   man/elpa_solve_evp_complex_2stage_double.3 \
Andreas Marek's avatar
Andreas Marek committed
273
	   man/get_elpa_row_col_comms.3 \
274
	   man/get_elpa_communicators.3 \
275 276
	   man/elpa_mult_at_b_real_double.3 \
	   man/elpa_mult_at_b_real_single.3 \
277 278
	   man/elpa_mult_ah_b_complex_double.3 \
	   man/elpa_mult_ah_b_complex_single.3 \
279 280
	   man/elpa_invert_trm_real_double.3 \
	   man/elpa_invert_trm_real_single.3 \
281 282
	   man/elpa_invert_trm_complex_double.3 \
	   man/elpa_invert_trm_complex_single.3 \
283 284 285 286
	   man/elpa_solve_evp_real_double.3 \
	   man/elpa_solve_evp_real_single.3 \
	   man/elpa_solve_evp_complex_double.3 \
	   man/elpa_solve_evp_complex_single.3 \
287
	   man/elpa2_print_kernels.1
Andreas Marek's avatar
Andreas Marek committed
288

289 290
if WANT_SINGLE_PRECISION_REAL

291
dist_man_MANS += man/solve_evp_real_1stage_single.3 \
292
		 man/elpa_solve_evp_real_1stage_single.3 \
Andreas Marek's avatar
Andreas Marek committed
293
		 man/elpa_solve_evp_real_2stage_single.3 \
294
         	 man/solve_evp_real_2stage_single.3
Andreas Marek's avatar
Andreas Marek committed
295

296 297 298 299
endif

if WANT_SINGLE_PRECISION_COMPLEX

300
dist_man_MANS += man/solve_evp_complex_1stage_single.3 \
301
		 man/elpa_solve_evp_complex_1stage_single.3 \
Andreas Marek's avatar
Andreas Marek committed
302
		 man/elpa_solve_evp_complex_2stage_single.3 \
303
                 man/solve_evp_complex_2stage_single.3
304 305
endif

306 307
#needed?

308
# other files to distribute
309
filesdir = $(docdir)/examples
310
dist_files_DATA = \
311 312
  test/Fortran/read_real.F90 \
  test/Fortran/test_complex2.F90 \
313
  test/Fortran/test_complex2_default.F90 \
314 315 316
  test/Fortran/test_complex2_api.F90 \
  test/Fortran/test_complex.F90 \
  test/Fortran/test_real2.F90 \
317
  test/Fortran/test_real2_default.F90 \
318 319
  test/Fortran/test_real2_qr.F90 \
  test/Fortran/test_real2_api.F90 \
320
  test/Fortran/test_real2_banded.F90 \
321 322 323
  test/Fortran/test_real.F90 \
  test/Fortran/test_real_with_c.F90 \
  test/Fortran/test_toeplitz.F90 \
324
  test/Fortran/test_transpose_multiply_real.F90 \
325
  test/Fortran/test_transpose_multiply_complex.F90 \
326
  test/Fortran/test_cholesky_real.F90 \
327
  test/Fortran/test_invert_trm_real.F90 \
328
  test/Fortran/test_cholesky_complex.F90 \
329
  test/Fortran/test_invert_trm_complex.F90 \
330
  src/elpa2_print_kernels.F90
331

332 333
#end needed

334
dist_doc_DATA = README.md USERS_GUIDE.md INSTALL.md CONTRIBUTING.md LICENSE Changelog COPYING/COPYING COPYING/gpl.txt COPYING/lgpl.txt
335

336 337
# pkg-config stuff
pkgconfigdir = $(libdir)/pkgconfig
338
pkgconfig_DATA = @PKG_CONFIG_FILE@
339

340 341
# programs
bin_PROGRAMS = \
342
  elpa2_print_kernels@SUFFIX@
343 344

noinst_PROGRAMS = \
345
  elpa1_test_real@SUFFIX@ \
346 347
  elpa1_test_complex@SUFFIX@ \
  elpa2_test_real@SUFFIX@ \
348 349 350
  elpa2_test_real_default@SUFFIX@ \
  elpa2_test_real_qr@SUFFIX@ \
  elpa2_test_real_api@SUFFIX@ \
351
  elpa2_test_real_banded@SUFFIX@ \
Andreas Marek's avatar
Andreas Marek committed
352
  elpa2_test_complex@SUFFIX@ \
353
  elpa2_test_complex_default@SUFFIX@ \
354
  elpa2_test_complex_api@SUFFIX@ \
355 356
  elpa2_test_complex_api@SUFFIX@ \
  elpa_driver_real@SUFFIX@ \
357
  elpa_driver_complex@SUFFIX@ \
358
  elpa1_real_toeplitz@SUFFIX@ \
359
  elpa1_real_transpose_multiply@SUFFIX@ \
360
  elpa1_complex_transpose_multiply@SUFFIX@ \
361
  elpa1_real_cholesky@SUFFIX@ \
362
  elpa1_real_invert_trm@SUFFIX@ \
363
  elpa1_complex_cholesky@SUFFIX@ \
364
  elpa1_complex_invert_trm@SUFFIX@ \
365
  elpa1_test_real_with_c@SUFFIX@ \
Andreas Marek's avatar
Andreas Marek committed
366 367 368
  elpa1_test_real_c_version@SUFFIX@ \
  elpa1_test_complex_c_version@SUFFIX@ \
  elpa2_test_real_c_version@SUFFIX@ \
369
  elpa2_test_complex_c_version@SUFFIX@ \
370
  elpa_driver_real_c_version@SUFFIX@ \
371
  elpa_driver_complex_c_version@SUFFIX@
372

373 374
if WANT_SINGLE_PRECISION_COMPLEX
noinst_PROGRAMS += \
375 376
  elpa1_test_complex_single_precision@SUFFIX@ \
  elpa2_test_complex_single_precision@SUFFIX@ \
377
  elpa2_test_complex_default_single_precision@SUFFIX@ \
378
  elpa1_complex_transpose_multiply_single_precision@SUFFIX@ \
379
  elpa_driver_complex_single_precision@SUFFIX@ \
380
  elpa1_complex_cholesky_single_precision@SUFFIX@ \
381
  elpa1_complex_invert_trm_single_precision@SUFFIX@ \
382 383
  elpa2_test_complex_api_single_precision@SUFFIX@ \
  elpa_driver_complex_c_version_single_precision@SUFFIX@
384 385 386 387
endif

if WANT_SINGLE_PRECISION_REAL
noinst_PROGRAMS += \
388 389
  elpa1_test_real_single_precision@SUFFIX@ \
  elpa2_test_real_single_precision@SUFFIX@ \
390 391
  elpa2_test_real_default_single_precision@SUFFIX@ \
  elpa2_test_real_qr_single_precision@SUFFIX@ \
392
  elpa2_test_real_api_single_precision@SUFFIX@ \
393
  elpa_driver_real_single_precision@SUFFIX@ \
394 395
  elpa1_real_transpose_multiply_single_precision@SUFFIX@ \
  elpa1_real_cholesky_single_precision@SUFFIX@ \
396
  elpa1_real_invert_trm_single_precision@SUFFIX@ \
397
  elpa_driver_real_c_version_single_precision@SUFFIX@ \
398
  elpa1_real_toeplitz_single_precision@SUFFIX@
399 400 401 402
endif

if WITH_GPU_VERSION
noinst_PROGRAMS += \
403 404
  elpa1_test_complex_gpu@SUFFIX@ \
  elpa1_test_real_gpu@SUFFIX@ \
405 406
  elpa2_test_complex_gpu@SUFFIX@ \
  elpa2_test_real_gpu@SUFFIX@
407 408 409

if WANT_SINGLE_PRECISION_REAL
noinst_PROGRAMS += \
410
  elpa1_test_real_gpu_single_precision@SUFFIX@ \
411
  elpa2_test_real_gpu_single_precision@SUFFIX@
412 413 414 415
endif

if WANT_SINGLE_PRECISION_COMPLEX
noinst_PROGRAMS += \
416
  elpa1_test_complex_gpu_single_precision@SUFFIX@ \
417
  elpa2_test_complex_gpu_single_precision@SUFFIX@
418 419 420 421
endif

endif

Andreas Marek's avatar
Andreas Marek committed
422
build_lib = libelpatest@SUFFIX@.la libelpa@SUFFIX@.la
423 424 425 426 427

# library with shared sources for the test files
noinst_LTLIBRARIES += libelpatest@SUFFIX@.la
libelpatest@SUFFIX@_la_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
libelpatest@SUFFIX@_la_SOURCES = \
428 429 430 431 432 433 434 435 436
	test/shared/util.F90 \
	test/shared/read_input_parameters.F90  \
	test/shared/check_correctnes.F90 \
	test/shared/setup_mpi.F90 \
	test/shared/blacs_infrastructure.F90 \
	test/shared/prepare_matrix.F90 \
	test/shared/mod_output_types.F90 \
	test/shared/mod_from_c.F90 \
	test/shared/call_elpa1.c
Andreas Marek's avatar
Andreas Marek committed
437

438
if HAVE_REDIRECT
439
libelpatest@SUFFIX@_la_SOURCES += \
440 441
	test/shared/redir.c \
	test/shared/redirect.F90
442 443
endif

444
elpa1_test_real_c_version@SUFFIX@_SOURCES = test/C/elpa1_test_real_c_version.c
445
elpa1_test_real_c_version@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
446
elpa1_test_real_c_version@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
447
EXTRA_elpa1_test_real_c_version@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
448

449
elpa1_test_real_with_c@SUFFIX@_SOURCES = test/Fortran/test_real_with_c.F90
450
elpa1_test_real_with_c@SUFFIX@_LDADD = $(build_lib)
451
elpa1_test_real_with_c@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
452
EXTRA_elpa1_test_real_with_c@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
453

454 455 456 457 458
elpa_driver_real_c_version@SUFFIX@_SOURCES = test/C/elpa_driver_real_c_version.c
elpa_driver_real_c_version@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
elpa_driver_real_c_version@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa_driver_real_c_version@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

459
elpa1_test_complex_c_version@SUFFIX@_SOURCES = test/C/elpa1_test_complex_c_version.c
460
elpa1_test_complex_c_version@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
461
elpa1_test_complex_c_version@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
462
EXTRA_elpa1_test_complex_c_version@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
463

464 465 466 467 468
elpa_driver_complex_c_version@SUFFIX@_SOURCES = test/C/elpa_driver_complex_c_version.c
elpa_driver_complex_c_version@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
elpa_driver_complex_c_version@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa_driver_complex_c_version@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

469
elpa2_test_real_c_version@SUFFIX@_SOURCES = test/C/elpa2_test_real_c_version.c
470
elpa2_test_real_c_version@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
471
elpa2_test_real_c_version@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
472
EXTRA_elpa2_test_real_c_version@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
473

474
elpa2_test_complex_c_version@SUFFIX@_SOURCES = test/C/elpa2_test_complex_c_version.c
475
elpa2_test_complex_c_version@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
476
elpa2_test_complex_c_version@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
477
EXTRA_elpa2_test_complex_c_version@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
478

479
elpa1_test_real@SUFFIX@_SOURCES = test/Fortran/test_real.F90
480
elpa1_test_real@SUFFIX@_LDADD = $(build_lib)
481
elpa1_test_real@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
482
EXTRA_elpa1_test_real@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
483

484 485 486 487
elpa1_real_toeplitz@SUFFIX@_SOURCES = test/Fortran/test_toeplitz.F90
elpa1_real_toeplitz@SUFFIX@_LDADD = $(build_lib)
elpa1_real_toeplitz@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa1_real_toeplitz@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
488

489 490 491 492 493
elpa1_real_transpose_multiply@SUFFIX@_SOURCES = test/Fortran/test_transpose_multiply_real.F90
elpa1_real_transpose_multiply@SUFFIX@_LDADD = $(build_lib)
elpa1_real_transpose_multiply@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa1_real_transpose_multiply@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

494 495 496 497
elpa1_complex_transpose_multiply@SUFFIX@_SOURCES = test/Fortran/test_transpose_multiply_complex.F90
elpa1_complex_transpose_multiply@SUFFIX@_LDADD = $(build_lib)
elpa1_complex_transpose_multiply@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa1_complex_transpose_multiply@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
498

499 500 501 502 503
elpa1_real_cholesky@SUFFIX@_SOURCES = test/Fortran/test_cholesky_real.F90
elpa1_real_cholesky@SUFFIX@_LDADD = $(build_lib)
elpa1_real_cholesky@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa1_real_cholesky@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

504 505 506 507 508
elpa1_real_invert_trm@SUFFIX@_SOURCES = test/Fortran/test_invert_trm_real.F90
elpa1_real_invert_trm@SUFFIX@_LDADD = $(build_lib)
elpa1_real_invert_trm@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa1_real_invert_trm@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

509 510 511 512 513
elpa1_complex_cholesky@SUFFIX@_SOURCES = test/Fortran/test_cholesky_complex.F90
elpa1_complex_cholesky@SUFFIX@_LDADD = $(build_lib)
elpa1_complex_cholesky@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa1_complex_cholesky@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

514 515 516 517 518
elpa1_complex_invert_trm@SUFFIX@_SOURCES = test/Fortran/test_invert_trm_complex.F90
elpa1_complex_invert_trm@SUFFIX@_LDADD = $(build_lib)
elpa1_complex_invert_trm@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa1_complex_invert_trm@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

519
elpa2_test_real@SUFFIX@_SOURCES = test/Fortran/test_real2.F90
520
elpa2_test_real@SUFFIX@_LDADD = $(build_lib)
521
elpa2_test_real@SUFFIX@_LDFLAGS = -static
522
elpa2_test_real@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
523
EXTRA_elpa2_test_real@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
524

525 526 527 528
elpa2_test_real_default@SUFFIX@_SOURCES = test/Fortran/test_real2_default.F90
elpa2_test_real_default@SUFFIX@_LDADD = $(build_lib)
elpa2_test_real_default@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa2_test_real_default@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
529

530 531 532 533
elpa2_test_real_qr@SUFFIX@_SOURCES = test/Fortran/test_real2_qr.F90
elpa2_test_real_qr@SUFFIX@_LDADD = $(build_lib)
elpa2_test_real_qr@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa2_test_real_qr@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
534

535 536 537
elpa2_test_real_api@SUFFIX@_SOURCES = test/Fortran/test_real2_api.F90
elpa2_test_real_api@SUFFIX@_LDADD = $(build_lib)
elpa2_test_real_api@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
Andreas Marek's avatar
Typo  
Andreas Marek committed
538
EXTRA_elpa2_test_real_api@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
539

540 541 542 543 544
elpa2_test_real_banded@SUFFIX@_SOURCES = test/Fortran/test_real2_banded.F90
elpa2_test_real_banded@SUFFIX@_LDADD = $(build_lib)
elpa2_test_real_banded@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa2_test_real_banded@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

545
elpa1_test_complex@SUFFIX@_SOURCES = test/Fortran/test_complex.F90
546
elpa1_test_complex@SUFFIX@_LDADD = $(build_lib)
547
elpa1_test_complex@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
548
EXTRA_elpa1_test_complex@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
549

550
elpa2_test_complex@SUFFIX@_SOURCES = test/Fortran/test_complex2.F90
551
elpa2_test_complex@SUFFIX@_LDADD = $(build_lib)
552
elpa2_test_complex@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
553
EXTRA_elpa2_test_complex@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
554

555 556 557 558
elpa2_test_complex_default@SUFFIX@_SOURCES = test/Fortran/test_complex2_default.F90
elpa2_test_complex_default@SUFFIX@_LDADD = $(build_lib)
elpa2_test_complex_default@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa2_test_complex_default@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
559

560 561 562 563
elpa2_test_complex_api@SUFFIX@_SOURCES = test/Fortran/test_complex2_api.F90
elpa2_test_complex_api@SUFFIX@_LDADD = $(build_lib)
elpa2_test_complex_api@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa2_test_complex_api@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
564

565 566 567 568 569
elpa_driver_real@SUFFIX@_SOURCES = test/Fortran/test_driver_real.F90
elpa_driver_real@SUFFIX@_LDADD = $(build_lib)
elpa_driver_real@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa_driver_real@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

570 571 572 573 574
elpa_driver_complex@SUFFIX@_SOURCES = test/Fortran/test_driver_complex.F90
elpa_driver_complex@SUFFIX@_LDADD = $(build_lib)
elpa_driver_complex@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa_driver_complex@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

575
elpa2_print_kernels@SUFFIX@_SOURCES = src/elpa2_print_kernels.F90
576
elpa2_print_kernels@SUFFIX@_LDADD = $(build_lib)
577
elpa2_print_kernels@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
Andreas Marek's avatar
Andreas Marek committed
578

579
if WANT_SINGLE_PRECISION_REAL
580
elpa1_test_real_single_precision@SUFFIX@_SOURCES = test/Fortran/test_real_single.F90
581
elpa1_test_real_single_precision@SUFFIX@_LDADD = $(build_lib)
582
elpa1_test_real_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
583
EXTRA_elpa1_test_real_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
584

585
elpa2_test_real_single_precision@SUFFIX@_SOURCES = test/Fortran/test_real2_single.F90
586 587
elpa2_test_real_single_precision@SUFFIX@_LDFLAGS = -static
elpa2_test_real_single_precision@SUFFIX@_LDADD = $(build_lib)
588
elpa2_test_real_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
589
EXTRA_elpa2_test_real_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
590

591 592 593 594 595
elpa_driver_real_single_precision@SUFFIX@_SOURCES = test/Fortran/test_driver_real_single.F90
elpa_driver_real_single_precision@SUFFIX@_LDADD = $(build_lib)
elpa_driver_real_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa_driver_real_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

596
elpa1_real_toeplitz_single_precision@SUFFIX@_SOURCES = test/Fortran/test_toeplitz_single.F90
597 598 599 600
elpa1_real_toeplitz_single_precision@SUFFIX@_LDADD = $(build_lib)
elpa1_real_toeplitz_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa1_real_toeplitz_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

601 602 603 604 605
elpa1_real_transpose_multiply_single_precision@SUFFIX@_SOURCES = test/Fortran/test_transpose_multiply_real_single.F90
elpa1_real_transpose_multiply_single_precision@SUFFIX@_LDADD = $(build_lib)
elpa1_real_transpose_multiply_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa1_real_transpose_multiply_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

606 607 608 609 610
elpa_driver_real_c_version_single_precision@SUFFIX@_SOURCES = test/C/elpa_driver_real_c_version_single.c
elpa_driver_real_c_version_single_precision@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
elpa_driver_real_c_version_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa_driver_real_c_version_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

611 612 613 614 615
elpa1_real_cholesky_single_precision@SUFFIX@_SOURCES = test/Fortran/test_cholesky_real_single.F90
elpa1_real_cholesky_single_precision@SUFFIX@_LDADD = $(build_lib)
elpa1_real_cholesky_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa1_real_cholesky_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

616 617 618 619 620
elpa1_real_invert_trm_single_precision@SUFFIX@_SOURCES = test/Fortran/test_invert_trm_real_single.F90
elpa1_real_invert_trm_single_precision@SUFFIX@_LDADD = $(build_lib)
elpa1_real_invert_trm_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa1_real_invert_trm_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

621
elpa2_test_real_default_single_precision@SUFFIX@_SOURCES = test/Fortran/test_real2_default_single.F90
622 623 624 625
elpa2_test_real_default_single_precision@SUFFIX@_LDADD = $(build_lib)
#elpa2_test_real_default_single_precision@SUFFIX@_LDFLAGS = -static
elpa2_test_real_default_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa2_test_real_default_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
626

627 628 629 630 631
elpa2_test_real_qr_single_precision@SUFFIX@_SOURCES = \
	        test/Fortran/test_real2_qr_single.F90
elpa2_test_real_qr_single_precision@SUFFIX@_LDADD = $(build_lib)
elpa2_test_real_qr_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa2_test_real_qr_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
632

633 634 635 636
elpa2_test_real_api_single_precision@SUFFIX@_SOURCES = test/Fortran/test_real2_api_single.F90
elpa2_test_real_api_single_precision@SUFFIX@_LDADD = $(build_lib)
elpa2_test_real_api_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa2_test_real_api_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
637 638 639
endif

if WANT_SINGLE_PRECISION_COMPLEX
640
elpa1_test_complex_single_precision@SUFFIX@_SOURCES = test/Fortran/test_complex_single.F90
641
elpa1_test_complex_single_precision@SUFFIX@_LDADD = $(build_lib)
642
elpa1_test_complex_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
643
EXTRA_elpa1_test_complex_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
644

645 646 647 648 649
elpa_driver_complex_single_precision@SUFFIX@_SOURCES = test/Fortran/test_driver_complex_single.F90
elpa_driver_complex_single_precision@SUFFIX@_LDADD = $(build_lib)
elpa_driver_complex_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa_driver_complex_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

650 651 652 653 654
elpa_driver_complex_c_version_single_precision@SUFFIX@_SOURCES = test/C/elpa_driver_complex_c_version_single.c
elpa_driver_complex_c_version_single_precision@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
elpa_driver_complex_c_version_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa_driver_complex_c_version_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

655
elpa2_test_complex_single_precision@SUFFIX@_SOURCES = test/Fortran/test_complex2_single.F90
656
elpa2_test_complex_single_precision@SUFFIX@_LDADD = $(build_lib)
657
elpa2_test_complex_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
658
EXTRA_elpa2_test_complex_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
659

660 661 662 663 664
elpa2_test_complex_default_single_precision@SUFFIX@_SOURCES = test/Fortran/test_complex2_default_single.F90 $(shared_sources) $(redirect_sources)
elpa2_test_complex_default_single_precision@SUFFIX@_LDADD = $(build_lib)
#elpa2_test_complex_default_single_precision@SUFFIX@_LDFLAGS = -static
elpa2_test_complex_default_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa2_test_complex_default_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
665

666 667 668 669 670 671 672 673 674 675
elpa1_complex_transpose_multiply_single_precision@SUFFIX@_SOURCES = test/Fortran/test_transpose_multiply_complex_single.F90
elpa1_complex_transpose_multiply_single_precision@SUFFIX@_LDADD = $(build_lib)
elpa1_complex_transpose_multiply_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa1_complex_transpose_multiply_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

elpa1_complex_cholesky_single_precision@SUFFIX@_SOURCES = test/Fortran/test_cholesky_complex_single.F90
elpa1_complex_cholesky_single_precision@SUFFIX@_LDADD = $(build_lib)
elpa1_complex_cholesky_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa1_complex_cholesky_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

676 677 678 679 680
elpa1_complex_invert_trm_single_precision@SUFFIX@_SOURCES = test/Fortran/test_invert_trm_complex_single.F90
elpa1_complex_invert_trm_single_precision@SUFFIX@_LDADD = $(build_lib)
elpa1_complex_invert_trm_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa1_complex_invert_trm_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

681 682 683 684
elpa2_test_complex_api_single_precision@SUFFIX@_SOURCES = test/Fortran/test_complex2_api_single.F90
elpa2_test_complex_api_single_precision@SUFFIX@_LDADD = $(build_lib)
elpa2_test_complex_api_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa2_test_complex_api_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
685 686 687
endif

if WITH_GPU_VERSION
688 689 690 691 692 693 694 695 696 697
elpa1_test_real_gpu@SUFFIX@_SOURCES = test/Fortran/test_real_gpu.F90
elpa1_test_real_gpu@SUFFIX@_LDADD = $(build_lib)
elpa1_test_real_gpu@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa1_test_real_gpu@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

elpa1_test_complex_gpu@SUFFIX@_SOURCES = test/Fortran/test_complex_gpu.F90
elpa1_test_complex_gpu@SUFFIX@_LDADD = $(build_lib)
elpa1_test_complex_gpu@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa1_test_complex_gpu@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

698 699 700 701
elpa2_test_real_gpu@SUFFIX@_SOURCES = test/Fortran/test_real2_gpu.F90
elpa2_test_real_gpu@SUFFIX@_LDADD = $(build_lib)
elpa2_test_real_gpu@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa2_test_real_gpu@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
702

703 704 705 706
elpa2_test_complex_gpu@SUFFIX@_SOURCES = test/Fortran/test_complex2_gpu.F90
elpa2_test_complex_gpu@SUFFIX@_LDADD = $(build_lib)
elpa2_test_complex_gpu@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa2_test_complex_gpu@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
707 708

if WANT_SINGLE_PRECISION_REAL
709 710 711 712 713
elpa1_test_real_gpu_single_precision@SUFFIX@_SOURCES = test/Fortran/test_real_gpu_single.F90
elpa1_test_real_gpu_single_precision@SUFFIX@_LDADD = $(build_lib)
elpa1_test_real_gpu_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa1_test_real_gpu_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

714 715 716 717
elpa2_test_real_gpu_single_precision@SUFFIX@_SOURCES = test/Fortran/test_real2_gpu_single.F90
elpa2_test_real_gpu_single_precision@SUFFIX@_LDADD = $(build_lib)
elpa2_test_real_gpu_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa2_test_real_gpu_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
718 719 720
endif

if WANT_SINGLE_PRECISION_COMPLEX
721 722 723 724 725
elpa1_test_complex_gpu_single_precision@SUFFIX@_SOURCES = test/Fortran/test_complex_gpu_single.F90
elpa1_test_complex_gpu_single_precision@SUFFIX@_LDADD = $(build_lib)
elpa1_test_complex_gpu_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa1_test_complex_gpu_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

726 727 728 729
elpa2_test_complex_gpu_single_precision@SUFFIX@_SOURCES = test/Fortran/test_complex2_gpu_single.F90
elpa2_test_complex_gpu_single_precision@SUFFIX@_LDADD = $(build_lib)
elpa2_test_complex_gpu_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa2_test_complex_gpu_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
730 731 732
endif

endif
733
#  elpa2_test_real_default_kernel_qr_decomposition@SUFFIX@.sh
734

735
check_SCRIPTS = \
736 737
  elpa1_test_real@SUFFIX@.sh \
  elpa2_test_real@SUFFIX@.sh \
738
  elpa2_test_real_default@SUFFIX@.sh \
739 740
  elpa1_test_complex@SUFFIX@.sh \
  elpa2_test_complex@SUFFIX@.sh \
741 742 743
  elpa2_test_real_qr@SUFFIX@.sh \
  elpa2_test_complex_default@SUFFIX@.sh \
  elpa2_test_real_api@SUFFIX@.sh \
744
  elpa2_test_real_banded@SUFFIX@.sh \
745
  elpa2_test_complex_api@SUFFIX@.sh \
746
  elpa_driver_real@SUFFIX@.sh \
747
  elpa_driver_complex@SUFFIX@.sh \
748
  elpa1_real_toeplitz@SUFFIX@.sh \
749
  elpa1_test_real_with_c@SUFFIX@.sh \
750
  elpa1_real_cholesky@SUFFIX@.sh \
751
  elpa1_real_invert_trm@SUFFIX@.sh \
752
  elpa1_real_transpose_multiply@SUFFIX@.sh \
753
  elpa1_complex_cholesky@SUFFIX@.sh \
754
  elpa1_complex_invert_trm@SUFFIX@.sh \
755
  elpa1_complex_transpose_multiply@SUFFIX@.sh \
756
  elpa2_print_kernels@SUFFIX@ \
757 758 759
  elpa1_test_real_c_version@SUFFIX@.sh \
  elpa1_test_complex_c_version@SUFFIX@.sh \
  elpa2_test_real_c_version@SUFFIX@.sh \
760
  elpa2_test_complex_c_version@SUFFIX@.sh \
761
  elpa_driver_real_c_version@SUFFIX@.sh \
762
  elpa_driver_complex_c_version@SUFFIX@.sh
Andreas Marek's avatar
Andreas Marek committed
763

764 765
if WANT_SINGLE_PRECISION_REAL
check_SCRIPTS += \
766 767
  elpa1_test_real_single_precision@SUFFIX@.sh \
  elpa2_test_real_single_precision@SUFFIX@.sh \
768 769
  elpa2_test_real_default_single_precision@SUFFIX@.sh \
  elpa2_test_real_qr_single_precision@SUFFIX@.sh \
770
  elpa_driver_real_single_precision@SUFFIX@.sh \
771
  elpa1_real_cholesky_single_precision@SUFFIX@.sh \
772
  elpa1_real_invert_trm_single_precision@SUFFIX@.sh \
773
  elpa1_real_transpose_multiply_single_precision@SUFFIX@.sh \
774 775
  elpa2_test_real_api_single_precision@SUFFIX@.sh \
  elpa_driver_real_c_version_single_precision@SUFFIX@.sh
776 777 778 779
endif

if WANT_SINGLE_PRECISION_COMPLEX
check_SCRIPTS += \
780 781
  elpa1_test_complex_single_precision@SUFFIX@.sh \
  elpa2_test_complex_single_precision@SUFFIX@.sh \
782
  elpa2_test_complex_default_single_precision@SUFFIX@.sh \
783
  elpa1_complex_cholesky_single_precision@SUFFIX@.sh \
784
  elpa_driver_complex_single_precision@SUFFIX@.sh \
785
  elpa1_complex_invert_trm_single_precision@SUFFIX@.sh \
786
  elpa1_complex_transpose_multiply_single_precision@SUFFIX@.sh \
787 788
  elpa2_test_complex_api_single_precision@SUFFIX@.sh \
  elpa_driver_complex_c_version_single_precision@SUFFIX@.sh