Makefile.am 39.7 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/elpa2_utilities.F90 \
19
        src/elpa_utilities.F90
20 21 22

# internal parts
noinst_LTLIBRARIES += libelpa@SUFFIX@_private.la
23
libelpa@SUFFIX@_private_la_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
24
libelpa@SUFFIX@_private_la_SOURCES = \
25
        src/mod_precision.F90 \
26 27 28 29 30 31 32
        src/mod_mpi.F90 \
        src/mod_mpi_stubs.F90 \
        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 \
33
        src/elpa1_compute_private.F90 \
34
        src/elpa2_compute.F90 \
35 36
        src/elpa2_kernels/mod_fortran_interfaces.F90 \
        src/elpa2_kernels/mod_single_hh_trafo_real.F90 \
37
        src/elpa_c_interface.F90 \
38 39 40 41
        src/check_for_gpu.F90 \
        src/mod_cuda.F90 \
        src/interface_c_kernel.F90 \
        src/mod_pack_unpack_real_gpu.F90 \
42
        src/elpa_qr/qr_utils.F90 \
43
        src/elpa_qr/elpa_qrkernels.F90 \
44 45 46
        src/elpa_qr/elpa_pdlarfb.F90 \
        src/elpa_qr/elpa_pdgeqrf.F90

47
EXTRA_libelpa@SUFFIX@_private_la_DEPENDENCIES = \
48 49
        src/elpa_reduce_add_vectors.X90 \
        src/elpa_transpose_vectors.X90 \
50 51 52 53
        src/elpa1_compute_complex_template.X90 \
        src/elpa1_compute_real_template.X90 \
        src/elpa2_compute_real_template.X90 \
        src/elpa2_compute_complex_template.X90 \
54
	src/elpa2_kernels/elpa2_kernels_real_template.X90 \
55
	src/elpa2_kernels/elpa2_kernels_complex_template.X90 \
56
	src/elpa2_kernels/elpa2_kernels_simple_template.X90 \
57
        src/redist_band.X90
58

59
lib_LTLIBRARIES = libelpa@SUFFIX@.la
60
libelpa@SUFFIX@_la_LINK = $(FCLINK) $(AM_LDFLAGS) -version-info $(ELPA_SO_VERSION)
61 62
libelpa@SUFFIX@_la_LIBADD = libelpa@SUFFIX@_public.la libelpa@SUFFIX@_private.la
libelpa@SUFFIX@_la_SOURCES =
63

64

65
if HAVE_DETAILED_TIMINGS
66
  libelpa@SUFFIX@_private_la_SOURCES += \
67 68 69 70 71 72 73 74 75
        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
76 77
endif

78
if WITH_GPU_VERSION
79 80
  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
81 82
endif

83
if !WITH_MPI
84
  libelpa@SUFFIX@_private_la_SOURCES += src/mod_time_c.F90
85
if !HAVE_DETAILED_TIMINGS
86
  libelpa@SUFFIX@_private_la_SOURCES += src/ftimings/time.c
87 88 89
endif
endif

Andreas Marek's avatar
Andreas Marek committed
90
if WITH_REAL_GENERIC_KERNEL
91
  libelpa@SUFFIX@_private_la_SOURCES +=  src/elpa2_kernels/elpa2_kernels_real.F90
92 93
endif

Andreas Marek's avatar
Andreas Marek committed
94
if WITH_COMPLEX_GENERIC_KERNEL
95
  libelpa@SUFFIX@_private_la_SOURCES +=  src/elpa2_kernels/elpa2_kernels_complex.F90
96 97
endif

Andreas Marek's avatar
Andreas Marek committed
98
if WITH_REAL_GENERIC_SIMPLE_KERNEL
99
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_simple.F90
100 101
endif

Andreas Marek's avatar
Andreas Marek committed
102
if WITH_COMPLEX_GENERIC_SIMPLE_KERNEL
103
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_simple.F90
104 105
endif

Andreas Marek's avatar
Andreas Marek committed
106
if WITH_REAL_BGP_KERNEL
107
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_bgp.f90
108 109
endif

Andreas Marek's avatar
Andreas Marek committed
110
if WITH_REAL_BGQ_KERNEL
111
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_bgq.f90
112 113
endif

114
if WITH_REAL_SSE_ASSEMBLY_KERNEL
115
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_asm_x86_64_double_precision.s
116
if WANT_SINGLE_PRECISION_REAL
117
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_asm_x86_64_single_precision.s
118
endif
119

Andreas Marek's avatar
Andreas Marek committed
120
else
121
if WITH_COMPLEX_SSE_ASSEMBLY_KERNEL
122
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_asm_x86_64_double_precision.s
123
if WANT_SINGLE_PRECISION_COMPLEX
124
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_asm_x86_64_single_precision.s
125
endif
126 127
endif
endif
Andreas Marek's avatar
Andreas Marek committed
128

129
if WITH_REAL_SSE_BLOCK2_KERNEL
130
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_sse_2hv_double_precision.c
131
if WANT_SINGLE_PRECISION_REAL
132
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_sse_2hv_single_precision.c
133
endif
134 135
endif

Andreas Marek's avatar
Andreas Marek committed
136
if WITH_REAL_AVX_BLOCK2_KERNEL
137
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_2hv_double_precision.c
138
if WANT_SINGLE_PRECISION_REAL
139
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_2hv_single_precision.c
140
endif
141 142
else
if WITH_REAL_AVX2_BLOCK2_KERNEL
143
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_2hv_double_precision.c
144
if WANT_SINGLE_PRECISION_REAL
145
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_2hv_single_precision.c
146
endif
147
endif
148 149
endif

150
if WITH_REAL_SSE_BLOCK4_KERNEL
151
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_sse_4hv_double_precision.c
152
if WANT_SINGLE_PRECISION_REAL
153
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_sse_4hv_single_precision.c
154
endif
155 156
endif

Andreas Marek's avatar
Andreas Marek committed
157
if WITH_REAL_AVX_BLOCK4_KERNEL
158
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_4hv_double_precision.c
159
if WANT_SINGLE_PRECISION_REAL
160
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_4hv_single_precision.c
161
endif
162 163
else
if WITH_REAL_AVX2_BLOCK4_KERNEL
164
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_4hv_double_precision.c
165
if WANT_SINGLE_PRECISION_REAL
166
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_4hv_single_precision.c
167
endif
168
endif
169 170
endif

171
if WITH_REAL_SSE_BLOCK6_KERNEL
172
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_sse_6hv_double_precision.c
173
if WANT_SINGLE_PRECISION_REAL
174
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_sse_6hv_single_precision.c
175
endif
176 177
endif

Andreas Marek's avatar
Andreas Marek committed
178
if WITH_REAL_AVX_BLOCK6_KERNEL
179
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_6hv_double_precision.c
180
if WANT_SINGLE_PRECISION_REAL
181
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_6hv_single_precision.c
182
endif
183 184
else
if WITH_REAL_AVX2_BLOCK6_KERNEL
185
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_6hv_double_precision.c
186
if WANT_SINGLE_PRECISION_REAL
187
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_avx-avx2_6hv_single_precision.c
188
endif
189
endif
190 191
endif

192
if WITH_COMPLEX_SSE_BLOCK1_KERNEL
193
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_sse_1hv_double_precision.c
194
if WANT_SINGLE_PRECISION_COMPLEX
195
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_sse_1hv_single_precision.c
196
endif
197 198
endif

Andreas Marek's avatar
Andreas Marek committed
199
if WITH_COMPLEX_AVX_BLOCK1_KERNEL
200
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_avx-avx2_1hv_double_precision.c
201
if WANT_SINGLE_PRECISION_COMPLEX
202
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_avx-avx2_1hv_single_precision.c
203
endif
204 205
else
if WITH_COMPLEX_AVX2_BLOCK1_KERNEL
206
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_avx-avx2_1hv_double_precision.c
207
if WANT_SINGLE_PRECISION_COMPLEX
208
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_avx-avx2_1hv_single_precision.c
209
endif
210
endif
211 212
endif

213
if WITH_COMPLEX_SSE_BLOCK2_KERNEL
214
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_sse_2hv_double_precision.c
215
if WANT_SINGLE_PRECISION_COMPLEX
216
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_sse_2hv_single_precision.c
217
endif
218 219
endif

Andreas Marek's avatar
Andreas Marek committed
220
if WITH_COMPLEX_AVX_BLOCK2_KERNEL
221
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_avx-avx2_2hv_double_precision.c
222
if WANT_SINGLE_PRECISION_COMPLEX
223
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_avx-avx2_2hv_single_precision.c
224
endif
225 226
else
if WITH_COMPLEX_AVX2_BLOCK2_KERNEL
227
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_avx-avx2_2hv_double_precision.c
228
if WANT_SINGLE_PRECISION_COMPLEX
229
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_avx-avx2_2hv_single_precision.c
230
endif
231
endif
232 233
endif

234
.cu.lo:
235
	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
236

237 238 239
include generated_headers.am
BUILT_SOURCES = $(generated_headers)

240
# install public Fortran modules files in the include/ dir
241
elpa_includedir = $(includedir)/elpa@SUFFIX@-@PACKAGE_VERSION@
242
nobase_elpa_include_HEADERS = $(wildcard modules/*)
Andreas Marek's avatar
Andreas Marek committed
243
nobase_elpa_include_HEADERS += elpa/elpa.h elpa/elpa_kernel_constants.h elpa/elpa_generated.h
244

Lorenz Huedepohl's avatar
Lorenz Huedepohl committed
245
dist_man_MANS = \
246
           man/solve_evp_real.3 \
247
	   man/solve_evp_real_1stage_double.3 \
Andreas Marek's avatar
Andreas Marek committed
248
	   man/solve_evp_complex.3 \
249 250 251
	   man/solve_evp_complex_1stage_double.3 \
	   man/solve_evp_real_2stage_double.3 \
	   man/solve_evp_complex_2stage_double.3 \
Andreas Marek's avatar
Andreas Marek committed
252
	   man/get_elpa_row_col_comms.3 \
253
	   man/get_elpa_communicators.3 \
254 255
	   man/elpa_mult_at_b_real_double.3 \
	   man/elpa_mult_at_b_real_single.3 \
256 257
	   man/elpa_mult_ah_b_complex_double.3 \
	   man/elpa_mult_ah_b_complex_single.3 \
258 259
	   man/elpa_invert_trm_real_double.3 \
	   man/elpa_invert_trm_real_single.3 \
260 261
	   man/elpa_invert_trm_complex_double.3 \
	   man/elpa_invert_trm_complex_single.3 \
262 263 264 265
	   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 \
266
	   man/elpa2_print_kernels.1
Andreas Marek's avatar
Andreas Marek committed
267

268 269
if WANT_SINGLE_PRECISION_REAL

270
dist_man_MANS += man/solve_evp_real_1stage_single.3 \
271 272 273 274 275
	    man/solve_evp_real_2stage_single.3
endif

if WANT_SINGLE_PRECISION_COMPLEX

276
dist_man_MANS += man/solve_evp_complex_1stage_single.3 \
277 278 279
	    man/solve_evp_complex_2stage_single.3
endif

280 281
#needed?

282
# other files to distribute
283
filesdir = $(docdir)/examples
284
dist_files_DATA = \
285 286
  test/Fortran/read_real.F90 \
  test/Fortran/test_complex2.F90 \
287
  test/Fortran/test_complex2_default.F90 \
288 289 290
  test/Fortran/test_complex2_api.F90 \
  test/Fortran/test_complex.F90 \
  test/Fortran/test_real2.F90 \
291
  test/Fortran/test_real2_default.F90 \
292 293 294 295 296
  test/Fortran/test_real2_qr.F90 \
  test/Fortran/test_real2_api.F90 \
  test/Fortran/test_real.F90 \
  test/Fortran/test_real_with_c.F90 \
  test/Fortran/test_toeplitz.F90 \
297
  test/Fortran/test_transpose_multiply_real.F90 \
298
  test/Fortran/test_transpose_multiply_complex.F90 \
299
  test/Fortran/test_cholesky_real.F90 \
300
  test/Fortran/test_invert_trm_real.F90 \
301
  test/Fortran/test_cholesky_complex.F90 \
302
  test/Fortran/test_invert_trm_complex.F90 \
303
  src/elpa2_print_kernels.F90
304

305 306
#end needed

307
dist_doc_DATA = README.md USERS_GUIDE.md INSTALL.md CONTRIBUTING.md LICENSE Changelog COPYING/COPYING COPYING/gpl.txt COPYING/lgpl.txt
308

309 310
# pkg-config stuff
pkgconfigdir = $(libdir)/pkgconfig
311
pkgconfig_DATA = @PKG_CONFIG_FILE@
312

313 314
# programs
bin_PROGRAMS = \
315
  elpa2_print_kernels@SUFFIX@
316 317

noinst_PROGRAMS = \
318
  elpa1_test_real@SUFFIX@ \
319 320
  elpa1_test_complex@SUFFIX@ \
  elpa2_test_real@SUFFIX@ \
321 322 323
  elpa2_test_real_default@SUFFIX@ \
  elpa2_test_real_qr@SUFFIX@ \
  elpa2_test_real_api@SUFFIX@ \
Andreas Marek's avatar
Andreas Marek committed
324
  elpa2_test_complex@SUFFIX@ \
325
  elpa2_test_complex_default@SUFFIX@ \
326
  elpa2_test_complex_api@SUFFIX@ \
327 328
  elpa2_test_complex_api@SUFFIX@ \
  elpa_driver_real@SUFFIX@ \
329
  elpa_driver_complex@SUFFIX@ \
330
  elpa1_real_toeplitz@SUFFIX@ \
331
  elpa1_real_transpose_multiply@SUFFIX@ \
332
  elpa1_complex_transpose_multiply@SUFFIX@ \
333
  elpa1_real_cholesky@SUFFIX@ \
334
  elpa1_real_invert_trm@SUFFIX@ \
335
  elpa1_complex_cholesky@SUFFIX@ \
336
  elpa1_complex_invert_trm@SUFFIX@ \
337
  elpa1_test_real_with_c@SUFFIX@ \
Andreas Marek's avatar
Andreas Marek committed
338 339 340
  elpa1_test_real_c_version@SUFFIX@ \
  elpa1_test_complex_c_version@SUFFIX@ \
  elpa2_test_real_c_version@SUFFIX@ \
341
  elpa2_test_complex_c_version@SUFFIX@ \
342
  elpa_driver_real_c_version@SUFFIX@ \
343
  elpa_driver_complex_c_version@SUFFIX@
344

345 346
if WANT_SINGLE_PRECISION_COMPLEX
noinst_PROGRAMS += \
347 348
  elpa1_test_complex_single_precision@SUFFIX@ \
  elpa2_test_complex_single_precision@SUFFIX@ \
349
  elpa2_test_complex_default_single_precision@SUFFIX@ \
350
  elpa1_complex_transpose_multiply_single_precision@SUFFIX@ \
351
  elpa_driver_complex_single_precision@SUFFIX@ \
352
  elpa1_complex_cholesky_single_precision@SUFFIX@ \
353
  elpa1_complex_invert_trm_single_precision@SUFFIX@ \
354 355
  elpa2_test_complex_api_single_precision@SUFFIX@ \
  elpa_driver_complex_c_version_single_precision@SUFFIX@
356 357 358 359
endif

if WANT_SINGLE_PRECISION_REAL
noinst_PROGRAMS += \
360 361
  elpa1_test_real_single_precision@SUFFIX@ \
  elpa2_test_real_single_precision@SUFFIX@ \
362 363
  elpa2_test_real_default_single_precision@SUFFIX@ \
  elpa2_test_real_qr_single_precision@SUFFIX@ \
364
  elpa2_test_real_api_single_precision@SUFFIX@ \
365
  elpa_driver_real_single_precision@SUFFIX@ \
366 367
  elpa1_real_transpose_multiply_single_precision@SUFFIX@ \
  elpa1_real_cholesky_single_precision@SUFFIX@ \
368
  elpa1_real_invert_trm_single_precision@SUFFIX@ \
369
  elpa_driver_real_c_version_single_precision@SUFFIX@ \
370
  elpa1_real_toeplitz_single_precision@SUFFIX@
371 372 373 374
endif

if WITH_GPU_VERSION
noinst_PROGRAMS += \
375 376
  elpa2_test_complex_gpu@SUFFIX@ \
  elpa2_test_real_gpu@SUFFIX@
377 378 379

if WANT_SINGLE_PRECISION_REAL
noinst_PROGRAMS += \
380
  elpa2_test_real_gpu_single_precision@SUFFIX@
381 382 383 384
endif

if WANT_SINGLE_PRECISION_COMPLEX
noinst_PROGRAMS += \
385
  elpa2_test_complex_gpu_single_precision@SUFFIX@
386 387 388 389
endif

endif

Andreas Marek's avatar
Andreas Marek committed
390
build_lib = libelpatest@SUFFIX@.la libelpa@SUFFIX@.la
391 392 393 394 395

# 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 = \
396 397 398 399 400 401 402 403 404
	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
405

406
if HAVE_REDIRECT
407
libelpatest@SUFFIX@_la_SOURCES += \
408 409
	test/shared/redir.c \
	test/shared/redirect.F90
410 411
endif

412
elpa1_test_real_c_version@SUFFIX@_SOURCES = test/C/elpa1_test_real_c_version.c
413
elpa1_test_real_c_version@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
414
elpa1_test_real_c_version@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
415
EXTRA_elpa1_test_real_c_version@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
416

417
elpa1_test_real_with_c@SUFFIX@_SOURCES = test/Fortran/test_real_with_c.F90
418
elpa1_test_real_with_c@SUFFIX@_LDADD = $(build_lib)
419
elpa1_test_real_with_c@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
420
EXTRA_elpa1_test_real_with_c@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
421

422 423 424 425 426
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

427
elpa1_test_complex_c_version@SUFFIX@_SOURCES = test/C/elpa1_test_complex_c_version.c
428
elpa1_test_complex_c_version@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
429
elpa1_test_complex_c_version@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
430
EXTRA_elpa1_test_complex_c_version@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
431

432 433 434 435 436
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

437
elpa2_test_real_c_version@SUFFIX@_SOURCES = test/C/elpa2_test_real_c_version.c
438
elpa2_test_real_c_version@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
439
elpa2_test_real_c_version@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
440
EXTRA_elpa2_test_real_c_version@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
441

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

447
elpa1_test_real@SUFFIX@_SOURCES = test/Fortran/test_real.F90
448
elpa1_test_real@SUFFIX@_LDADD = $(build_lib)
449
elpa1_test_real@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
450
EXTRA_elpa1_test_real@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
451

452 453 454 455
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
456

457 458 459 460 461
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

462 463 464 465
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
466

467 468 469 470 471
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

472 473 474 475 476
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

477 478 479 480 481
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

482 483 484 485 486
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

487
elpa2_test_real@SUFFIX@_SOURCES = test/Fortran/test_real2.F90
488
elpa2_test_real@SUFFIX@_LDADD = $(build_lib)
489
elpa2_test_real@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
490
EXTRA_elpa2_test_real@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
491

492 493 494 495
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
496

497 498 499 500
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
501

502 503 504
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
505
EXTRA_elpa2_test_real_api@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
506

507
elpa1_test_complex@SUFFIX@_SOURCES = test/Fortran/test_complex.F90
508
elpa1_test_complex@SUFFIX@_LDADD = $(build_lib)
509
elpa1_test_complex@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
510
EXTRA_elpa1_test_complex@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
511

512
elpa2_test_complex@SUFFIX@_SOURCES = test/Fortran/test_complex2.F90
513
elpa2_test_complex@SUFFIX@_LDADD = $(build_lib)
514
elpa2_test_complex@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
515
EXTRA_elpa2_test_complex@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
516

517 518 519 520
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
521

522 523 524 525
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
526

527 528 529 530 531
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

532 533 534 535 536
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

537
elpa2_print_kernels@SUFFIX@_SOURCES = src/elpa2_print_kernels.F90
538
elpa2_print_kernels@SUFFIX@_LDADD = $(build_lib)
539
elpa2_print_kernels@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
Andreas Marek's avatar
Andreas Marek committed
540

541
if WANT_SINGLE_PRECISION_REAL
542
elpa1_test_real_single_precision@SUFFIX@_SOURCES = test/Fortran/test_real_single.F90
543
elpa1_test_real_single_precision@SUFFIX@_LDADD = $(build_lib)
544
elpa1_test_real_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
545
EXTRA_elpa1_test_real_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
546

547
elpa2_test_real_single_precision@SUFFIX@_SOURCES = test/Fortran/test_real2_single.F90
548 549
elpa2_test_real_single_precision@SUFFIX@_LDFLAGS = -static
elpa2_test_real_single_precision@SUFFIX@_LDADD = $(build_lib)
550
elpa2_test_real_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
551
EXTRA_elpa2_test_real_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
552

553 554 555 556 557
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

558
elpa1_real_toeplitz_single_precision@SUFFIX@_SOURCES = test/Fortran/test_toeplitz_single.F90
559 560 561 562
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

563 564 565 566 567
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

568 569 570 571 572
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

573 574 575 576 577
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

578 579 580 581 582
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

583
elpa2_test_real_default_single_precision@SUFFIX@_SOURCES = test/Fortran/test_real2_default_single.F90
584 585 586 587
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
588

589 590 591 592 593
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
594

595 596 597 598
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
599 600 601
endif

if WANT_SINGLE_PRECISION_COMPLEX
602
elpa1_test_complex_single_precision@SUFFIX@_SOURCES = test/Fortran/test_complex_single.F90
603
elpa1_test_complex_single_precision@SUFFIX@_LDADD = $(build_lib)
604
elpa1_test_complex_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
605
EXTRA_elpa1_test_complex_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
606

607 608 609 610 611
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

612 613 614 615 616
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

617
elpa2_test_complex_single_precision@SUFFIX@_SOURCES = test/Fortran/test_complex2_single.F90
618
elpa2_test_complex_single_precision@SUFFIX@_LDADD = $(build_lib)
619
elpa2_test_complex_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
620
EXTRA_elpa2_test_complex_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
621

622 623 624 625 626
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
627

628 629 630 631 632 633 634 635 636 637
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

638 639 640 641 642
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

643 644 645 646
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
647 648 649
endif

if WITH_GPU_VERSION
650 651 652 653
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
654

655 656 657 658
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
659 660

if WANT_SINGLE_PRECISION_REAL
661 662 663 664
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
665 666 667
endif

if WANT_SINGLE_PRECISION_COMPLEX
668 669 670 671
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
672 673 674
endif

endif
675
#  elpa2_test_real_default_kernel_qr_decomposition@SUFFIX@.sh
676

677
check_SCRIPTS = \
678 679
  elpa1_test_real@SUFFIX@.sh \
  elpa2_test_real@SUFFIX@.sh \
680
  elpa2_test_real_default@SUFFIX@.sh \
681 682
  elpa1_test_complex@SUFFIX@.sh \
  elpa2_test_complex@SUFFIX@.sh \
683 684 685 686
  elpa2_test_real_qr@SUFFIX@.sh \
  elpa2_test_complex_default@SUFFIX@.sh \
  elpa2_test_real_api@SUFFIX@.sh \
  elpa2_test_complex_api@SUFFIX@.sh \
687
  elpa_driver_real@SUFFIX@.sh \
688
  elpa_driver_complex@SUFFIX@.sh \
689
  elpa1_real_toeplitz@SUFFIX@.sh \
690
  elpa1_test_real_with_c@SUFFIX@.sh \
691
  elpa1_real_cholesky@SUFFIX@.sh \
692
  elpa1_real_invert_trm@SUFFIX@.sh \
693
  elpa1_real_transpose_multiply@SUFFIX@.sh \
694
  elpa1_complex_cholesky@SUFFIX@.sh \
695
  elpa1_complex_invert_trm@SUFFIX@.sh \
696
  elpa1_complex_transpose_multiply@SUFFIX@.sh \
697
  elpa2_print_kernels@SUFFIX@ \
698 699 700
  elpa1_test_real_c_version@SUFFIX@.sh \
  elpa1_test_complex_c_version@SUFFIX@.sh \
  elpa2_test_real_c_version@SUFFIX@.sh \
701
  elpa2_test_complex_c_version@SUFFIX@.sh \
702
  elpa_driver_real_c_version@SUFFIX@.sh \
703
  elpa_driver_complex_c_version@SUFFIX@.sh
Andreas Marek's avatar
Andreas Marek committed
704

705 706
if WANT_SINGLE_PRECISION_REAL
check_SCRIPTS += \
707 708
  elpa1_test_real_single_precision@SUFFIX@.sh \
  elpa2_test_real_single_precision@SUFFIX@.sh \
709 710
  elpa2_test_real_default_single_precision@SUFFIX@.sh \
  elpa2_test_real_qr_single_precision@SUFFIX@.sh \
711
  elpa_driver_real_single_precision@SUFFIX@.sh \
712
  elpa1_real_cholesky_single_precision@SUFFIX@.sh \
713
  elpa1_real_invert_trm_single_precision@SUFFIX@.sh \
714
  elpa1_real_transpose_multiply_single_precision@SUFFIX@.sh \
715 716
  elpa2_test_real_api_single_precision@SUFFIX@.sh \
  elpa_driver_real_c_version_single_precision@SUFFIX@.sh
717 718 719 720
endif

if WANT_SINGLE_PRECISION_COMPLEX
check_SCRIPTS += \
721 722
  elpa1_test_complex_single_precision@SUFFIX@.sh \
  elpa2_test_complex_single_precision@SUFFIX@.sh \
723
  elpa2_test_complex_default_single_precision@SUFFIX@.sh \
724
  elpa1_complex_cholesky_single_precision@SUFFIX@.sh \
725
  elpa_driver_complex_single_precision@SUFFIX@.sh \
726
  elpa1_complex_invert_trm_single_precision@SUFFIX@.sh \
727
  elpa1_complex_transpose_multiply_single_precision@SUFFIX@.sh \
728 729
  elpa2_test_complex_api_single_precision@SUFFIX@.sh \
  elpa_driver_complex_c_version_single_precision@SUFFIX@.sh
730
endif
731

732 733
if WITH_GPU_VERSION
check_SCRIPTS += \
Andreas Marek's avatar
Andreas Marek committed
734 735
  elpa2_test_real_gpu@SUFFIX@.sh \
  elpa2_test_complex_gpu@SUFFIX@.sh
736 737
if WANT_SINGLE_PRECISION_REAL
check_SCRIPTS += \
Andreas Marek's avatar
Andreas Marek committed
738
  elpa2_test_real_gpu_single_precision@SUFFIX@.sh
739 740 741
endif
if WANT_SINGLE_PRECISION_COMPLEX
check_SCRIPTS += \
Andreas Marek's avatar
Andreas Marek committed
742
  elpa2_test_complex_gpu_single_precision@SUFFIX@.sh
743 744 745 746
endif

endif

747
# test scripts
748
MPIEXEC ?= $(MPI_BINARY) -n 2
749
if WITH_MPI
750
  wrapper=$(MPIEXEC)
751
else
752
  wrapper=
753
endif
754 755
TESTS = $(check_SCRIPTS)
%.sh: %
756 757
	@echo $(wrapper) ./$^ '$$TEST_FLAGS' > $@
	@chmod +x $@
758

759
# Preprocessed files (just used for manual inspection)
760 761
mod_precision.i: $(top_srcdir)/src/mod_precision.F90
	$(CPP) $(CPPFLAGS) -I$(top_builddir)/ -I$(top_srcdir)/ -c $(top_srcdir)/src/mod_precision.F90 -o $@
Andreas Marek's avatar
Andreas Marek committed
762

Andreas Marek's avatar
Andreas Marek committed
763
elpa2_utilities.i: $(top_srcdir)/src/elpa2_utilities.F90
764
	$(CPP) $(CPPFLAGS) -I$(top_builddir)/ -I$(top_srcdir)/ -c $(top_srcdir)/src/elpa2_utilities.F90 -o $@
Andreas Marek's avatar
Andreas Marek committed
765

Andreas Marek's avatar
Andreas Marek committed
766
elpa2.i: $(top_srcdir)/src/elpa2.F90
767
	$(CPP) $(CPPFLAGS) -I$(top_builddir)/ -I$(top_srcdir)/ -c $(top_srcdir)/src/elpa2.F90 -o $@
768

Andreas Marek's avatar
Andreas Marek committed
769
elpa1.i: $(top_srcdir)/src/elpa1.F90
770
	$(CPP) $(CPPFLAGS) -I$(top_builddir)/ -I$(top_srcdir)/ -c $(top_srcdir)/src/elpa1.F90 -o $@
771

772 773 774
elpa1_compute.i: $(top_srcdir)/src/elpa1_compute.F90
	$(CPP) $(CPPFLAGS) -I$(top_builddir)/ -I$(top_srcdir)/ -c $(top_srcdir)/src/elpa1_compute.F90 -o $@

775 776 777
elpa2_compute.i: $(top_srcdir)/src/elpa2_compute.F90
	$(CPP) $(CPPFLAGS) -I$(top_builddir)/ -I$(top_srcdir)/ -c $(top_srcdir)/src/elpa2_compute.F90 -o $@

778 779 780
elpa2_kernels_real.i: $(top_srcdir)/src/elpa2_kernels/elpa2_kernels_real.F90
	$(CPP) $(CPPFLAGS) -I$(top_builddir)/ -c $(top_srcdir)/src/elpa2_kernels/elpa2_kernels_real.F90 -o $@

781 782 783
mod_compute_hh_trafo_real.i: $(top_srcdir)/src/mod_compute_hh_trafo_real.F90
	$(CPP) $(CPPFLAGS) -I$(top_builddir)/ -c $(top_srcdir)/src/mod_compute_hh_trafo_real.F90 -o $@

784 785 786
mod_compute_hh_trafo_complex.i: $(top_srcdir)/src/mod_compute_hh_trafo_complex.F90
	$(CPP) $(CPPFLAGS) -I$(top_builddir)/ -c $(top_srcdir)/src/mod_compute_hh_trafo_complex.F90 -o $@

787 788
test_real.i: $(top_srcdir)/test/Fortran/test_real1.F90
	$(CPP) $(CPPFLAGS) -I$(top_builddir)/ -c $(top_srcdir)/test/Fortran/test_real1.F90 -o $@
789 790 791 792 793