Makefile.am 43.2 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 29 30 31 32 33
        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 \
34
        src/elpa1_compute_private.F90 \
35
	src/elpa2_determine_workload.F90 \
36
        src/elpa2_compute.F90 \
37 38
        src/elpa2_kernels/mod_fortran_interfaces.F90 \
        src/elpa2_kernels/mod_single_hh_trafo_real.F90 \
39
        src/elpa_c_interface.F90 \
40 41 42 43
        src/check_for_gpu.F90 \
        src/mod_cuda.F90 \
        src/interface_c_kernel.F90 \
        src/mod_pack_unpack_real_gpu.F90 \
44
        src/elpa_qr/qr_utils.F90 \
45
        src/elpa_qr/elpa_qrkernels.F90 \
46 47 48
        src/elpa_qr/elpa_pdlarfb.F90 \
        src/elpa_qr/elpa_pdgeqrf.F90

49
EXTRA_libelpa@SUFFIX@_private_la_DEPENDENCIES = \
50 51
        src/elpa_reduce_add_vectors.X90 \
        src/elpa_transpose_vectors.X90 \
52
        src/elpa1_compute_template.X90 \
53 54
        src/elpa2_compute_real_template.X90 \
        src/elpa2_compute_complex_template.X90 \
55
	src/elpa2_bandred_template.X90 \
56 57 58 59 60 61 62 63
	src/elpa2_symm_matrix_allreduce_real_template.X90 \
	src/elpa2_trans_ev_band_to_full_real_template.X90 \
	src/elpa2_tridiag_band_real_template.X90 \
	src/elpa2_trans_ev_tridi_to_band_real_template.X90 \
	src/elpa2_herm_matrix_allreduce_complex_template.X90 \
	src/elpa2_trans_ev_band_to_full_complex_template.X90 \
	src/elpa2_tridiag_band_complex_template.X90 \
	src/elpa2_trans_ev_tridi_to_band_complex_template.X90 \
64
	src/elpa2_kernels/elpa2_kernels_real_template.X90 \
65
	src/elpa2_kernels/elpa2_kernels_complex_template.X90 \
66
	src/elpa2_kernels/elpa2_kernels_simple_template.X90 \
67
        src/redist_band.X90 \
68
        src/precision_macros.h 
69

70
lib_LTLIBRARIES = libelpa@SUFFIX@.la
71
libelpa@SUFFIX@_la_LINK = $(FCLINK) $(AM_LDFLAGS) -version-info $(ELPA_SO_VERSION)
72 73
libelpa@SUFFIX@_la_LIBADD = libelpa@SUFFIX@_public.la libelpa@SUFFIX@_private.la
libelpa@SUFFIX@_la_SOURCES =
74

75

76
if HAVE_DETAILED_TIMINGS
77
  libelpa@SUFFIX@_private_la_SOURCES += \
78 79 80 81 82 83 84 85 86
        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
87 88
else
  libelpa@SUFFIX@_private_la_SOURCES += \
Andreas Marek's avatar
Andreas Marek committed
89
        src/timer_dummy.F90
90 91
endif

92
if WITH_GPU_VERSION
93 94
  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
95 96
endif

97
if !WITH_MPI
98
  libelpa@SUFFIX@_private_la_SOURCES += src/mod_time_c.F90
99
if !HAVE_DETAILED_TIMINGS
100
  libelpa@SUFFIX@_private_la_SOURCES += src/ftimings/time.c
101 102 103
endif
endif

Andreas Marek's avatar
Andreas Marek committed
104
if WITH_REAL_GENERIC_KERNEL
105
  libelpa@SUFFIX@_private_la_SOURCES +=  src/elpa2_kernels/elpa2_kernels_real.F90
106 107
endif

Andreas Marek's avatar
Andreas Marek committed
108
if WITH_COMPLEX_GENERIC_KERNEL
109
  libelpa@SUFFIX@_private_la_SOURCES +=  src/elpa2_kernels/elpa2_kernels_complex.F90
110 111
endif

Andreas Marek's avatar
Andreas Marek committed
112
if WITH_REAL_GENERIC_SIMPLE_KERNEL
113
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_simple.F90
114 115
endif

Andreas Marek's avatar
Andreas Marek committed
116
if WITH_COMPLEX_GENERIC_SIMPLE_KERNEL
117
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_simple.F90
118 119
endif

Andreas Marek's avatar
Andreas Marek committed
120
if WITH_REAL_BGP_KERNEL
121
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_bgp.f90
122 123
endif

Andreas Marek's avatar
Andreas Marek committed
124
if WITH_REAL_BGQ_KERNEL
125
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_bgq.f90
126 127
endif

128
if WITH_REAL_SSE_ASSEMBLY_KERNEL
129
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_asm_x86_64_double_precision.s
130
if WANT_SINGLE_PRECISION_REAL
131
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_asm_x86_64_single_precision.s
132
endif
133

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

143
if WITH_REAL_SSE_BLOCK2_KERNEL
144
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_sse_2hv_double_precision.c
145
if WANT_SINGLE_PRECISION_REAL
146
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_sse_2hv_single_precision.c
147
endif
148 149
endif

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

164
if WITH_REAL_SSE_BLOCK4_KERNEL
165
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_sse_4hv_double_precision.c
166
if WANT_SINGLE_PRECISION_REAL
167
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_sse_4hv_single_precision.c
168
endif
169 170
endif

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

185
if WITH_REAL_SSE_BLOCK6_KERNEL
186
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_sse_6hv_double_precision.c
187
if WANT_SINGLE_PRECISION_REAL
188
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_real_sse_6hv_single_precision.c
189
endif
190 191
endif

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

206
if WITH_COMPLEX_SSE_BLOCK1_KERNEL
207
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_sse_1hv_double_precision.c
208
if WANT_SINGLE_PRECISION_COMPLEX
209
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_sse_1hv_single_precision.c
210
endif
211 212
endif

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

227
if WITH_COMPLEX_SSE_BLOCK2_KERNEL
228
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_sse_2hv_double_precision.c
229
if WANT_SINGLE_PRECISION_COMPLEX
230
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2_kernels/elpa2_kernels_complex_sse_2hv_single_precision.c
231
endif
232 233
endif

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

248
.cu.lo:
249
	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
250

251 252 253
include generated_headers.am
BUILT_SOURCES = $(generated_headers)

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

Lorenz Huedepohl's avatar
Lorenz Huedepohl committed
259
dist_man_MANS = \
260
           man/solve_evp_real.3 \
261
	   man/solve_evp_real_1stage_double.3 \
Andreas Marek's avatar
Andreas Marek committed
262
	   man/solve_evp_complex.3 \
263 264 265
	   man/solve_evp_complex_1stage_double.3 \
	   man/solve_evp_real_2stage_double.3 \
	   man/solve_evp_complex_2stage_double.3 \
266 267
	   man/elpa_solve_evp_real_1stage_double.3 \
	   man/elpa_solve_evp_complex_1stage_double.3 \
Andreas Marek's avatar
Andreas Marek committed
268 269
	   man/elpa_solve_evp_real_2stage_double.3 \
	   man/elpa_solve_evp_complex_2stage_double.3 \
Andreas Marek's avatar
Andreas Marek committed
270
	   man/get_elpa_row_col_comms.3 \
271
	   man/get_elpa_communicators.3 \
272 273
	   man/elpa_mult_at_b_real_double.3 \
	   man/elpa_mult_at_b_real_single.3 \
274 275
	   man/elpa_mult_ah_b_complex_double.3 \
	   man/elpa_mult_ah_b_complex_single.3 \
276 277
	   man/elpa_invert_trm_real_double.3 \
	   man/elpa_invert_trm_real_single.3 \
278 279
	   man/elpa_invert_trm_complex_double.3 \
	   man/elpa_invert_trm_complex_single.3 \
280 281 282 283
	   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 \
284
	   man/elpa2_print_kernels.1
Andreas Marek's avatar
Andreas Marek committed
285

286 287
if WANT_SINGLE_PRECISION_REAL

288
dist_man_MANS += man/solve_evp_real_1stage_single.3 \
289
		 man/elpa_solve_evp_real_1stage_single.3 \
Andreas Marek's avatar
Andreas Marek committed
290
		 man/elpa_solve_evp_real_2stage_single.3 \
291
         	 man/solve_evp_real_2stage_single.3
Andreas Marek's avatar
Andreas Marek committed
292

293 294 295 296
endif

if WANT_SINGLE_PRECISION_COMPLEX

297
dist_man_MANS += man/solve_evp_complex_1stage_single.3 \
298
		 man/elpa_solve_evp_complex_1stage_single.3 \
Andreas Marek's avatar
Andreas Marek committed
299
		 man/elpa_solve_evp_complex_2stage_single.3 \
300
                 man/solve_evp_complex_2stage_single.3
301 302
endif

303 304
#needed?

305
# other files to distribute
306
filesdir = $(docdir)/examples
307
dist_files_DATA = \
308 309
  test/Fortran/read_real.F90 \
  test/Fortran/test_complex2.F90 \
310
  test/Fortran/test_complex2_default.F90 \
311 312 313
  test/Fortran/test_complex2_api.F90 \
  test/Fortran/test_complex.F90 \
  test/Fortran/test_real2.F90 \
314
  test/Fortran/test_real2_default.F90 \
315 316 317 318 319
  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 \
320
  test/Fortran/test_transpose_multiply_real.F90 \
321
  test/Fortran/test_transpose_multiply_complex.F90 \
322
  test/Fortran/test_cholesky_real.F90 \
323
  test/Fortran/test_invert_trm_real.F90 \
324
  test/Fortran/test_cholesky_complex.F90 \
325
  test/Fortran/test_invert_trm_complex.F90 \
326
  src/elpa2_print_kernels.F90
327

328 329
#end needed

330
dist_doc_DATA = README.md USERS_GUIDE.md INSTALL.md CONTRIBUTING.md LICENSE Changelog COPYING/COPYING COPYING/gpl.txt COPYING/lgpl.txt
331

332 333
# pkg-config stuff
pkgconfigdir = $(libdir)/pkgconfig
334
pkgconfig_DATA = @PKG_CONFIG_FILE@
335

336 337
# programs
bin_PROGRAMS = \
338
  elpa2_print_kernels@SUFFIX@
339 340

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

368 369
if WANT_SINGLE_PRECISION_COMPLEX
noinst_PROGRAMS += \
370 371
  elpa1_test_complex_single_precision@SUFFIX@ \
  elpa2_test_complex_single_precision@SUFFIX@ \
372
  elpa2_test_complex_default_single_precision@SUFFIX@ \
373
  elpa1_complex_transpose_multiply_single_precision@SUFFIX@ \
374
  elpa_driver_complex_single_precision@SUFFIX@ \
375
  elpa1_complex_cholesky_single_precision@SUFFIX@ \
376
  elpa1_complex_invert_trm_single_precision@SUFFIX@ \
377 378
  elpa2_test_complex_api_single_precision@SUFFIX@ \
  elpa_driver_complex_c_version_single_precision@SUFFIX@
379 380 381 382
endif

if WANT_SINGLE_PRECISION_REAL
noinst_PROGRAMS += \
383 384
  elpa1_test_real_single_precision@SUFFIX@ \
  elpa2_test_real_single_precision@SUFFIX@ \
385 386
  elpa2_test_real_default_single_precision@SUFFIX@ \
  elpa2_test_real_qr_single_precision@SUFFIX@ \
387
  elpa2_test_real_api_single_precision@SUFFIX@ \
388
  elpa_driver_real_single_precision@SUFFIX@ \
389 390
  elpa1_real_transpose_multiply_single_precision@SUFFIX@ \
  elpa1_real_cholesky_single_precision@SUFFIX@ \
391
  elpa1_real_invert_trm_single_precision@SUFFIX@ \
392
  elpa_driver_real_c_version_single_precision@SUFFIX@ \
393
  elpa1_real_toeplitz_single_precision@SUFFIX@
394 395 396 397
endif

if WITH_GPU_VERSION
noinst_PROGRAMS += \
398 399
  elpa1_test_complex_gpu@SUFFIX@ \
  elpa1_test_real_gpu@SUFFIX@ \
400 401
  elpa2_test_complex_gpu@SUFFIX@ \
  elpa2_test_real_gpu@SUFFIX@
402 403 404

if WANT_SINGLE_PRECISION_REAL
noinst_PROGRAMS += \
405
  elpa1_test_real_gpu_single_precision@SUFFIX@ \
406
  elpa2_test_real_gpu_single_precision@SUFFIX@
407 408 409 410
endif

if WANT_SINGLE_PRECISION_COMPLEX
noinst_PROGRAMS += \
411
  elpa1_test_complex_gpu_single_precision@SUFFIX@ \
412
  elpa2_test_complex_gpu_single_precision@SUFFIX@
413 414 415 416
endif

endif

Andreas Marek's avatar
Andreas Marek committed
417
build_lib = libelpatest@SUFFIX@.la libelpa@SUFFIX@.la
418 419 420 421 422

# 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 = \
423 424 425 426 427 428 429 430 431
	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
432

433
if HAVE_REDIRECT
434
libelpatest@SUFFIX@_la_SOURCES += \
435 436
	test/shared/redir.c \
	test/shared/redirect.F90
437 438
endif

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

444
elpa1_test_real_with_c@SUFFIX@_SOURCES = test/Fortran/test_real_with_c.F90
445
elpa1_test_real_with_c@SUFFIX@_LDADD = $(build_lib)
446
elpa1_test_real_with_c@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
447
EXTRA_elpa1_test_real_with_c@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
448

449 450 451 452 453
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

454
elpa1_test_complex_c_version@SUFFIX@_SOURCES = test/C/elpa1_test_complex_c_version.c
455
elpa1_test_complex_c_version@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
456
elpa1_test_complex_c_version@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
457
EXTRA_elpa1_test_complex_c_version@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
458

459 460 461 462 463
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

464
elpa2_test_real_c_version@SUFFIX@_SOURCES = test/C/elpa2_test_real_c_version.c
465
elpa2_test_real_c_version@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
466
elpa2_test_real_c_version@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
467
EXTRA_elpa2_test_real_c_version@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
468

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

474
elpa1_test_real@SUFFIX@_SOURCES = test/Fortran/test_real.F90
475
elpa1_test_real@SUFFIX@_LDADD = $(build_lib)
476
elpa1_test_real@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
477
EXTRA_elpa1_test_real@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
478

479 480 481 482
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
483

484 485 486 487 488
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

489 490 491 492
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
493

494 495 496 497 498
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

499 500 501 502 503
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

504 505 506 507 508
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

509 510 511 512 513
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

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

519 520 521 522
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
523

524 525 526 527
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
528

529 530 531
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
532
EXTRA_elpa2_test_real_api@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
533

534
elpa1_test_complex@SUFFIX@_SOURCES = test/Fortran/test_complex.F90
535
elpa1_test_complex@SUFFIX@_LDADD = $(build_lib)
536
elpa1_test_complex@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
537
EXTRA_elpa1_test_complex@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
538

539
elpa2_test_complex@SUFFIX@_SOURCES = test/Fortran/test_complex2.F90
540
elpa2_test_complex@SUFFIX@_LDADD = $(build_lib)
541
elpa2_test_complex@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
542
EXTRA_elpa2_test_complex@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
543

544 545 546 547
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
548

549 550 551 552
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
553

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

559 560 561 562 563
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

564
elpa2_print_kernels@SUFFIX@_SOURCES = src/elpa2_print_kernels.F90
565
elpa2_print_kernels@SUFFIX@_LDADD = $(build_lib)
566
elpa2_print_kernels@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
Andreas Marek's avatar
Andreas Marek committed
567

568
if WANT_SINGLE_PRECISION_REAL
569
elpa1_test_real_single_precision@SUFFIX@_SOURCES = test/Fortran/test_real_single.F90
570
elpa1_test_real_single_precision@SUFFIX@_LDADD = $(build_lib)
571
elpa1_test_real_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
572
EXTRA_elpa1_test_real_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
573

574
elpa2_test_real_single_precision@SUFFIX@_SOURCES = test/Fortran/test_real2_single.F90
575 576
elpa2_test_real_single_precision@SUFFIX@_LDFLAGS = -static
elpa2_test_real_single_precision@SUFFIX@_LDADD = $(build_lib)
577
elpa2_test_real_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
578
EXTRA_elpa2_test_real_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
579

580 581 582 583 584
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

585
elpa1_real_toeplitz_single_precision@SUFFIX@_SOURCES = test/Fortran/test_toeplitz_single.F90
586 587 588 589
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

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

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

600 601 602 603 604
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

605 606 607 608 609
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

610
elpa2_test_real_default_single_precision@SUFFIX@_SOURCES = test/Fortran/test_real2_default_single.F90
611 612 613 614
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
615

616 617 618 619 620
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
621

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

if WANT_SINGLE_PRECISION_COMPLEX
629
elpa1_test_complex_single_precision@SUFFIX@_SOURCES = test/Fortran/test_complex_single.F90
630
elpa1_test_complex_single_precision@SUFFIX@_LDADD = $(build_lib)
631
elpa1_test_complex_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
632
EXTRA_elpa1_test_complex_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
633

634 635 636 637 638
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

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

644
elpa2_test_complex_single_precision@SUFFIX@_SOURCES = test/Fortran/test_complex2_single.F90
645
elpa2_test_complex_single_precision@SUFFIX@_LDADD = $(build_lib)
646
elpa2_test_complex_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
647
EXTRA_elpa2_test_complex_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
648

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

655 656 657 658 659 660 661 662 663 664
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

665 666 667 668 669
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

670 671 672 673
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
674 675 676
endif

if WITH_GPU_VERSION
677 678 679 680 681 682 683 684 685 686
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

687 688 689 690
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
691

692 693 694 695
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
696 697

if WANT_SINGLE_PRECISION_REAL
698 699 700 701 702
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

703 704 705 706
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
707 708 709
endif

if WANT_SINGLE_PRECISION_COMPLEX
710 711 712 713 714
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

715 716 717 718
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
719 720 721
endif

endif
722
#  elpa2_test_real_default_kernel_qr_decomposition@SUFFIX@.sh
723

724
check_SCRIPTS = \
725 726
  elpa1_test_real@SUFFIX@.sh \
  elpa2_test_real@SUFFIX@.sh \
727
  elpa2_test_real_default@SUFFIX@.sh \
728 729
  elpa1_test_complex@SUFFIX@.sh \
  elpa2_test_complex@SUFFIX@.sh \
730 731 732 733
  elpa2_test_real_qr@SUFFIX@.sh \
  elpa2_test_complex_default@SUFFIX@.sh \
  elpa2_test_real_api@SUFFIX@.sh \
  elpa2_test_complex_api@SUFFIX@.sh \
734
  elpa_driver_real@SUFFIX@.sh \
735
  elpa_driver_complex@SUFFIX@.sh \
736
  elpa1_real_toeplitz@SUFFIX@.sh \
737
  elpa1_test_real_with_c@SUFFIX@.sh \
738
  elpa1_real_cholesky@SUFFIX@.sh \
739
  elpa1_real_invert_trm@SUFFIX@.sh \
740
  elpa1_real_transpose_multiply@SUFFIX@.sh \
741
  elpa1_complex_cholesky@SUFFIX@.sh \
742
  elpa1_complex_invert_trm@SUFFIX@.sh \
743
  elpa1_complex_transpose_multiply@SUFFIX@.sh \
744
  elpa2_print_kernels@SUFFIX@ \
745 746 747
  elpa1_test_real_c_version@SUFFIX@.sh \
  elpa1_test_complex_c_version@SUFFIX@.sh \
  elpa2_test_real_c_version@SUFFIX@.sh \
748
  elpa2_test_complex_c_version@SUFFIX@.sh \
749
  elpa_driver_real_c_version@SUFFIX@.sh \
750
  elpa_driver_complex_c_version@SUFFIX@.sh
Andreas Marek's avatar
Andreas Marek committed
751

752 753
if WANT_SINGLE_PRECISION_REAL
check_SCRIPTS += \
754 755
  elpa1_test_real_single_precision@SUFFIX@.sh \
  elpa2_test_real_single_precision@SUFFIX@.sh \
756 757
  elpa2_test_real_default_single_precision@SUFFIX@.sh \
  elpa2_test_real_qr_single_precision@SUFFIX@.sh \
758
  elpa_driver_real_single_precision@SUFFIX@.sh \
759
  elpa1_real_cholesky_single_precision@SUFFIX@.sh \
760
  elpa1_real_invert_trm_single_precision@SUFFIX@.sh \
761
  elpa1_real_transpose_multiply_single_precision@SUFFIX@.sh \
762 763
  elpa2_test_real_api_single_precision@SUFFIX@.sh \
  elpa_driver_real_c_version_single_precision@SUFFIX@.sh
764 765 766 767
endif

if WANT_SINGLE_PRECISION_COMPLEX
check_SCRIPTS += \
768 769
  elpa1_test_complex_single_precision@SUFFIX@.sh \
  elpa2_test_complex_single_precision@SUFFIX@.sh \
770
  elpa2_test_complex_default_single_precision@SUFFIX@.sh \
771
  elpa1_complex_cholesky_single_precision@SUFFIX@.sh \
772
  elpa_driver_complex_single_precision@SUFFIX@.sh \
773
  elpa1_complex_invert_trm_single_precision@SUFFIX@.sh \
774
  elpa1_complex_transpose_multiply_single_precision@SUFFIX@.sh \
775 776
  elpa2_test_complex_api_single_precision@SUFFIX@.sh \
  elpa_driver_complex_c_version_single_precision@SUFFIX@.sh
777
endif
778

779 780
if WITH_GPU_VERSION
check_SCRIPTS += \
781 782
  elpa1_test_real_gpu@SUFFIX@.sh \
  elpa1_test_complex_gpu@SUFFIX@.sh \
Andreas Marek's avatar
Andreas Marek committed
783 784
  elpa2_test_real_gpu@SUFFIX@.sh \
  elpa2_test_complex_gpu@SUFFIX@.sh
785 786
if WANT_SINGLE_PRECISION_REAL
check_SCRIPTS += \
787
  elpa1_test_real_gpu_single_precision@SUFFIX@.sh \
Andreas Marek's avatar
Andreas Marek committed
788
  elpa2_test_real_gpu_single_precision@SUFFIX@.sh
789 790 791
endif
if WANT_SINGLE_PRECISION_COMPLEX
check_SCRIPTS += \
792
  elpa1_test_complex_gpu_single_precision@SUFFIX@.sh \
Andreas Marek's avatar
Andreas Marek committed
793
  elpa2_test_complex_gpu_single_precision@SUFFIX@.sh
794 795 796 797
endif

endif

798
# test scripts
799