Makefile.am 58.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 = \
Andreas Marek's avatar
Andreas Marek committed
14
	src/elpa_driver/legacy_interface/elpa_legacy.F90 \
15
        src/elpa1/legacy_interface/elpa1_legacy.F90 \
16
        src/elpa2/legacy_interface/elpa2_legacy.F90 \
17
        src/elpa2/elpa2_utilities.F90 \
18
	src/elpa1/legacy_interface/elpa1_auxiliary_legacy.F90 \
19
	src/elpa1/elpa1_auxiliary_new_interface.F90 \
Andreas Marek's avatar
Andreas Marek committed
20
	src/elpa_t.F90 \
21
        src/general/elpa_utilities.F90
22 23 24

# internal parts
noinst_LTLIBRARIES += libelpa@SUFFIX@_private.la
25
libelpa@SUFFIX@_private_la_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
26
libelpa@SUFFIX@_private_la_SOURCES = \
27 28 29
        src/helpers/mod_precision.F90 \
        src/helpers/mod_mpi.F90 \
        src/helpers/mod_mpi_stubs.F90 \
Lorenz Huedepohl's avatar
Lorenz Huedepohl committed
30
        src/elpa_generated_fortran_interfaces.F90 \
Andreas Marek's avatar
Andreas Marek committed
31 32
	src/elpa2/mod_redist_band.F90 \
        src/elpa2/mod_pack_unpack_cpu.F90 \
33
        src/elpa2/mod_compute_hh_trafo.F90 \
34
        src/helpers/aligned_mem.F90 \
35
        src/elpa1/elpa1_utilities.F90 \
36
        src/elpa1/elpa1_compute_private.F90 \
37 38 39
	src/elpa2/elpa2_determine_workload.F90 \
        src/elpa2/elpa2_compute.F90 \
        src/elpa2/kernels/mod_single_hh_trafo_real.F90 \
40
        src/elpa_driver/legacy_interface/elpa_driver_c_interface_legacy.F90 \
41
        src/elpa1/legacy_interface/elpa_1stage_c_interface_legacy.F90 \
Andreas Marek's avatar
Andreas Marek committed
42
        src/elpa2/legacy_interface/elpa_2stage_c_interface_legacy.F90 \
43 44
        src/GPU/check_for_gpu.F90 \
        src/GPU/mod_cuda.F90 \
Andreas Marek's avatar
Andreas Marek committed
45 46
        src/elpa2/GPU/interface_c_kernel.F90 \
        src/elpa2/mod_pack_unpack_gpu.F90 \
47 48 49
        src/elpa2/qr/qr_utils.F90 \
        src/elpa2/qr/elpa_qrkernels.F90 \
        src/elpa2/qr/elpa_pdlarfb.F90 \
Andreas Marek's avatar
Andreas Marek committed
50
        src/elpa2/qr/elpa_pdgeqrf.F90 \
51 52
	src/elpa1/elpa1_new_interface.F90 \
	src/elpa2/elpa2_new_interface.F90 \
Lorenz Huedepohl's avatar
Lorenz Huedepohl committed
53
	src/elpa_index.c \
54
	src/elpa_options.c
55

56
EXTRA_libelpa@SUFFIX@_private_la_DEPENDENCIES = \
57 58 59
        src/elpa1/elpa_reduce_add_vectors.X90 \
        src/elpa1/elpa_transpose_vectors.X90 \
        src/elpa1/elpa1_compute_template.X90 \
60 61
        src/elpa2/elpa2_compute_real_template.X90 \
        src/elpa2/elpa2_compute_complex_template.X90 \
62
	src/elpa1/legacy_interface/elpa1_template_legacy.X90 \
63
	src/elpa1/elpa1_template_new_interface.X90 \
64
	src/elpa2/legacy_interface/elpa2_template_legacy.X90 \
65
	src/elpa2/elpa2_template_new_interface.X90 \
Andreas Marek's avatar
Andreas Marek committed
66 67
	src/elpa1/legacy_interface/elpa1_c_interface_template_legacy.X90 \
	src/elpa2/legacy_interface/elpa2_c_interface_template_legacy.X90 \
68
	src/elpa_driver/legacy_interface/elpa_driver_c_interface_template_legacy.X90 \
Andreas Marek's avatar
Andreas Marek committed
69 70 71 72 73
	src/elpa1/legacy_interface/elpa_solve_tridi_c_interface_template_legacy.X90 \
        src/elpa1/legacy_interface/elpa_mult_at_b_c_interface_template_legacy.X90 \
        src/elpa1/legacy_interface/elpa_mult_ah_b_c_interface_template_legacy.X90 \
        src/elpa1/legacy_interface/elpa_invert_trm_c_interface_template_legacy.X90 \
        src/elpa1/legacy_interface/elpa_cholesky_c_interface_template_legacy.X90 \
74 75 76 77 78 79 80 81 82
	src/elpa2/elpa2_bandred_template.X90 \
	src/elpa2/elpa2_symm_matrix_allreduce_real_template.X90 \
	src/elpa2/elpa2_trans_ev_band_to_full_template.X90 \
	src/elpa2/elpa2_tridiag_band_template.X90 \
	src/elpa2/elpa2_trans_ev_tridi_to_band_template.X90 \
	src/elpa2/elpa2_herm_matrix_allreduce_complex_template.X90 \
	src/elpa2/kernels/elpa2_kernels_real_template.X90 \
	src/elpa2/kernels/elpa2_kernels_complex_template.X90 \
	src/elpa2/kernels/elpa2_kernels_simple_template.X90 \
Andreas Marek's avatar
Andreas Marek committed
83 84
	src/elpa2/pack_unpack_cpu.X90 \
	src/elpa2/pack_unpack_gpu.X90 \
85
	src/elpa2/compute_hh_trafo.X90 \
Andreas Marek's avatar
Andreas Marek committed
86
        src/elpa2/redist_band.X90 \
87
	src/general/sanity.X90 \
88
	src/elpa1/legacy_interface/elpa_cholesky_template_legacy.X90 \
89
	src/elpa1/elpa_cholesky_template_new_interface.X90 \
90
	src/elpa1/legacy_interface/elpa_invert_trm_legacy.X90 \
91
	src/elpa1/elpa_invert_trm_new_interface.X90 \
92
	src/elpa1/legacy_interface/elpa_multiply_a_b_legacy.X90 \
93
	src/elpa1/elpa_multiply_a_b_new_interface.X90 \
94
	src/elpa1/legacy_interface/elpa_solve_tridi_legacy.X90 \
95
	src/elpa1/elpa_solve_tridi_new_interface.X90 \
96
        src/general/precision_macros.h
97

98
lib_LTLIBRARIES = libelpa@SUFFIX@.la
99
libelpa@SUFFIX@_la_LINK = $(FCLINK) $(AM_LDFLAGS) -version-info $(ELPA_SO_VERSION)
100 101
libelpa@SUFFIX@_la_LIBADD = libelpa@SUFFIX@_public.la libelpa@SUFFIX@_private.la
libelpa@SUFFIX@_la_SOURCES =
102

103

104
if HAVE_DETAILED_TIMINGS
105
  libelpa@SUFFIX@_private_la_SOURCES += \
106
        src/helpers/timer.F90 \
107 108 109 110 111 112 113 114
        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
115 116
else
  libelpa@SUFFIX@_private_la_SOURCES += \
117
        src/helpers/timer_dummy.F90
118 119
endif

120
if WITH_GPU_VERSION
Andreas Marek's avatar
Andreas Marek committed
121 122
  libelpa@SUFFIX@_private_la_SOURCES +=  src/GPU/cudaFunctions.cu src/GPU/cuUtils.cu src/elpa2/GPU/ev_tridi_band_gpu_c_v2.cu
  EXTRA_libelpa@SUFFIX@_private_la_DEPENDENCIES +=   src/elpa2/GPU/ev_tridi_band_gpu_c_v2_complex_template.Xcu src/elpa2/GPU/ev_tridi_band_gpu_c_v2_real_template.Xcu
123 124
endif

125
if !WITH_MPI
126
  libelpa@SUFFIX@_private_la_SOURCES += src/helpers/mod_time_c.F90
127
if !HAVE_DETAILED_TIMINGS
128
  libelpa@SUFFIX@_private_la_SOURCES += src/ftimings/time.c
129 130 131
endif
endif

Andreas Marek's avatar
Andreas Marek committed
132
if WITH_REAL_GENERIC_KERNEL
133
  libelpa@SUFFIX@_private_la_SOURCES +=  src/elpa2/kernels/elpa2_kernels_real.F90
134 135
endif

Andreas Marek's avatar
Andreas Marek committed
136
if WITH_COMPLEX_GENERIC_KERNEL
137
  libelpa@SUFFIX@_private_la_SOURCES +=  src/elpa2/kernels/elpa2_kernels_complex.F90
138 139
endif

Andreas Marek's avatar
Andreas Marek committed
140
if WITH_REAL_GENERIC_SIMPLE_KERNEL
141
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_simple.F90
142 143
endif

Andreas Marek's avatar
Andreas Marek committed
144
if WITH_COMPLEX_GENERIC_SIMPLE_KERNEL
145
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_complex_simple.F90
146 147
endif

Andreas Marek's avatar
Andreas Marek committed
148
if WITH_REAL_BGP_KERNEL
149
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_bgp.f90
150 151
endif

Andreas Marek's avatar
Andreas Marek committed
152
if WITH_REAL_BGQ_KERNEL
153
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_bgq.f90
154 155
endif

156
if WITH_REAL_SSE_ASSEMBLY_KERNEL
157
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_asm_x86_64_double_precision.s
158
if WANT_SINGLE_PRECISION_REAL
159
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_asm_x86_64_single_precision.s
160
endif
161

Andreas Marek's avatar
Andreas Marek committed
162
else
163
if WITH_COMPLEX_SSE_ASSEMBLY_KERNEL
164
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_asm_x86_64_double_precision.s
165
if WANT_SINGLE_PRECISION_COMPLEX
166
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_asm_x86_64_single_precision.s
167
endif
168 169
endif
endif
Andreas Marek's avatar
Andreas Marek committed
170

171
if WITH_REAL_SSE_BLOCK2_KERNEL
172
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_sse_2hv_double_precision.c
173
if WANT_SINGLE_PRECISION_REAL
174
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_sse_2hv_single_precision.c
175
endif
176 177
endif

Andreas Marek's avatar
Andreas Marek committed
178
if WITH_REAL_AVX_BLOCK2_KERNEL
179
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_avx-avx2_2hv_double_precision.c
180
if WANT_SINGLE_PRECISION_REAL
181
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_avx-avx2_2hv_single_precision.c
182
endif
183 184
else
if WITH_REAL_AVX2_BLOCK2_KERNEL
185
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_avx-avx2_2hv_double_precision.c
186
if WANT_SINGLE_PRECISION_REAL
187
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_avx-avx2_2hv_single_precision.c
188
endif
189
endif
190 191
endif

192
if WITH_REAL_AVX512_BLOCK2_KERNEL
193
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_avx512_2hv_double_precision.c
194
if WANT_SINGLE_PRECISION_REAL
195
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_avx512_2hv_single_precision.c
196
endif
197 198 199
endif


200
if WITH_REAL_SSE_BLOCK4_KERNEL
201
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_sse_4hv_double_precision.c
202
if WANT_SINGLE_PRECISION_REAL
203
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_sse_4hv_single_precision.c
204
endif
205 206
endif

Andreas Marek's avatar
Andreas Marek committed
207
if WITH_REAL_AVX_BLOCK4_KERNEL
208
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_avx-avx2_4hv_double_precision.c
209
if WANT_SINGLE_PRECISION_REAL
210
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_avx-avx2_4hv_single_precision.c
211
endif
212 213
else
if WITH_REAL_AVX2_BLOCK4_KERNEL
214
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_avx-avx2_4hv_double_precision.c
215
if WANT_SINGLE_PRECISION_REAL
216
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_avx-avx2_4hv_single_precision.c
217
endif
218
endif
219 220
endif

221
if WITH_REAL_AVX512_BLOCK4_KERNEL
222
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_avx512_4hv_double_precision.c
223
if WANT_SINGLE_PRECISION_REAL
224
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_avx512_4hv_single_precision.c
225
endif
226 227 228 229
endif



230
if WITH_REAL_SSE_BLOCK6_KERNEL
231
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_sse_6hv_double_precision.c
232
if WANT_SINGLE_PRECISION_REAL
233
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_sse_6hv_single_precision.c
234
endif
235 236
endif

Andreas Marek's avatar
Andreas Marek committed
237
if WITH_REAL_AVX_BLOCK6_KERNEL
238
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_avx-avx2_6hv_double_precision.c
239
if WANT_SINGLE_PRECISION_REAL
240
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_avx-avx2_6hv_single_precision.c
241
endif
242 243
else
if WITH_REAL_AVX2_BLOCK6_KERNEL
244
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_avx-avx2_6hv_double_precision.c
245
if WANT_SINGLE_PRECISION_REAL
246
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_avx-avx2_6hv_single_precision.c
247
endif
248
endif
249 250
endif

251
if WITH_REAL_AVX512_BLOCK6_KERNEL
252
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_avx512_6hv_double_precision.c
253
if WANT_SINGLE_PRECISION_REAL
254
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_real_avx512_6hv_single_precision.c
255
endif
256 257 258
endif


259
if WITH_COMPLEX_SSE_BLOCK1_KERNEL
260
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_complex_sse_1hv_double_precision.c
261
if WANT_SINGLE_PRECISION_COMPLEX
262
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_complex_sse_1hv_single_precision.c
263
endif
264 265
endif

Andreas Marek's avatar
Andreas Marek committed
266
if WITH_COMPLEX_AVX_BLOCK1_KERNEL
267
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_complex_avx-avx2_1hv_double_precision.c
268
if WANT_SINGLE_PRECISION_COMPLEX
269
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_complex_avx-avx2_1hv_single_precision.c
270
endif
271 272
else
if WITH_COMPLEX_AVX2_BLOCK1_KERNEL
273
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_complex_avx-avx2_1hv_double_precision.c
274
if WANT_SINGLE_PRECISION_COMPLEX
275
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_complex_avx-avx2_1hv_single_precision.c
276
endif
277
endif
278 279
endif

280 281

if WITH_COMPLEX_AVX512_BLOCK1_KERNEL
282
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_complex_avx512_1hv_double_precision.c
283
if WANT_SINGLE_PRECISION_COMPLEX
284
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_complex_avx512_1hv_single_precision.c
285
endif
286 287
endif

288
if WITH_COMPLEX_SSE_BLOCK2_KERNEL
289
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_complex_sse_2hv_double_precision.c
290
if WANT_SINGLE_PRECISION_COMPLEX
291
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_complex_sse_2hv_single_precision.c
292
endif
293 294
endif

Andreas Marek's avatar
Andreas Marek committed
295
if WITH_COMPLEX_AVX_BLOCK2_KERNEL
296
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_complex_avx-avx2_2hv_double_precision.c
297
if WANT_SINGLE_PRECISION_COMPLEX
298
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_complex_avx-avx2_2hv_single_precision.c
299
endif
300 301
else
if WITH_COMPLEX_AVX2_BLOCK2_KERNEL
302
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_complex_avx-avx2_2hv_double_precision.c
303
if WANT_SINGLE_PRECISION_COMPLEX
304
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_complex_avx-avx2_2hv_single_precision.c
305
endif
306
endif
307 308
endif

309
if WITH_COMPLEX_AVX512_BLOCK2_KERNEL
310
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_complex_avx512_2hv_double_precision.c
311
if WANT_SINGLE_PRECISION_COMPLEX
312
  libelpa@SUFFIX@_private_la_SOURCES += src/elpa2/kernels/elpa2_kernels_complex_avx512_2hv_single_precision.c
313
endif
314 315
endif

316
.cu.lo:
317
	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
318

319 320 321
include generated_headers.am
BUILT_SOURCES = $(generated_headers)

322
# install public Fortran modules files in the include/ dir
323
elpa_includedir = $(includedir)/elpa@SUFFIX@-@PACKAGE_VERSION@
324
nobase_elpa_include_HEADERS = $(wildcard modules/*)
325
nobase_elpa_include_HEADERS += elpa/elpa.h elpa/elpa_kernel_constants.h elpa/elpa_solver_constants.h elpa/elpa_constants.h elpa/elpa_generated.h
326

Lorenz Huedepohl's avatar
Lorenz Huedepohl committed
327
dist_man_MANS = \
328
           man/solve_evp_real.3 \
329
	   man/solve_evp_real_1stage_double.3 \
Andreas Marek's avatar
Andreas Marek committed
330
	   man/solve_evp_complex.3 \
331 332 333
	   man/solve_evp_complex_1stage_double.3 \
	   man/solve_evp_real_2stage_double.3 \
	   man/solve_evp_complex_2stage_double.3 \
334 335
	   man/elpa_solve_evp_real_1stage_double.3 \
	   man/elpa_solve_evp_complex_1stage_double.3 \
Andreas Marek's avatar
Andreas Marek committed
336 337
	   man/elpa_solve_evp_real_2stage_double.3 \
	   man/elpa_solve_evp_complex_2stage_double.3 \
Andreas Marek's avatar
Andreas Marek committed
338
	   man/get_elpa_row_col_comms.3 \
339
	   man/get_elpa_communicators.3 \
340 341
	   man/elpa_mult_at_b_real_double.3 \
	   man/elpa_mult_at_b_real_single.3 \
342 343
	   man/elpa_mult_ah_b_complex_double.3 \
	   man/elpa_mult_ah_b_complex_single.3 \
344 345
	   man/elpa_invert_trm_real_double.3 \
	   man/elpa_invert_trm_real_single.3 \
346 347
	   man/elpa_invert_trm_complex_double.3 \
	   man/elpa_invert_trm_complex_single.3 \
348 349 350 351
	   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 \
352
	   man/elpa_tests.1 \
353
	   man/elpa2_print_kernels.1
Andreas Marek's avatar
Andreas Marek committed
354

355 356
if WANT_SINGLE_PRECISION_REAL

357
dist_man_MANS += man/solve_evp_real_1stage_single.3 \
358
		 man/elpa_solve_evp_real_1stage_single.3 \
Andreas Marek's avatar
Andreas Marek committed
359
		 man/elpa_solve_evp_real_2stage_single.3 \
360
         	 man/solve_evp_real_2stage_single.3
Andreas Marek's avatar
Andreas Marek committed
361

362 363 364 365
endif

if WANT_SINGLE_PRECISION_COMPLEX

366
dist_man_MANS += man/solve_evp_complex_1stage_single.3 \
367
		 man/elpa_solve_evp_complex_1stage_single.3 \
Andreas Marek's avatar
Andreas Marek committed
368
		 man/elpa_solve_evp_complex_2stage_single.3 \
369
                 man/solve_evp_complex_2stage_single.3
370 371
endif

372 373
#needed?

374
# other files to distribute
375
filesdir = $(docdir)/examples
376
dist_files_DATA = \
377 378
  test/Fortran/read_real.F90 \
  test/Fortran/test_complex2.F90 \
379
  test/Fortran/test_complex2_default.F90 \
380
  test/Fortran/test_complex2_api.F90 \
381
  test/Fortran/test_complex2_banded.F90 \
382 383
  test/Fortran/test_complex.F90 \
  test/Fortran/test_real2.F90 \
384
  test/Fortran/test_real2_default.F90 \
385 386
  test/Fortran/test_real2_qr.F90 \
  test/Fortran/test_real2_api.F90 \
387
  test/Fortran/test_real2_banded.F90 \
388 389 390
  test/Fortran/test_real.F90 \
  test/Fortran/test_real_with_c.F90 \
  test/Fortran/test_toeplitz.F90 \
391
  test/Fortran/test_transpose_multiply_real.F90 \
392
  test/Fortran/test_transpose_multiply_complex.F90 \
393
  test/Fortran/test_cholesky_real.F90 \
394
  test/Fortran/test_invert_trm_real.F90 \
395
  test/Fortran/test_cholesky_complex.F90 \
396
  test/Fortran/test_invert_trm_complex.F90 \
397 398
  test/Fortran/test_new_interface_real_2stage.F90 \
  test/Fortran/test_new_interface_complex_2stage.F90 \
399
  test/Fortran/elpa_tests.F90 \
400 401
  test/Fortran/test_new_interface_real_1stage.F90 \
  test/Fortran/test_new_interface_complex_1stage.F90 \
Andreas Marek's avatar
Andreas Marek committed
402
  src/elpa2/elpa2_print_kernels.F90
403

404 405
#end needed

406
dist_doc_DATA = README.md USERS_GUIDE.md INSTALL.md CONTRIBUTING.md LICENSE Changelog COPYING/COPYING COPYING/gpl.txt COPYING/lgpl.txt
407

408 409
# pkg-config stuff
pkgconfigdir = $(libdir)/pkgconfig
410
pkgconfig_DATA = @PKG_CONFIG_FILE@
411

412 413
# programs
bin_PROGRAMS = \
414
  elpa_tests@SUFFIX@ \
415
  elpa2_print_kernels@SUFFIX@
416 417

noinst_PROGRAMS = \
418
  elpa1_test_real@SUFFIX@ \
419 420
  elpa1_test_complex@SUFFIX@ \
  elpa2_test_real@SUFFIX@ \
421 422 423
  elpa2_test_real_default@SUFFIX@ \
  elpa2_test_real_qr@SUFFIX@ \
  elpa2_test_real_api@SUFFIX@ \
424
  elpa2_test_real_banded@SUFFIX@ \
Andreas Marek's avatar
Andreas Marek committed
425
  elpa2_test_complex@SUFFIX@ \
426
  elpa2_test_complex_default@SUFFIX@ \
427
  elpa2_test_complex_api@SUFFIX@ \
428
  elpa2_test_complex_banded@SUFFIX@ \
429
  elpa_driver_real@SUFFIX@ \
430
  elpa_driver_complex@SUFFIX@ \
431
  elpa1_real_toeplitz@SUFFIX@ \
432
  elpa1_real_transpose_multiply@SUFFIX@ \
433
  elpa1_complex_transpose_multiply@SUFFIX@ \
434
  elpa1_real_cholesky@SUFFIX@ \
435
  elpa1_real_invert_trm@SUFFIX@ \
436
  elpa1_complex_cholesky@SUFFIX@ \
437
  elpa1_complex_invert_trm@SUFFIX@ \
438
  elpa1_test_real_with_c@SUFFIX@ \
Andreas Marek's avatar
Andreas Marek committed
439 440 441
  elpa1_test_real_c_version@SUFFIX@ \
  elpa1_test_complex_c_version@SUFFIX@ \
  elpa2_test_real_c_version@SUFFIX@ \
442
  elpa2_test_complex_c_version@SUFFIX@ \
443
  elpa_driver_real_c_version@SUFFIX@ \
444 445 446 447
  elpa_test_new_interface_real_2stage@SUFFIX@ \
  elpa_test_new_interface_complex_2stage@SUFFIX@ \
  elpa_test_new_interface_real_1stage@SUFFIX@ \
  elpa_test_new_interface_complex_1stage@SUFFIX@ \
448
  elpa_driver_complex_c_version@SUFFIX@
Andreas Marek's avatar
Andreas Marek committed
449

450 451
if WANT_SINGLE_PRECISION_COMPLEX
noinst_PROGRAMS += \
452 453
  elpa1_test_complex_single_precision@SUFFIX@ \
  elpa2_test_complex_single_precision@SUFFIX@ \
454
  elpa2_test_complex_default_single_precision@SUFFIX@ \
455
  elpa1_complex_transpose_multiply_single_precision@SUFFIX@ \
456
  elpa_driver_complex_single_precision@SUFFIX@ \
457
  elpa1_complex_cholesky_single_precision@SUFFIX@ \
458
  elpa1_complex_invert_trm_single_precision@SUFFIX@ \
459
  elpa2_test_complex_api_single_precision@SUFFIX@ \
460
  elpa_driver_complex_c_version_single_precision@SUFFIX@ \
461 462
  elpa_test_new_interface_complex_single_2stage@SUFFIX@ \
  elpa_test_new_interface_complex_single_1stage@SUFFIX@
463 464 465 466
endif

if WANT_SINGLE_PRECISION_REAL
noinst_PROGRAMS += \
467 468
  elpa1_test_real_single_precision@SUFFIX@ \
  elpa2_test_real_single_precision@SUFFIX@ \
469 470
  elpa2_test_real_default_single_precision@SUFFIX@ \
  elpa2_test_real_qr_single_precision@SUFFIX@ \
471
  elpa2_test_real_api_single_precision@SUFFIX@ \
472
  elpa_driver_real_single_precision@SUFFIX@ \
473 474
  elpa1_real_transpose_multiply_single_precision@SUFFIX@ \
  elpa1_real_cholesky_single_precision@SUFFIX@ \
475
  elpa1_real_invert_trm_single_precision@SUFFIX@ \
476
  elpa_driver_real_c_version_single_precision@SUFFIX@ \
477
  elpa1_real_toeplitz_single_precision@SUFFIX@ \
478 479
  elpa_test_new_interface_real_single_2stage@SUFFIX@ \
  elpa_test_new_interface_real_single_1stage@SUFFIX@
480 481 482 483
endif

if WITH_GPU_VERSION
noinst_PROGRAMS += \
484 485
  elpa1_test_complex_gpu@SUFFIX@ \
  elpa1_test_real_gpu@SUFFIX@ \
486
  elpa2_test_complex_gpu@SUFFIX@ \
487 488 489 490 491 492
  elpa2_test_real_gpu@SUFFIX@ \
  elpa_test_new_interface_complex_1stage_gpu@SUFFIX@ \
  elpa_test_new_interface_complex_2stage_gpu@SUFFIX@ \
  elpa_test_new_interface_real_1stage_gpu@SUFFIX@ \
  elpa_test_new_interface_real_2stage_gpu@SUFFIX@

493 494 495

if WANT_SINGLE_PRECISION_REAL
noinst_PROGRAMS += \
496
  elpa1_test_real_gpu_single_precision@SUFFIX@ \
497 498 499
  elpa2_test_real_gpu_single_precision@SUFFIX@ \
  elpa_test_new_interface_real_single_1stage_gpu@SUFFIX@ \
  elpa_test_new_interface_real_single_2stage_gpu@SUFFIX@
500 501 502 503
endif

if WANT_SINGLE_PRECISION_COMPLEX
noinst_PROGRAMS += \
504
  elpa1_test_complex_gpu_single_precision@SUFFIX@ \
505 506 507
  elpa2_test_complex_gpu_single_precision@SUFFIX@ \
  elpa_test_new_interface_complex_single_1stage_gpu@SUFFIX@ \
  elpa_test_new_interface_complex_single_2stage_gpu@SUFFIX@
508 509 510 511
endif

endif

Andreas Marek's avatar
Andreas Marek committed
512
build_lib = libelpatest@SUFFIX@.la libelpa@SUFFIX@.la
513 514 515 516 517

# 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 = \
518 519
	test/shared/util.F90 \
	test/shared/read_input_parameters.F90  \
520 521
	test/shared/check_correctness.F90 \
	test/shared/check_correctness_template.X90 \
522 523 524
	test/shared/setup_mpi.F90 \
	test/shared/blacs_infrastructure.F90 \
	test/shared/prepare_matrix.F90 \
525
	test/shared/mod_assert.F90 \
Andreas Marek's avatar
Andreas Marek committed
526
	test/shared/prepare_matrix_template.X90 \
527 528 529
	test/shared/mod_output_types.F90 \
	test/shared/mod_from_c.F90 \
	test/shared/call_elpa1.c
Andreas Marek's avatar
Andreas Marek committed
530

531
if HAVE_REDIRECT
532
libelpatest@SUFFIX@_la_SOURCES += \
533 534
	test/shared/redir.c \
	test/shared/redirect.F90
535
endif
536 537 538 539
elpa_test_new_interface_real_2stage@SUFFIX@_SOURCES = test/Fortran/test_new_interface_real_2stage.F90
elpa_test_new_interface_real_2stage@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
elpa_test_new_interface_real_2stage@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa_test_new_interface_real_2stage@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
540

541 542 543 544 545 546 547 548 549 550 551 552 553 554
elpa_test_new_interface_complex_2stage@SUFFIX@_SOURCES = test/Fortran/test_new_interface_complex_2stage.F90
elpa_test_new_interface_complex_2stage@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
elpa_test_new_interface_complex_2stage@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa_test_new_interface_complex_2stage@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

elpa_test_new_interface_real_1stage@SUFFIX@_SOURCES = test/Fortran/test_new_interface_real_1stage.F90
elpa_test_new_interface_real_1stage@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
elpa_test_new_interface_real_1stage@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa_test_new_interface_real_1stage@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

elpa_test_new_interface_complex_1stage@SUFFIX@_SOURCES = test/Fortran/test_new_interface_complex_1stage.F90
elpa_test_new_interface_complex_1stage@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
elpa_test_new_interface_complex_1stage@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa_test_new_interface_complex_1stage@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
555

556
elpa1_test_real_c_version@SUFFIX@_SOURCES = test/C/elpa1_test_real_c_version.c
557
elpa1_test_real_c_version@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
558
elpa1_test_real_c_version@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
559
EXTRA_elpa1_test_real_c_version@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
560

561
elpa1_test_real_with_c@SUFFIX@_SOURCES = test/Fortran/test_real_with_c.F90
562
elpa1_test_real_with_c@SUFFIX@_LDADD = $(build_lib)
563
elpa1_test_real_with_c@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
564
EXTRA_elpa1_test_real_with_c@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
565

566 567 568 569 570
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

571
elpa1_test_complex_c_version@SUFFIX@_SOURCES = test/C/elpa1_test_complex_c_version.c
572
elpa1_test_complex_c_version@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
573
elpa1_test_complex_c_version@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
574
EXTRA_elpa1_test_complex_c_version@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
575

576 577 578 579 580
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

581
elpa2_test_real_c_version@SUFFIX@_SOURCES = test/C/elpa2_test_real_c_version.c
582
elpa2_test_real_c_version@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
583
elpa2_test_real_c_version@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
584
EXTRA_elpa2_test_real_c_version@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
585

586
elpa2_test_complex_c_version@SUFFIX@_SOURCES = test/C/elpa2_test_complex_c_version.c
587
elpa2_test_complex_c_version@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
588
elpa2_test_complex_c_version@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
589
EXTRA_elpa2_test_complex_c_version@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
590

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

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

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

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

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

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

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

626 627 628 629 630
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

631
elpa2_test_real@SUFFIX@_SOURCES = test/Fortran/test_real2.F90
632
elpa2_test_real@SUFFIX@_LDADD = $(build_lib)
633
elpa2_test_real@SUFFIX@_LDFLAGS = -static
634
elpa2_test_real@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
635
EXTRA_elpa2_test_real@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
636

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

642 643 644 645
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
646

647 648 649
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
650
EXTRA_elpa2_test_real_api@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
651

652 653 654 655 656
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

657
elpa1_test_complex@SUFFIX@_SOURCES = test/Fortran/test_complex.F90
658
elpa1_test_complex@SUFFIX@_LDADD = $(build_lib)
659
elpa1_test_complex@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
660
EXTRA_elpa1_test_complex@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
Andreas Marek's avatar
Andreas Marek committed
661

662
elpa2_test_complex@SUFFIX@_SOURCES = test/Fortran/test_complex2.F90
663
elpa2_test_complex@SUFFIX@_LDADD = $(build_lib)
664
elpa2_test_complex@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
665
EXTRA_elpa2_test_complex@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
666

667 668 669 670
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
671

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

677 678 679 680 681 682
elpa2_test_complex_banded@SUFFIX@_SOURCES = test/Fortran/test_complex2_banded.F90
elpa2_test_complex_banded@SUFFIX@_LDADD = $(build_lib)
elpa2_test_complex_banded@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa2_test_complex_banded@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90


683 684 685 686 687
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

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

Andreas Marek's avatar
Andreas Marek committed
693
elpa2_print_kernels@SUFFIX@_SOURCES = src/elpa2/elpa2_print_kernels.F90
694
elpa2_print_kernels@SUFFIX@_LDADD = $(build_lib)
695
elpa2_print_kernels@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
Andreas Marek's avatar
Andreas Marek committed
696

697 698 699 700
elpa_tests@SUFFIX@_SOURCES = test/Fortran/elpa_tests.F90
elpa_tests@SUFFIX@_LDADD = $(build_lib)
elpa_tests@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules

701
if WANT_SINGLE_PRECISION_REAL
702 703 704 705 706 707 708 709 710
elpa_test_new_interface_real_single_2stage@SUFFIX@_SOURCES = test/Fortran/test_new_interface_real_single_2stage.F90
elpa_test_new_interface_real_single_2stage@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
elpa_test_new_interface_real_single_2stage@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa_test_new_interface_real_single_2stage@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

elpa_test_new_interface_real_single_1stage@SUFFIX@_SOURCES = test/Fortran/test_new_interface_real_single_1stage.F90
elpa_test_new_interface_real_single_1stage@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
elpa_test_new_interface_real_single_1stage@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa_test_new_interface_real_single_1stage@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
711

712
elpa1_test_real_single_precision@SUFFIX@_SOURCES = test/Fortran/test_real_single.F90
713
elpa1_test_real_single_precision@SUFFIX@_LDADD = $(build_lib)
714
elpa1_test_real_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
715
EXTRA_elpa1_test_real_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
716

717
elpa2_test_real_single_precision@SUFFIX@_SOURCES = test/Fortran/test_real2_single.F90
718 719
elpa2_test_real_single_precision@SUFFIX@_LDFLAGS = -static
elpa2_test_real_single_precision@SUFFIX@_LDADD = $(build_lib)
720
elpa2_test_real_single_precision@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
721
EXTRA_elpa2_test_real_single_precision@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
722

723 724 725 726 727
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

728
elpa1_real_toeplitz_single_precision@SUFFIX@_SOURCES = test/Fortran/test_toeplitz_single.F90
729 730 731 732
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

733 734 735 736 737
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

738 739 740 741 742
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

743 744 745 746 747
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

748 749 750 751 752
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

753
elpa2_test_real_default_single_precision@SUFFIX@_SOURCES = test/Fortran/test_real2_default_single.F90
754 755 756 757
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
758

759 760 761 762 763
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
764

765 766 767 768
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
769 770 771
endif

if WANT_SINGLE_PRECISION_COMPLEX
772 773 774 775 776 777 778 779 780
elpa_test_new_interface_complex_single_2stage@SUFFIX@_SOURCES = test/Fortran/test_new_interface_complex_single_2stage.F90
elpa_test_new_interface_complex_single_2stage@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
elpa_test_new_interface_complex_single_2stage@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa_test_new_interface_complex_single_2stage@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90

elpa_test_new_interface_complex_single_1stage@SUFFIX@_SOURCES = test/Fortran/test_new_interface_complex_single_1stage.F90
elpa_test_new_interface_complex_single_1stage@SUFFIX@_LDADD = $(build_lib) $(FCLIBS)
elpa_test_new_interface_complex_single_1stage@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) @FC_MODOUT@private_modules @FC_MODINC@private_modules
EXTRA_elpa_test_new_interface_complex_single_1stage@SUFFIX@_DEPENDENCIES = test/Fortran/elpa_print_headers.X90
781