Commit d5e1d51c authored by Lorenz Huedepohl's avatar Lorenz Huedepohl

Naming changes for packaging

Rename all binaries to have an elpa1_, or elpa2_ prefix.
Additionally, also ship a README and license file.
parent 8f839b44
......@@ -163,6 +163,8 @@ dist_files_DATA = \
test/test_real.F90 \
test/test_real_gen.F90
dist_doc_DATA = README COPYING/COPYING COPYING/gpl.txt COPYING/lgpl.txt
# test programs
if WITH_OPENMP
build_lib = libelpa-@PACKAGE_VERSION@_mt.la
......@@ -174,88 +176,89 @@ endif
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = elpa-@PACKAGE_VERSION@.pc
# test programs
#bindir = $(abs_top_builddir)
testsdir = $(datadir)/@PACKAGE@-@PACKAGE_VERSION@/tests
tests_PROGRAMS = test_real test_real2 test_real2_default_kernel test_complex test_complex2 test_complex2_default_kernel test_real2_choose_kernel_with_api test_complex2_choose_kernel_with_api
bin_PROGRAMS = print_available_elpa2_kernels
# programs
bin_PROGRAMS = \
elpa1_test_real \
elpa1_test_complex \
elpa2_print_kernels \
elpa2_test_real \
elpa2_test_real_default_kernel \
elpa2_test_complex \
elpa2_test_complex_default_kernel \
elpa2_test_real_choose_kernel_with_api \
elpa2_test_complex_choose_kernel_with_api
elpa1_test_real_SOURCES = test/test_real.F90
elpa1_test_real_LDADD = $(build_lib)
test_real_SOURCES = test/test_real.F90
test_real_LDADD = $(build_lib)
test_real_LDFLAGS = $(AM_LDFLAGS) -static
elpa2_test_real_SOURCES = test/test_real2.F90
elpa2_test_real_LDADD = $(build_lib)
test_real2_SOURCES = test/test_real2.F90
test_real2_LDADD = $(build_lib)
test_real2_LDFLAGS = $(AM_LDFLAGS) -static
elpa2_test_real_default_kernel_SOURCES = test/test_real2_default_kernel.F90
elpa2_test_real_default_kernel_LDADD = $(build_lib)
test_real2_default_kernel_SOURCES = test/test_real2_default_kernel.F90
test_real2_default_kernel_LDADD = $(build_lib)
test_real2_default_kernel_LDFLAGS = $(AM_LDFLAGS) -static
elpa2_test_real_choose_kernel_with_api_SOURCES = test/test_real2_choose_kernel_with_api.F90
elpa2_test_real_choose_kernel_with_api_LDADD = $(build_lib)
test_real2_choose_kernel_with_api_SOURCES = test/test_real2_choose_kernel_with_api.F90
test_real2_choose_kernel_with_api_LDADD = $(build_lib)
test_real2_choose_kernel_with_api_LDFLAGS = $(AM_LDFLAGS) -static
elpa1_test_complex_SOURCES = test/test_complex.F90
elpa1_test_complex_LDADD = $(build_lib)
test_complex_SOURCES = test/test_complex.F90
test_complex_LDADD = $(build_lib)
test_complex_LDFLAGS = $(AM_LDFLAGS) -static
elpa2_test_complex_SOURCES = test/test_complex2.F90
elpa2_test_complex_LDADD = $(build_lib)
test_complex2_SOURCES = test/test_complex2.F90
test_complex2_LDADD = $(build_lib)
test_complex2_LDFLAGS = $(AM_LDFLAGS) -static
elpa2_test_complex_default_kernel_SOURCES = test/test_complex2_default_kernel.F90
elpa2_test_complex_default_kernel_LDADD = $(build_lib)
test_complex2_default_kernel_SOURCES = test/test_complex2_default_kernel.F90
test_complex2_default_kernel_LDADD = $(build_lib)
test_complex2_default_kernel_LDFLAGS = $(AM_LDFLAGS) -static
elpa2_test_complex_choose_kernel_with_api_SOURCES = test/test_complex2_choose_kernel_with_api.F90
elpa2_test_complex_choose_kernel_with_api_LDADD = $(build_lib)
test_complex2_choose_kernel_with_api_SOURCES = test/test_complex2_choose_kernel_with_api.F90
test_complex2_choose_kernel_with_api_LDADD = $(build_lib)
test_complex2_choose_kernel_with_api_LDFLAGS = $(AM_LDFLAGS) -static
elpa2_print_kernels_SOURCES = test/print_available_elpa2_kernels.F90
elpa2_print_kernels_LDADD = $(build_lib)
print_available_elpa2_kernels_SOURCES = test/print_available_elpa2_kernels.F90
print_available_elpa2_kernels_LDADD = $(build_lib)
check_SCRIPTS = \
elpa1_test_real.sh \
elpa2_test_real.sh \
elpa2_test_real_default_kernel.sh \
elpa1_test_complex.sh \
elpa2_test_complex.sh \
elpa2_test_complex_default_kernel.sh \
elpa2_test_real_choose_kernel_with_api.sh \
elpa2_test_complex_choose_kernel_with_api.sh \
elpa2_print_kernels
check_SCRIPTS = test_real.sh test_real2.sh test_real2_default_kernel.sh test_complex.sh test_complex2.sh test_complex2_default_kernel.sh test_real2_choose_kernel_with_api.sh test_complex2_choose_kernel_with_api.sh print_available_elpa2_kernels.sh
TESTS = $(check_SCRIPTS)
test_real.sh:
echo "mpiexec -n 2 ./test_real > /dev/null 2>&1" > test_real.sh
chmod +x test_real.sh
elpa1_test_real.sh:
echo "mpiexec -n 2 ./elpa1_test_real > /dev/null 2>&1" > elpa1_test_real.sh
chmod +x elpa1_test_real.sh
test_real2.sh:
echo "mpiexec -n 2 ./test_real2 > /dev/null 2>&1" > test_real2.sh
chmod +x test_real2.sh
elpa2_test_real.sh:
echo "mpiexec -n 2 ./elpa2_test_real > /dev/null 2>&1" > elpa2_test_real.sh
chmod +x elpa2_test_real.sh
test_real2_default_kernel.sh:
echo "mpiexec -n 2 ./test_real2_default_kernel > /dev/null 2>&1" > test_real2_default_kernel.sh
chmod +x test_real2_default_kernel.sh
elpa2_test_real_default_kernel.sh:
echo "mpiexec -n 2 ./elpa2_test_real_default_kernel > /dev/null 2>&1" > elpa2_test_real_default_kernel.sh
chmod +x elpa2_test_real_default_kernel.sh
test_real2_choose_kernel_with_api.sh:
echo "mpiexec -n 2 ./test_real2_choose_kernel_with_api > /dev/null 2>&1" > test_real2_choose_kernel_with_api.sh
chmod +x test_real2_choose_kernel_with_api.sh
elpa2_test_real_choose_kernel_with_api.sh:
echo "mpiexec -n 2 ./elpa2_test_real_choose_kernel_with_api > /dev/null 2>&1" > elpa2_test_real_choose_kernel_with_api.sh
chmod +x elpa2_test_real_choose_kernel_with_api.sh
test_complex.sh:
echo "mpiexec -n 2 ./test_complex > /dev/null 2>&1" > test_complex.sh
chmod +x test_complex.sh
elpa1_test_complex.sh:
echo "mpiexec -n 2 ./elpa1_test_complex > /dev/null 2>&1" > elpa1_test_complex.sh
chmod +x elpa1_test_complex.sh
test_complex2.sh:
echo "mpiexec -n 2 ./test_complex2 > /dev/null 2>&1" > test_complex2.sh
chmod +x test_complex2.sh
test_complex2_default_kernel.sh:
echo "mpiexec -n 2 ./test_complex2_default_kernel > /dev/null 2>&1" > test_complex2_default_kernel.sh
chmod +x test_complex2_default_kernel.sh
elpa2_test_complex.sh:
echo "mpiexec -n 2 ./elpa2_test_complex > /dev/null 2>&1" > elpa2_test_complex.sh
chmod +x elpa2_test_complex.sh
test_complex2_choose_kernel_with_api.sh:
echo "mpiexec -n 2 ./test_complex2_choose_kernel_with_api > /dev/null 2>&1" > test_complex2_choose_kernel_with_api.sh
chmod +x test_complex2_choose_kernel_with_api.sh
print_available_elpa2_kernels.sh:
echo "./print_available_elpa2_kernels" > print_available_elpa2_kernels.sh
chmod +x print_available_elpa2_kernels.sh
elpa2_test_complex_default_kernel.sh:
echo "mpiexec -n 2 ./elpa2_test_complex_default_kernel > /dev/null 2>&1" > elpa2_test_complex_default_kernel.sh
chmod +x elpa2_test_complex_default_kernel.sh
elpa2_test_complex_choose_kernel_with_api.sh:
echo "mpiexec -n 2 ./elpa2_test_complex_choose_kernel_with_api > /dev/null 2>&1" > elpa2_test_complex_choose_kernel_with_api.sh
chmod +x elpa2_test_complex_choose_kernel_with_api.sh
elpa2.i: $(top_srcdir)/src/elpa2.F90
$(CPP) $(CPPFLAGS) -I$(top_builddir)/ -c $(top_srcdir)/src/elpa2.F90 -o $@
......@@ -264,19 +267,22 @@ elpa1.i: $(top_srcdir)/src/elpa1.F90
$(CPP) $(CPPFLAGS) -I$(top_builddir)/ -c $(top_srcdir)/src/elpa1.F90 -o $@
CLEANFILES = \
test_real.sh \
test_real2.sh \
test_real2_default_kernel.sh \
test_complex.sh test_complex2.sh \
test_complex2_default_kernel.sh \
test_real2_choose_kernel_with_api.sh \
test_complex2_choose_kernel_with_api.sh \
print_available_elpa2_kernels.sh \
elpa2.i \
elpa1_test_real.sh \
elpa1_test_complex.sh \
elpa2_test_real.sh \
elpa2_test_real_default_kernel.sh \
elpa2_test_complex.sh \
elpa2_test_complex_default_kernel.sh \
elpa2_test_real_choose_kernel_with_api.sh \
elpa2_test_complex_choose_kernel_with_api.sh \
elpa2_print_kernels.sh \
*.i \
config-f90.h
clean-local:
-rm -rf modules .fortran_dependencies
EXTRA_DIST = fdep/fortran_dependencies.pl fdep/fortran_dependencies.mk
@FORTRAN_MODULE_DEPS@
......@@ -107,19 +107,22 @@ host_triplet = @host@
@WITH_COMPLEX_AVX_BLOCK1_KERNEL_TRUE@@WITH_OPENMP_FALSE@am__append_24 = src/elpa2_kernels/elpa2_kernels_complex_sse-avx_1hv.cpp
@WITH_COMPLEX_AVX_BLOCK2_KERNEL_TRUE@@WITH_OPENMP_TRUE@am__append_25 = src/elpa2_kernels/elpa2_kernels_complex_sse-avx_2hv.cpp
@WITH_COMPLEX_AVX_BLOCK2_KERNEL_TRUE@@WITH_OPENMP_FALSE@am__append_26 = src/elpa2_kernels/elpa2_kernels_complex_sse-avx_2hv.cpp
tests_PROGRAMS = test_real$(EXEEXT) test_real2$(EXEEXT) \
test_real2_default_kernel$(EXEEXT) test_complex$(EXEEXT) \
test_complex2$(EXEEXT) test_complex2_default_kernel$(EXEEXT) \
test_real2_choose_kernel_with_api$(EXEEXT) \
test_complex2_choose_kernel_with_api$(EXEEXT)
bin_PROGRAMS = print_available_elpa2_kernels$(EXEEXT)
bin_PROGRAMS = elpa1_test_real$(EXEEXT) elpa1_test_complex$(EXEEXT) \
elpa2_print_kernels$(EXEEXT) elpa2_test_real$(EXEEXT) \
elpa2_test_real_default_kernel$(EXEEXT) \
elpa2_test_complex$(EXEEXT) \
elpa2_test_complex_default_kernel$(EXEEXT) \
elpa2_test_real_choose_kernel_with_api$(EXEEXT) \
elpa2_test_complex_choose_kernel_with_api$(EXEEXT)
TESTS = $(am__EXEEXT_1)
subdir = .
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
$(top_srcdir)/configure $(am__configure_deps) \
$(srcdir)/config.h.in $(srcdir)/elpa.pc.in depcomp \
$(dist_files_DATA) $(nobase_elpa_include_HEADERS) test-driver \
INSTALL README ar-lib compile config.guess config.sub \
install-sh missing ltmain.sh
$(dist_doc_DATA) $(dist_files_DATA) \
$(nobase_elpa_include_HEADERS) test-driver INSTALL README \
ar-lib compile config.guess config.sub install-sh missing \
ltmain.sh
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_gnu_make.m4 \
$(top_srcdir)/m4/ax_elpa_openmp.m4 $(top_srcdir)/m4/libtool.m4 \
......@@ -164,7 +167,7 @@ am__uninstall_files_from_dir = { \
$(am__cd) "$$dir" && rm -f $$files; }; \
}
am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
"$(DESTDIR)$(testsdir)" "$(DESTDIR)$(filesdir)" \
"$(DESTDIR)$(docdir)" "$(DESTDIR)$(filesdir)" \
"$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(elpa_includedir)"
LTLIBRARIES = $(lib_LTLIBRARIES)
libelpa_@PACKAGE_VERSION@_la_LIBADD =
......@@ -258,73 +261,43 @@ libelpa_@PACKAGE_VERSION@_mt_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \
$(libelpa_@PACKAGE_VERSION@_mt_la_LDFLAGS) $(LDFLAGS) -o $@
@WITH_OPENMP_TRUE@am_libelpa_@PACKAGE_VERSION@_mt_la_rpath = -rpath \
@WITH_OPENMP_TRUE@ $(libdir)
PROGRAMS = $(bin_PROGRAMS) $(tests_PROGRAMS)
am_print_available_elpa2_kernels_OBJECTS = \
PROGRAMS = $(bin_PROGRAMS)
am_elpa1_test_complex_OBJECTS = test/test_complex.$(OBJEXT)
elpa1_test_complex_OBJECTS = $(am_elpa1_test_complex_OBJECTS)
elpa1_test_complex_DEPENDENCIES = $(build_lib)
am_elpa1_test_real_OBJECTS = test/test_real.$(OBJEXT)
elpa1_test_real_OBJECTS = $(am_elpa1_test_real_OBJECTS)
elpa1_test_real_DEPENDENCIES = $(build_lib)
am_elpa2_print_kernels_OBJECTS = \
test/print_available_elpa2_kernels.$(OBJEXT)
print_available_elpa2_kernels_OBJECTS = \
$(am_print_available_elpa2_kernels_OBJECTS)
print_available_elpa2_kernels_DEPENDENCIES = $(build_lib)
am_test_complex_OBJECTS = test/test_complex.$(OBJEXT)
test_complex_OBJECTS = $(am_test_complex_OBJECTS)
test_complex_DEPENDENCIES = $(build_lib)
test_complex_LINK = $(LIBTOOL) $(AM_V_lt) --tag=FC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(FCLD) $(AM_FCFLAGS) $(FCFLAGS) \
$(test_complex_LDFLAGS) $(LDFLAGS) -o $@
am_test_complex2_OBJECTS = test/test_complex2.$(OBJEXT)
test_complex2_OBJECTS = $(am_test_complex2_OBJECTS)
test_complex2_DEPENDENCIES = $(build_lib)
test_complex2_LINK = $(LIBTOOL) $(AM_V_lt) --tag=FC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(FCLD) $(AM_FCFLAGS) $(FCFLAGS) \
$(test_complex2_LDFLAGS) $(LDFLAGS) -o $@
am_test_complex2_choose_kernel_with_api_OBJECTS = \
elpa2_print_kernels_OBJECTS = $(am_elpa2_print_kernels_OBJECTS)
elpa2_print_kernels_DEPENDENCIES = $(build_lib)
am_elpa2_test_complex_OBJECTS = test/test_complex2.$(OBJEXT)
elpa2_test_complex_OBJECTS = $(am_elpa2_test_complex_OBJECTS)
elpa2_test_complex_DEPENDENCIES = $(build_lib)
am_elpa2_test_complex_choose_kernel_with_api_OBJECTS = \
test/test_complex2_choose_kernel_with_api.$(OBJEXT)
test_complex2_choose_kernel_with_api_OBJECTS = \
$(am_test_complex2_choose_kernel_with_api_OBJECTS)
test_complex2_choose_kernel_with_api_DEPENDENCIES = $(build_lib)
test_complex2_choose_kernel_with_api_LINK = $(LIBTOOL) $(AM_V_lt) \
--tag=FC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \
$(FCLD) $(AM_FCFLAGS) $(FCFLAGS) \
$(test_complex2_choose_kernel_with_api_LDFLAGS) $(LDFLAGS) -o \
$@
am_test_complex2_default_kernel_OBJECTS = \
elpa2_test_complex_choose_kernel_with_api_OBJECTS = \
$(am_elpa2_test_complex_choose_kernel_with_api_OBJECTS)
elpa2_test_complex_choose_kernel_with_api_DEPENDENCIES = $(build_lib)
am_elpa2_test_complex_default_kernel_OBJECTS = \
test/test_complex2_default_kernel.$(OBJEXT)
test_complex2_default_kernel_OBJECTS = \
$(am_test_complex2_default_kernel_OBJECTS)
test_complex2_default_kernel_DEPENDENCIES = $(build_lib)
test_complex2_default_kernel_LINK = $(LIBTOOL) $(AM_V_lt) --tag=FC \
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(FCLD) \
$(AM_FCFLAGS) $(FCFLAGS) \
$(test_complex2_default_kernel_LDFLAGS) $(LDFLAGS) -o $@
am_test_real_OBJECTS = test/test_real.$(OBJEXT)
test_real_OBJECTS = $(am_test_real_OBJECTS)
test_real_DEPENDENCIES = $(build_lib)
test_real_LINK = $(LIBTOOL) $(AM_V_lt) --tag=FC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(FCLD) $(AM_FCFLAGS) $(FCFLAGS) \
$(test_real_LDFLAGS) $(LDFLAGS) -o $@
am_test_real2_OBJECTS = test/test_real2.$(OBJEXT)
test_real2_OBJECTS = $(am_test_real2_OBJECTS)
test_real2_DEPENDENCIES = $(build_lib)
test_real2_LINK = $(LIBTOOL) $(AM_V_lt) --tag=FC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(FCLD) $(AM_FCFLAGS) $(FCFLAGS) \
$(test_real2_LDFLAGS) $(LDFLAGS) -o $@
am_test_real2_choose_kernel_with_api_OBJECTS = \
elpa2_test_complex_default_kernel_OBJECTS = \
$(am_elpa2_test_complex_default_kernel_OBJECTS)
elpa2_test_complex_default_kernel_DEPENDENCIES = $(build_lib)
am_elpa2_test_real_OBJECTS = test/test_real2.$(OBJEXT)
elpa2_test_real_OBJECTS = $(am_elpa2_test_real_OBJECTS)
elpa2_test_real_DEPENDENCIES = $(build_lib)
am_elpa2_test_real_choose_kernel_with_api_OBJECTS = \
test/test_real2_choose_kernel_with_api.$(OBJEXT)
test_real2_choose_kernel_with_api_OBJECTS = \
$(am_test_real2_choose_kernel_with_api_OBJECTS)
test_real2_choose_kernel_with_api_DEPENDENCIES = $(build_lib)
test_real2_choose_kernel_with_api_LINK = $(LIBTOOL) $(AM_V_lt) \
--tag=FC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \
$(FCLD) $(AM_FCFLAGS) $(FCFLAGS) \
$(test_real2_choose_kernel_with_api_LDFLAGS) $(LDFLAGS) -o $@
am_test_real2_default_kernel_OBJECTS = \
elpa2_test_real_choose_kernel_with_api_OBJECTS = \
$(am_elpa2_test_real_choose_kernel_with_api_OBJECTS)
elpa2_test_real_choose_kernel_with_api_DEPENDENCIES = $(build_lib)
am_elpa2_test_real_default_kernel_OBJECTS = \
test/test_real2_default_kernel.$(OBJEXT)
test_real2_default_kernel_OBJECTS = \
$(am_test_real2_default_kernel_OBJECTS)
test_real2_default_kernel_DEPENDENCIES = $(build_lib)
test_real2_default_kernel_LINK = $(LIBTOOL) $(AM_V_lt) --tag=FC \
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(FCLD) \
$(AM_FCFLAGS) $(FCFLAGS) $(test_real2_default_kernel_LDFLAGS) \
$(LDFLAGS) -o $@
elpa2_test_real_default_kernel_OBJECTS = \
$(am_elpa2_test_real_default_kernel_OBJECTS)
elpa2_test_real_default_kernel_DEPENDENCIES = $(build_lib)
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false
......@@ -412,28 +385,28 @@ am__v_CCAS_0 = @echo " CCAS " $@;
am__v_CCAS_1 =
SOURCES = $(libelpa_@PACKAGE_VERSION@_la_SOURCES) \
$(libelpa_@PACKAGE_VERSION@_mt_la_SOURCES) \
$(print_available_elpa2_kernels_SOURCES) \
$(test_complex_SOURCES) $(test_complex2_SOURCES) \
$(test_complex2_choose_kernel_with_api_SOURCES) \
$(test_complex2_default_kernel_SOURCES) $(test_real_SOURCES) \
$(test_real2_SOURCES) \
$(test_real2_choose_kernel_with_api_SOURCES) \
$(test_real2_default_kernel_SOURCES)
$(elpa1_test_complex_SOURCES) $(elpa1_test_real_SOURCES) \
$(elpa2_print_kernels_SOURCES) $(elpa2_test_complex_SOURCES) \
$(elpa2_test_complex_choose_kernel_with_api_SOURCES) \
$(elpa2_test_complex_default_kernel_SOURCES) \
$(elpa2_test_real_SOURCES) \
$(elpa2_test_real_choose_kernel_with_api_SOURCES) \
$(elpa2_test_real_default_kernel_SOURCES)
DIST_SOURCES = $(am__libelpa_@PACKAGE_VERSION@_la_SOURCES_DIST) \
$(am__libelpa_@PACKAGE_VERSION@_mt_la_SOURCES_DIST) \
$(print_available_elpa2_kernels_SOURCES) \
$(test_complex_SOURCES) $(test_complex2_SOURCES) \
$(test_complex2_choose_kernel_with_api_SOURCES) \
$(test_complex2_default_kernel_SOURCES) $(test_real_SOURCES) \
$(test_real2_SOURCES) \
$(test_real2_choose_kernel_with_api_SOURCES) \
$(test_real2_default_kernel_SOURCES)
$(elpa1_test_complex_SOURCES) $(elpa1_test_real_SOURCES) \
$(elpa2_print_kernels_SOURCES) $(elpa2_test_complex_SOURCES) \
$(elpa2_test_complex_choose_kernel_with_api_SOURCES) \
$(elpa2_test_complex_default_kernel_SOURCES) \
$(elpa2_test_real_SOURCES) \
$(elpa2_test_real_choose_kernel_with_api_SOURCES) \
$(elpa2_test_real_default_kernel_SOURCES)
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
DATA = $(dist_files_DATA) $(pkgconfig_DATA)
DATA = $(dist_doc_DATA) $(dist_files_DATA) $(pkgconfig_DATA)
HEADERS = $(nobase_elpa_include_HEADERS)
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
$(LISP)config.h.in
......@@ -613,6 +586,12 @@ am__set_TESTS_bases = \
bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
bases=`echo $$bases`
RECHECK_LOGS = $(TEST_LOGS)
am__EXEEXT_1 = elpa1_test_real.sh elpa2_test_real.sh \
elpa2_test_real_default_kernel.sh elpa1_test_complex.sh \
elpa2_test_complex.sh elpa2_test_complex_default_kernel.sh \
elpa2_test_real_choose_kernel_with_api.sh \
elpa2_test_complex_choose_kernel_with_api.sh \
elpa2_print_kernels$(EXEEXT)
TEST_SUITE_LOG = test-suite.log
TEST_EXTENSIONS = @EXEEXT@ .test
LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
......@@ -850,6 +829,7 @@ dist_files_DATA = \
test/test_real.F90 \
test/test_real_gen.F90
dist_doc_DATA = README COPYING/COPYING COPYING/gpl.txt COPYING/lgpl.txt
@WITH_OPENMP_FALSE@build_lib = libelpa-@PACKAGE_VERSION@.la
# test programs
......@@ -858,49 +838,46 @@ dist_files_DATA = \
# pkg-config stuff
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = elpa-@PACKAGE_VERSION@.pc
elpa1_test_real_SOURCES = test/test_real.F90
elpa1_test_real_LDADD = $(build_lib)
elpa2_test_real_SOURCES = test/test_real2.F90
elpa2_test_real_LDADD = $(build_lib)
elpa2_test_real_default_kernel_SOURCES = test/test_real2_default_kernel.F90
elpa2_test_real_default_kernel_LDADD = $(build_lib)
elpa2_test_real_choose_kernel_with_api_SOURCES = test/test_real2_choose_kernel_with_api.F90
elpa2_test_real_choose_kernel_with_api_LDADD = $(build_lib)
elpa1_test_complex_SOURCES = test/test_complex.F90
elpa1_test_complex_LDADD = $(build_lib)
elpa2_test_complex_SOURCES = test/test_complex2.F90
elpa2_test_complex_LDADD = $(build_lib)
elpa2_test_complex_default_kernel_SOURCES = test/test_complex2_default_kernel.F90
elpa2_test_complex_default_kernel_LDADD = $(build_lib)
elpa2_test_complex_choose_kernel_with_api_SOURCES = test/test_complex2_choose_kernel_with_api.F90
elpa2_test_complex_choose_kernel_with_api_LDADD = $(build_lib)
elpa2_print_kernels_SOURCES = test/print_available_elpa2_kernels.F90
elpa2_print_kernels_LDADD = $(build_lib)
check_SCRIPTS = \
elpa1_test_real.sh \
elpa2_test_real.sh \
elpa2_test_real_default_kernel.sh \
elpa1_test_complex.sh \
elpa2_test_complex.sh \
elpa2_test_complex_default_kernel.sh \
elpa2_test_real_choose_kernel_with_api.sh \
elpa2_test_complex_choose_kernel_with_api.sh \
elpa2_print_kernels
# test programs
#bindir = $(abs_top_builddir)
testsdir = $(datadir)/@PACKAGE@-@PACKAGE_VERSION@/tests
test_real_SOURCES = test/test_real.F90
test_real_LDADD = $(build_lib)
test_real_LDFLAGS = $(AM_LDFLAGS) -static
test_real2_SOURCES = test/test_real2.F90
test_real2_LDADD = $(build_lib)
test_real2_LDFLAGS = $(AM_LDFLAGS) -static
test_real2_default_kernel_SOURCES = test/test_real2_default_kernel.F90
test_real2_default_kernel_LDADD = $(build_lib)
test_real2_default_kernel_LDFLAGS = $(AM_LDFLAGS) -static
test_real2_choose_kernel_with_api_SOURCES = test/test_real2_choose_kernel_with_api.F90
test_real2_choose_kernel_with_api_LDADD = $(build_lib)
test_real2_choose_kernel_with_api_LDFLAGS = $(AM_LDFLAGS) -static
test_complex_SOURCES = test/test_complex.F90
test_complex_LDADD = $(build_lib)
test_complex_LDFLAGS = $(AM_LDFLAGS) -static
test_complex2_SOURCES = test/test_complex2.F90
test_complex2_LDADD = $(build_lib)
test_complex2_LDFLAGS = $(AM_LDFLAGS) -static
test_complex2_default_kernel_SOURCES = test/test_complex2_default_kernel.F90
test_complex2_default_kernel_LDADD = $(build_lib)
test_complex2_default_kernel_LDFLAGS = $(AM_LDFLAGS) -static
test_complex2_choose_kernel_with_api_SOURCES = test/test_complex2_choose_kernel_with_api.F90
test_complex2_choose_kernel_with_api_LDADD = $(build_lib)
test_complex2_choose_kernel_with_api_LDFLAGS = $(AM_LDFLAGS) -static
print_available_elpa2_kernels_SOURCES = test/print_available_elpa2_kernels.F90
print_available_elpa2_kernels_LDADD = $(build_lib)
check_SCRIPTS = test_real.sh test_real2.sh test_real2_default_kernel.sh test_complex.sh test_complex2.sh test_complex2_default_kernel.sh test_real2_choose_kernel_with_api.sh test_complex2_choose_kernel_with_api.sh print_available_elpa2_kernels.sh
TESTS = $(check_SCRIPTS)
CLEANFILES = \
test_real.sh \
test_real2.sh \
test_real2_default_kernel.sh \
test_complex.sh test_complex2.sh \
test_complex2_default_kernel.sh \
test_real2_choose_kernel_with_api.sh \
test_complex2_choose_kernel_with_api.sh \
print_available_elpa2_kernels.sh \
elpa2.i \
elpa1_test_real.sh \
elpa1_test_complex.sh \
elpa2_test_real.sh \
elpa2_test_real_default_kernel.sh \
elpa2_test_complex.sh \
elpa2_test_complex_default_kernel.sh \
elpa2_test_real_choose_kernel_with_api.sh \
elpa2_test_complex_choose_kernel_with_api.sh \
elpa2_print_kernels.sh \
*.i \
config-f90.h
EXTRA_DIST = fdep/fortran_dependencies.pl fdep/fortran_dependencies.mk
......@@ -1100,115 +1077,66 @@ clean-binPROGRAMS:
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
echo " rm -f" $$list; \
rm -f $$list
install-testsPROGRAMS: $(tests_PROGRAMS)
@$(NORMAL_INSTALL)
@list='$(tests_PROGRAMS)'; test -n "$(testsdir)" || list=; \
if test -n "$$list"; then \
echo " $(MKDIR_P) '$(DESTDIR)$(testsdir)'"; \
$(MKDIR_P) "$(DESTDIR)$(testsdir)" || exit 1; \
fi; \
for p in $$list; do echo "$$p $$p"; done | \
sed 's/$(EXEEXT)$$//' | \
while read p p1; do if test -f $$p \
|| test -f $$p1 \
; then echo "$$p"; echo "$$p"; else :; fi; \
done | \
sed -e 'p;s,.*/,,;n;h' \
-e 's|.*|.|' \
-e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
sed 'N;N;N;s,\n, ,g' | \
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
{ d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
if ($$2 == $$4) files[d] = files[d] " " $$1; \
else { print "f", $$3 "/" $$4, $$1; } } \
END { for (d in files) print "f", d, files[d] }' | \
while read type dir files; do \
if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
test -z "$$files" || { \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(testsdir)$$dir'"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(testsdir)$$dir" || exit $$?; \
} \
; done
uninstall-testsPROGRAMS:
@$(NORMAL_UNINSTALL)
@list='$(tests_PROGRAMS)'; test -n "$(testsdir)" || list=; \
files=`for p in $$list; do echo "$$p"; done | \
sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
-e 's/$$/$(EXEEXT)/' \
`; \
test -n "$$list" || exit 0; \
echo " ( cd '$(DESTDIR)$(testsdir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(testsdir)" && rm -f $$files
clean-testsPROGRAMS:
@list='$(tests_PROGRAMS)'; test -n "$$list" || exit 0; \
echo " rm -f" $$list; \
rm -f $$list || exit $$?; \
test -n "$(EXEEXT)" || exit 0; \
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
echo " rm -f" $$list; \
rm -f $$list
test/$(am__dirstamp):
@$(MKDIR_P) test
@: > test/$(am__dirstamp)
test/$(DEPDIR)/$(am__dirstamp):
@$(MKDIR_P) test/$(DEPDIR)
@: > test/$(DEPDIR)/$(am__dirstamp)
test/print_available_elpa2_kernels.$(OBJEXT): test/$(am__dirstamp) \
test/test_complex.$(OBJEXT): test/$(am__dirstamp) \
test/$(DEPDIR)/$(am__dirstamp)
print_available_elpa2_kernels$(EXEEXT): $(print_available_elpa2_kernels_OBJECTS) $(print_available_elpa2_kernels_DEPENDENCIES) $(EXTRA_print_available_elpa2_kernels_DEPENDENCIES)
@rm -f print_available_elpa2_kernels$(EXEEXT)
$(AM_V_FCLD)$(FCLINK) $(print_available_elpa2_kernels_OBJECTS) $(print_available_elpa2_kernels_LDADD) $(LIBS)
test/test_complex.$(OBJEXT): test/$(am__dirstamp) \
elpa1_test_complex$(EXEEXT): $(elpa1_test_complex_OBJECTS) $(elpa1_test_complex_DEPENDENCIES) $(EXTRA_elpa1_test_complex_DEPENDENCIES)
@rm -f elpa1_test_complex$(EXEEXT)
$(AM_V_FCLD)$(FCLINK) $(elpa1_test_complex_OBJECTS) $(elpa1_test_complex_LDADD) $(LIBS)
test/test_real.$(OBJEXT): test/$(am__dirstamp) \
test/$(DEPDIR)/$(am__dirstamp)
test_complex$(EXEEXT): $(test_complex_OBJECTS) $(test_complex_DEPENDENCIES) $(EXTRA_test_complex_DEPENDENCIES)
@rm -f test_complex$(EXEEXT)
$(AM_V_FCLD)$(test_complex_LINK) $(test_complex_OBJECTS) $(test_complex_LDADD) $(LIBS)
elpa1_test_real$(EXEEXT): $(elpa1_test_real_OBJECTS) $(elpa1_test_real_DEPENDENCIES) $(EXTRA_elpa1_test_real_DEPENDENCIES)
@rm -f elpa1_test_real$(EXEEXT)
$(AM_V_FCLD)$(FCLINK) $(elpa1_test_real_OBJECTS) $(elpa1_test_real_LDADD) $(LIBS)
test/print_available_elpa2_kernels.$(OBJEXT): test/$(am__dirstamp) \
test/$(DEPDIR)/$(am__dirstamp)
elpa2_print_kernels$(EXEEXT): $(elpa2_print_kernels_OBJECTS) $(elpa2_print_kernels_DEPENDENCIES) $(EXTRA_elpa2_print_kernels_DEPENDENCIES)
@rm -f elpa2_print_kernels$(EXEEXT)
$(AM_V_FCLD)$(FCLINK) $(elpa2_print_kernels_OBJECTS) $(elpa2_print_kernels_LDADD) $(LIBS)
test/test_complex2.$(OBJEXT): test/$(am__dirstamp) \
test/$(DEPDIR)/$(am__dirstamp)
test_complex2$(EXEEXT): $(test_complex2_OBJECTS) $(test_complex2_DEPENDENCIES) $(EXTRA_test_complex2_DEPENDENCIES)
@rm -f test_complex2$(EXEEXT)
$(AM_V_FCLD)$(test_complex2_LINK) $(test_complex2_OBJECTS) $(test_complex2_LDADD) $(LIBS)
elpa2_test_complex$(EXEEXT): $(elpa2_test_complex_OBJECTS) $(elpa2_test_complex_DEPENDENCIES) $(EXTRA_elpa2_test_complex_DEPENDENCIES)
@rm -f elpa2_test_complex$(EXEEXT)
$(AM_V_FCLD)$(FCLINK) $(elpa2_test_complex_OBJECTS) $(elpa2_test_complex_LDADD) $(LIBS)
test/test_complex2_choose_kernel_with_api.$(OBJEXT): \
test/$(am__dirstamp) test/$(DEPDIR)/$(am__dirstamp)
test_complex2_choose_kernel_with_api$(EXEEXT): $(test_complex2_choose_kernel_with_api_OBJECTS) $(test_complex2_choose_kernel_with_api_DEPENDENCIES) $(EXTRA_test_complex2_choose_kernel_with_api_DEPENDENCIES)
@rm -f test_complex2_choose_kernel_with_api$(EXEEXT)
$(AM_V_FCLD)$(test_complex2_choose_kernel_with_api_LINK) $(test_complex2_choose_kernel_with_api_OBJECTS) $(test_complex2_choose_kernel_with_api_LDADD) $(LIBS)
elpa2_test_complex_choose_kernel_with_api$(EXEEXT): $(elpa2_test_complex_choose_kernel_with_api_OBJECTS) $(elpa2_test_complex_choose_kernel_with_api_DEPENDENCIES) $(EXTRA_elpa2_test_complex_choose_kernel_with_api_DEPENDENCIES)
@rm -f elpa2_test_complex_choose_kernel_with_api$(EXEEXT)
$(AM_V_FCLD)$(FCLINK) $(elpa2_test_complex_choose_kernel_with_api_OBJECTS) $(elpa2_test_complex_choose_kernel_with_api_LDADD) $(LIBS)
test/test_complex2_default_kernel.$(OBJEXT): test/$(am__dirstamp) \
test/$(DEPDIR)/$(am__dirstamp)
test_complex2_default_kernel$(EXEEXT): $(test_complex2_default_kernel_OBJECTS) $(test_complex2_default_kernel_DEPENDENCIES) $(EXTRA_test_complex2_default_kernel_DEPENDENCIES)
@rm -f test_complex2_default_kernel$(EXEEXT)
$(AM_V_FCLD)$(test_complex2_default_kernel_LINK) $(test_complex2_default_kernel_OBJECTS) $(test_complex2_default_kernel_LDADD) $(LIBS)
test/test_real.$(OBJEXT): test/$(am__dirstamp) \
test/$(DEPDIR)/$(am__dirstamp)
test_real$(EXEEXT): $(test_real_OBJECTS) $(test_real_DEPENDENCIES) $(EXTRA_test_real_DEPENDENCIES)
@rm -f test_real$(EXEEXT)
$(AM_V_FCLD)$(test_real_LINK) $(test_real_OBJECTS) $(test_real_LDADD) $(LIBS)
elpa2_test_complex_default_kernel$(EXEEXT): $(elpa2_test_complex_default_kernel_OBJECTS) $(elpa2_test_complex_default_kernel_DEPENDENCIES) $(EXTRA_elpa2_test_complex_default_kernel_DEPENDENCIES)
@rm -f elpa2_test_complex_default_kernel$(EXEEXT)
$(AM_V_FCLD)$(FCLINK) $(elpa2_test_complex_default_kernel_OBJECTS) $(elpa2_test_complex_default_kernel_LDADD) $(LIBS)
test/test_real2.$(OBJEXT): test/$(am__dirstamp) \
test/$(DEPDIR)/$(am__dirstamp)
test_real2$(EXEEXT): $(test_real2_OBJECTS) $(test_real2_DEPENDENCIES) $(EXTRA_test_real2_DEPENDENCIES)
@rm -f test_real2$(EXEEXT)
$(AM_V_FCLD)$(test_real2_LINK) $(test_real2_OBJECTS) $(test_real2_LDADD) $(LIBS)
elpa2_test_real$(EXEEXT): $(elpa2_test_real_OBJECTS) $(elpa2_test_real_DEPENDENCIES) $(EXTRA_elpa2_test_real_DEPENDENCIES)
@rm -f elpa2_test_real$(EXEEXT)
$(AM_V_FCLD)$(FCLINK) $(elpa2_test_real_OBJECTS) $(elpa2_test_real_LDADD) $(LIBS)
test/test_real2_choose_kernel_with_api.$(OBJEXT): \
test/$(am__dirstamp) test/$(DEPDIR)/$(am__dirstamp)
test_real2_choose_kernel_with_api$(EXEEXT): $(test_real2_choose_kernel_with_api_OBJECTS) $(test_real2_choose_kernel_with_api_DEPENDENCIES) $(EXTRA_test_real2_choose_kernel_with_api_DEPENDENCIES)
@rm -f test_real2_choose_kernel_with_api$(EXEEXT)
$(AM_V_FCLD)$(test_real2_choose_kernel_with_api_LINK) $(test_real2_choose_kernel_with_api_OBJECTS) $(test_real2_choose_kernel_with_api_LDADD) $(LIBS)
elpa2_test_real_choose_kernel_with_api$(EXEEXT): $(elpa2_test_real_choose_kernel_with_api_OBJECTS) $(elpa2_test_real_choose_kernel_with_api_DEPENDENCIES) $(EXTRA_elpa2_test_real_choose_kernel_with_api_DEPENDENCIES)
@rm -f elpa2_test_real_choose_kernel_with_api$(EXEEXT)