Commit 4fd03da2 authored by Andreas Marek's avatar Andreas Marek
Browse files

Smaller changes for ELPA 2014.06 release

- the library version number is changed due to change in ABI
- the INSTALL ascii file is updated
- a RELEASE_NOTES file is introduced
parent 53f2f2c6
......@@ -7,7 +7,9 @@ install ELPA as library, but to include it in your source code, please refer
to point (B). An example makefile "Makefile.example" can be found in ./test,
to give some hints how this is done. Please distibute then all files of ELPA
with your code. Please note, that usage of ELPA as described in Section (B)
requires advanced knowledge about compilers, preprocessor flags, and optimizations.
requires advanced knowledge about compilers, preprocessor flags, and
optimizations. Please also not, that we cannot give any official support if
ELPA is used as described in Section (B)!
......@@ -20,20 +22,32 @@ The configure installation is best done in four steps
Check the available options with "configure --help".
ELPA is shipped with several different versions of the
elpa2-kernel, each optimized and tuned for a different
architecture. Since, at the moment we do not want to
define a default, which works but maybe with less then
the optimal performance, it is MANDATORY that you choose
(real and complex kernels) for your system, via the
"--with-..." option. For hints which kernels might be best
for you, please refer to the file
"./src/elpa2_kernels/README_elpa2_kernels.txt".
If no kernel is specified at the configure step an exception
prompting this error is thrown.
elpa2-kernel, each is optimized and tuned for a different
architecture.
1.1) Choice of ELPA2 kernels
With this release of ELPA (2014.06 or newer) it is _not_
mandatory anymore to define the (real and complex) kernels
at build time. The configure procedure will build all the
kernels which can be used on the build system. The choice of
the kernels is now a run-time option. This is the most
convenient and also recommended way. It is intended to augment
this with an auto-tuning feature.
Nevertheless, one can still define at build-time _one_
specific kernel (for the real and the complex case each).
Then, ELPA is configured only with this real (and complex)
kernel, and all run-time checking is disabled. Have a look
at the "configure --help" messages and please refer to the
file "./src/elpa2_kernels/README_elpa2_kernels.txt".
1.2 Setting up blacs/scalapack
Please point to your blacs/scalapack installation and the
linkline with the variables "BLACS_LDFLAGS" and "BLACS_FCFLAGS".
"BLACS_LDFLAGS" should then contain the correct linkline for your
"BLACS_LDFLAGS" should contain the correct linkline for your
blacs/scalapack installation and "BLACS_FCFLAGS" the include path
and any other flags you need at compile time.
......@@ -43,21 +57,36 @@ The configure installation is best done in four steps
You can either specify your own builds of lapack/blacs/scalapack
or use specialized Vendor packages, e.g. if available you can use
Intel's MKL. If you do not set the variables "BLACS_LDFLAGS" and
"BLACS_FCFLAGS" ELPA will not be build!
Intel's MKL.
The configure procedure will check whether blacs/scalapack is available
at build-time. If you do not set the variables "BLACS_LDFLAGS" and
"BLACS_FCFLAGS" the chances are high that ELPA will not build.
1.3 Setting optimizations
Please set the optimisation that you would like with the
variable "FCFLAGS", "CFLAGS", and "CXXFLAGS", e.g. FCFLAGS="-O3 -xAVX",
please see "./src/elpa2_kernels/README_elpa2_kernels.txt".
Setting the optimization flags for the AVX kernels can be a hazel. If AVX
kernels are build for your system, you can set the configure option
"--with-avx-optimizations=yes". This will automatically set a few compiler
optimization flags which turned out to be beneficial for AVX support.
However, it might be that on your system/compiler version etc. other flags
are the better choice.
1.4 Installation location
Set the "prefix" - flag, if you wish another installation location than
the default "/usr/local/".
1.5 Hybrid OpenMP support
If you want to use the hybrid MPI/OpenMP version of ELPA please specify
"--enable-openmp" or "--with-openmp". Note that the Bluegene P/Q kernels
are not yet tested in the combination with OpenMP and thus at the moment
this combination is switched of. Please see ./src/elpa2_kernels/README_elpa2_kernels.txt for more details and a hint how to use it anyway.
"--enable-openmp" or "--with-openmp".
1.6 Other
Note, that at the moment we do not officially support "cross compilation"
allthough it should work.
......@@ -67,11 +96,16 @@ The configure installation is best done in four steps
3) run "make check"
a simple test of ELPA is done. At the moment the usage of "mpiexec"
is required. If this is not possible at your system, you can run the
binaries "test_real", "test_real2", "test_complex", and "test_complex2"
binaries "test_real", "test_real2", "test_complex", "test_complex2",
"test_complex2_default_kernel", "test_complex2_choose_kernel_with_api",
"test_real2_default_kernel", and "test_real2_choose_kernel_with_api"
yourself. At the moment the tests check whether the residual and the
orthogonality of the found eigenvectors are lower than a threshold of
5e-12. If this test fails, or if you believe the threshold should be
even lower, please talk to us.
even lower, please talk to us. Furthermore, your run-time choice of
ELPA kernels is tested. This is intended as a help to get used to this
new feature. With the same thought in mind a binary "print_available_elpa2_kernels"
is provided, which is rather self-explanatory.
4) run "make install"
......@@ -86,7 +120,7 @@ B) Installing ELPA without the autotools procedure
If you do so, please distibute then all files of ELPA with your code.
However, this is not the recommended way for several reasons:
- from the last release, ELPA has grown substantially in performance
- for several releases, ELPA has grown substantially in performance
optimizations but also complexity. The simple "just use elpa source
files in your code" approach is becoming more and more difficult.
- you still have to choose an elpa2-kernel (see at (A)). Getting them
......
......@@ -176,11 +176,6 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = elpa.pc
# test programs
if WITH_OPENMP
build_lib = libelpa_mt.la
else
build_lib = libelpa.la
endif
#bindir = $(abs_top_builddir)
bin_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 print_available_elpa2_kernels
......
This file contains the release notes for the ELPA 2014.06.000 version
What is new?
-------------
With this release (and newer) it is not mandatory anymore to specify the real
and complex kernels at build-time! Instead the choice of kernel is now a
run-time option
The kernels can either be choosen by environment variables "REAL_ELPA_KERNEL"
and "COMPLEX_ELPA_KERNEL", or in the code with an additional argument in
the call to the library (see the examples in ./test for more details)
It is still possible to build ELPA with a specific real and complex kernel, if
one wants to obtain the old behaviour (see configure --help for the exact
options)
Any incompatibles to previous version?
---------------------------------------
The ABI of ELPA has changed! It will be necessary to rebuild the programs using
ELPA if this new version should be used. Beware, that not rebuilding the user
programs most likely leads to undefined behaviour!
......@@ -3057,7 +3057,8 @@ ELPA_LIB_VERSION=2014.06.000
 
# this is the version of the API, should be changed in the major revision
# if and only if the actual API changes
ELPA_SO_VERSION=0:0:0
# see http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
ELPA_SO_VERSION=1:0:0
 
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
......@@ -3128,7 +3129,7 @@ $as_echo "no" >&6; }
fi
 
 
if test "x${CPP_FOUND}" = xno; then
if test x"${CPP_FOUND}" = xno; then
as_fn_error $? "no cpp found" "$LINENO" 5
fi
 
......@@ -5579,7 +5580,7 @@ else
 
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
if test "x${can_compile_avx}" = "xno"; then
if test x"${can_compile_avx}" = x"no"; then
CFLAGS="$CFLAGS -mavx"
CXXFLAGS="$CXXFLAGS -mavx"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
......@@ -5603,7 +5604,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${can_compile_avx}" >&5
$as_echo "${can_compile_avx}" >&6; }
 
if test "x${can_compile_avx}" = "xyes"; then
if test x"${can_compile_avx}" = x"yes"; then
install_real_avx_block2=yes
install_real_avx_block4=yes
install_real_avx_block6=yes
......@@ -5626,7 +5627,7 @@ fi
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_avx_optimization}" >&5
$as_echo "${with_avx_optimization}" >&6; }
if test "x${with_avx_optimization}" = xyes; then
if test x"${with_avx_optimization}" = xyes; then
CFLAGS="$CFLAGS -funsafe-loop-optimizations -funsafe-math-optimizations -ftree-vect-loop-version -ftree-vectorize"
CXXFLAGS="$CXXFLAGS -funsafe-loop-optimizations -funsafe-math-optimizations -ftree-vect-loop-version -ftree-vectorize"
fi
......@@ -6128,7 +6129,7 @@ if test x"$_ax_prog_fc_mpi_mpi_found" = xyes; then :
else
 
have_mpi=no
if test "x${have_mpi}" = xno; then
if test x"${have_mpi}" = xno; then
as_fn_error $? "no mpi found" "$LINENO" 5
fi
:
......@@ -6341,7 +6342,7 @@ fi
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_openmp}" >&5
$as_echo "${with_openmp}" >&6; }
if test "x${enable_openmp}" = xyes; then
if test x"${enable_openmp}" = xyes; then
with_openmp=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --enable-openmp is specified" >&5
$as_echo_n "checking whether --enable-openmp is specified... " >&6; }
......@@ -6356,7 +6357,7 @@ else
WITH_OPENMP_FALSE=
fi
 
if test "x${with_openmp}" = xyes; then
if test x"${with_openmp}" = xyes; then
 
$as_echo "#define WITH_OPENMP 1" >>confdefs.h
 
......@@ -6495,7 +6496,7 @@ rm -f core conftest.err conftest.$ac_objext \
$as_echo "${have_mkl}" >&6; }
fi
 
if test "x${have_mkl}" = "xyes" ; then
if test x"${have_mkl}" = x"yes" ; then
WITH_MKL=1
else
 
......@@ -6549,7 +6550,7 @@ $as_echo_n "checking whether we can link a program with a blas lib... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_blas}" >&5
$as_echo "${have_blas}" >&6; }
 
if test "x${have_blas}" = "xno" ; then
if test x"${have_blas}" = x"no" ; then
as_fn_error $? "could not link with blas: specify path" "$LINENO" 5
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlarrv" >&5
......@@ -6602,7 +6603,7 @@ $as_echo_n "checking whether we can link a program with a lapack lib... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_lapack}" >&5
$as_echo "${have_lapack}" >&6; }
 
if test "x${have_lapack}" = "xno" ; then
if test x"${have_lapack}" = x"no" ; then
as_fn_error $? "could not link with lapack: specify path" "$LINENO" 5
fi
 
......@@ -6658,7 +6659,7 @@ $as_echo "${have_blacs}" >&6; }
 
 
 
if test "x${have_blacs}" = "xno" ; then
if test x"${have_blacs}" = x"no" ; then
as_fn_error $? "could not link with blacs: specify path" "$LINENO" 5
fi
 
......@@ -6712,7 +6713,7 @@ $as_echo_n "checking whether we can link a program with a scalapack lib... " >&6
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_scalapack}" >&5
$as_echo "${have_scalapack}" >&6; }
 
if test "x${have_scalapack}" = "xno" ; then
if test x"${have_scalapack}" = x"no" ; then
as_fn_error $? "could not link with scalapack: specify path" "$LINENO" 5
fi
 
......@@ -6744,7 +6745,7 @@ rm -f core conftest.err conftest.$ac_objext \
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${can_link_with_blacs_scalapack}" >&5
$as_echo "${can_link_with_blacs_scalapack}" >&6; }
 
if test "x${can_link_with_blacs_scalapack}" = "xyes" ; then
if test x"${can_link_with_blacs_scalapack}" = x"yes" ; then
WITH_BLACS=1
else
as_fn_error $? "We can neither link with MKL or another Scalpack. Please specify BLACS_LDFLAGS and BLACS_FCFLAGS!" "$LINENO" 5
......@@ -6805,7 +6806,7 @@ rm -f core conftest.err conftest.$ac_objext \
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${can_compile_bgp}" >&5
$as_echo "${can_compile_bgp}" >&6; }
 
if test "x${can_compile_bgp}" = "xyes" ; then
if test x"${can_compile_bgp}" = x"yes" ; then
install_real_bgp=yes
install_complex_bgp=yes
fi
......@@ -6834,13 +6835,13 @@ rm -f core conftest.err conftest.$ac_objext \
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${can_compile_bgq}" >&5
$as_echo "${can_compile_bgq}" >&6; }
 
if test "x${can_compile_bgq}" = "xyes" ; then
if test x"${can_compile_bgq}" = x"yes" ; then
install_real_bgq=yes
install_complex_bgq=yes
fi
 
 
if test "x${fortran_can_check_environment}" = "xyes" ; then
if test x"${fortran_can_check_environment}" = x"yes" ; then
 
$as_echo "#define HAVE_ENVIRONMENT_CHECKING 1" >>confdefs.h
 
......@@ -6855,9 +6856,9 @@ else
fi
 
 
if test "${with_real_generic_kernel}" = "xyes" ; then
if test "x${use_specific_real_kernel}" = "xno" ; then
# if test "x${can_compile_sse}" = "xyes" ; then
if test x"${with_real_generic_kernel}" = x"yes" ; then
if test x"${use_specific_real_kernel}" = x"no" ; then
# if test x"${can_compile_sse}" = x"yes" ; then
 
install_real_generic=yes
install_real_generic_simple=no
......@@ -6891,8 +6892,8 @@ else
fi
 
 
if test "${with_real_generic_simple_kernel}" = "xyes" ; then
if test "x${use_specific_real_kernel}" = "xno" ; then
if test x"${with_real_generic_simple_kernel}" = x"yes" ; then
if test x"${use_specific_real_kernel}" = x"no" ; then
 
install_real_generic=no
install_real_generic_simple=yes
......@@ -6924,9 +6925,9 @@ else
fi
 
 
if test "${with_real_sse_kernel}" = "xyes" ; then
if test "x${use_specific_real_kernel}" = "xno" ; then
if test "x${can_compile_sse}" = "xyes" ; then
if test x"${with_real_sse_kernel}" = x"yes" ; then
if test x"${use_specific_real_kernel}" = x"no" ; then
if test x"${can_compile_sse}" = x"yes" ; then
 
install_real_generic=no
install_real_generic_simple=no
......@@ -6963,9 +6964,9 @@ else
fi
 
 
if test "${with_real_bgp_kernel}" = "xyes" ; then
if test "x${use_specific_real_kernel}" = "xno" ; then
if test "x${can_compile_bgp}" = "xyes" ; then
if test x"${with_real_bgp_kernel}" = x"yes" ; then
if test x"${use_specific_real_kernel}" = x"no" ; then
if test x"${can_compile_bgp}" = x"yes" ; then
 
install_real_generic=no
install_real_generic_simple=no
......@@ -7002,9 +7003,9 @@ else
fi
 
 
if test "${with_real_bgq_kernel}" = "xyes" ; then
if test "x${use_specific_real_kernel}" = "xno" ; then
if test "x${can_compile_bgq}" = "xyes" ; then
if test x"${with_real_bgq_kernel}" = x"yes" ; then
if test x"${use_specific_real_kernel}" = x"no" ; then
if test x"${can_compile_bgq}" = x"yes" ; then
 
install_real_generic=no
install_real_generic_simple=no
......@@ -7041,9 +7042,9 @@ else
fi
 
 
if test "${with_real_avx_block2_kernel}" = "xyes" ; then
if test "x${use_specific_real_kernel}" = "xno" ; then
if test "x${can_compile_avx}" = "xyes" ; then
if test x"${with_real_avx_block2_kernel}" = x"yes" ; then
if test x"${use_specific_real_kernel}" = x"no" ; then
if test x"${can_compile_avx}" = x"yes" ; then
 
install_real_generic=no
install_real_generic_simple=no
......@@ -7080,9 +7081,9 @@ else
fi
 
 
if test "${with_real_avx_block4_kernel}" = "xyes" ; then
if test "x${use_specific_real_kernel}" = "xno" ; then
if test "x${can_compile_avx}" = "xyes" ; then
if test x"${with_real_avx_block4_kernel}" = x"yes" ; then
if test x"${use_specific_real_kernel}" = x"no" ; then
if test x"${can_compile_avx}" = x"yes" ; then
 
install_real_generic=no
install_real_generic_simple=no
......@@ -7119,9 +7120,9 @@ else
fi
 
 
if test "${with_real_avx_block6_kernel}" = "xyes" ; then
if test "x${use_specific_real_kernel}" = "xno" ; then
if test "x${can_compile_avx}" = "xyes" ; then
if test x"${with_real_avx_block6_kernel}" = x"yes" ; then
if test x"${use_specific_real_kernel}" = x"no" ; then
if test x"${can_compile_avx}" = x"yes" ; then
 
install_real_generic=no
install_real_generic_simple=no
......@@ -7159,8 +7160,8 @@ else
fi
 
 
if test "${with_complex_generic_kernel}" = "xyes" ; then
if test "x${use_specific_complex_kernel}" = "xno" ; then
if test x"${with_complex_generic_kernel}" = x"yes" ; then
if test x"${use_specific_complex_kernel}" = x"no" ; then
 
install_complex_generic=yes
install_complex_generic_simple=no
......@@ -7191,8 +7192,8 @@ else
fi
 
 
if test "${with_complex_generic_simple_kernel}" = "xyes" ; then
if test "x${use_specific_complex_kernel}" = "xno" ; then
if test x"${with_complex_generic_simple_kernel}" = x"yes" ; then
if test x"${use_specific_complex_kernel}" = x"no" ; then
 
install_complex_generic=no
install_complex_generic_simple=yes
......@@ -7224,9 +7225,9 @@ else
fi
 
 
if test "${with_complex_sse_kernel}" = "xyes" ; then
if test "x${use_specific_complex_kernel}" = "xno" ; then
if test "x${can_compile_sse}" = "xyes" ; then
if test x"${with_complex_sse_kernel}" = x"yes" ; then
if test x"${use_specific_complex_kernel}" = x"no" ; then
if test x"${can_compile_sse}" = x"yes" ; then
 
install_complex_generic=no
install_complex_generic_simple=no
......@@ -7263,9 +7264,9 @@ else
fi
 
 
if test "${with_complex_bgp_kernel}" = "xyes" ; then
if test "x${use_specific_complex_kernel}" = "xno" ; then
if test "x${can_compile_bgp}" = "xyes" ; then
if test x"${with_complex_bgp_kernel}" = x"yes" ; then
if test x"${use_specific_complex_kernel}" = x"no" ; then
if test x"${can_compile_bgp}" = x"yes" ; then
 
install_complex_generic=no
install_complex_generic_simple=no
......@@ -7303,9 +7304,9 @@ else
fi
 
 
if test "${with_complex_bgq_kernel}" = "xyes" ; then
if test "x${use_specific_complex_kernel}" = "xno" ; then
if test "x${can_compile_bgq}" = "xyes" ; then
if test x"${with_complex_bgq_kernel}" = x"yes" ; then
if test x"${use_specific_complex_kernel}" = x"no" ; then
if test x"${can_compile_bgq}" = x"yes" ; then
 
install_complex_generic=no
install_complex_generic_simple=no
......@@ -7342,9 +7343,9 @@ else
fi
 
 
if test "${with_complex_avx_block1_kernel}" = "xyes" ; then
if test "x${use_specific_complex_kernel}" = "xno" ; then
if test "x${can_compile_avx}" = "xyes" ; then
if test x"${with_complex_avx_block1_kernel}" = x"yes" ; then
if test x"${use_specific_complex_kernel}" = x"no" ; then
if test x"${can_compile_avx}" = x"yes" ; then
 
install_complex_generic=no
install_complex_generic_simple=no
......@@ -7379,9 +7380,9 @@ else
fi
 
 
if test "${with_complex_avx_block2_kernel}" = "xyes" ; then
if test "x${use_specific_complex_kernel}" = "xno" ; then
if test "x${can_compile_avx}" = "xyes" ; then
if test x"${with_complex_avx_block2_kernel}" = x"yes" ; then
if test x"${use_specific_complex_kernel}" = x"no" ; then
if test x"${can_compile_avx}" = x"yes" ; then
 
install_complex_generic=no
install_complex_generic_simple=no
......@@ -7408,7 +7409,7 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
 
 
if test "x${can_use_iso_fortran_env}" = "xyes" ; then
if test x"${can_use_iso_fortran_env}" = x"yes" ; then
 
$as_echo "#define HAVE_ISO_FORTRAN_ENV 1" >>confdefs.h
 
......@@ -7423,7 +7424,7 @@ else
WITH_REAL_GENERIC_KERNEL_FALSE=
fi
 
if test "x${install_real_generic}" = "xyes" ; then
if test x"${install_real_generic}" = x"yes" ; then
 
$as_echo "#define WITH_REAL_GENERIC_KERNEL 1" >>confdefs.h
 
......@@ -7437,7 +7438,7 @@ else
WITH_COMPLEX_GENERIC_KERNEL_FALSE=
fi
 
if test "x${install_complex_generic}" = "xyes" ; then
if test x"${install_complex_generic}" = x"yes" ; then
 
$as_echo "#define WITH_COMPLEX_GENERIC_KERNEL 1" >>confdefs.h
 
......@@ -7451,7 +7452,7 @@ else
WITH_REAL_GENERIC_SIMPLE_KERNEL_FALSE=
fi
 
if test "x${install_real_generic_simple}" = "xyes" ; then
if test x"${install_real_generic_simple}" = x"yes" ; then
 
$as_echo "#define WITH_REAL_GENERIC_SIMPLE_KERNEL 1" >>confdefs.h
 
......@@ -7465,7 +7466,7 @@ else
WITH_COMPLEX_GENERIC_SIMPLE_KERNEL_FALSE=
fi
 
if test "x${install_complex_generic_simple}" = "xyes" ; then
if test x"${install_complex_generic_simple}" = x"yes" ; then
 
$as_echo "#define WITH_COMPLEX_GENERIC_SIMPLE_KERNEL 1" >>confdefs.h
 
......@@ -7479,7 +7480,7 @@ else
WITH_REAL_SSE_KERNEL_FALSE=
fi
 
if test "x${install_real_sse}" = "xyes" ; then
if test x"${install_real_sse}" = x"yes" ; then
 
$as_echo "#define WITH_REAL_SSE_KERNEL 1" >>confdefs.h
 
......@@ -7493,7 +7494,7 @@ else
WITH_COMPLEX_SSE_KERNEL_FALSE=
fi
 
if test "x${install_complex_sse}" = "xyes" ; then
if test x"${install_complex_sse}" = x"yes" ; then
 
$as_echo "#define WITH_COMPLEX_SSE_KERNEL 1" >>confdefs.h
 
......@@ -7507,7 +7508,7 @@ else
WITH_REAL_AVX_BLOCK2_KERNEL_FALSE=
fi
 
if test "x${install_real_avx_block2}" = "xyes" ; then
if test x"${install_real_avx_block2}" = x"yes" ; then
 
$as_echo "#define WITH_REAL_AVX_BLOCK2_KERNEL 1" >>confdefs.h
 
......@@ -7521,7 +7522,7 @@ else
WITH_REAL_AVX_BLOCK4_KERNEL_FALSE=
fi
 
if test "x${install_real_avx_block4}" = "xyes" ; then
if test x"${install_real_avx_block4}" = x"yes" ; then
 
$as_echo "#define WITH_REAL_AVX_BLOCK4_KERNEL 1" >>confdefs.h
 
......@@ -7535,7 +7536,7 @@ else
WITH_REAL_AVX_BLOCK6_KERNEL_FALSE=
fi
 
if test "x${install_real_avx_block6}" = "xyes" ; then
if test x"${install_real_avx_block6}" = x"yes" ; then
 
$as_echo "#define WITH_REAL_AVX_BLOCK6_KERNEL 1" >>confdefs.h
 
......@@ -7549,7 +7550,7 @@ else
WITH_COMPLEX_AVX_BLOCK1_KERNEL_FALSE=
fi
 
if test "x${install_complex_avx_block1}" = "xyes" ; then
if test x"${install_complex_avx_block1}" = x"yes" ; then
 
$as_echo "#define WITH_COMPLEX_AVX_BLOCK1_KERNEL 1" >>confdefs.h
 
......@@ -7563,7 +7564,7 @@ else
WITH_COMPLEX_AVX_BLOCK2_KERNEL_FALSE=
fi
 
if test "x${install_complex_avx_block2}" = "xyes" ; then
if test x"${install_complex_avx_block2}" = x"yes" ; then
 
$as_echo "#define WITH_COMPLEX_AVX_BLOCK2_KERNEL 1" >>confdefs.h
 
......@@ -7577,7 +7578,7 @@ else
WITH_REAL_BGP_KERNEL_FALSE=
fi
 
if test "x${install_real_bgp}" = "xyes" ; then
if test x"${install_real_bgp}" = x"yes" ; then
 
$as_echo "#define WITH_REAL_BGP_KERNEL 1" >>confdefs.h
 
......@@ -7591,19 +7592,19 @@ else
WITH_REAL_BGQ_KERNEL_FALSE=
fi
 
if test "x${install_real_bgq}" = "xyes" ; then
if test x"${install_real_bgq}" = x"yes" ; then
 
$as_echo "#define WITH_REAL_BGQ_KERNEL 1" >>confdefs.h
 
fi
 
if test "x${use_specific_complex_kernel}" = "xyes" ; then
if test x"${use_specific_complex_kernel}" = x"yes" ; then
 
$as_echo "#define WITH_SPECIFIC_COMPLEX_KERNEL 1" >>confdefs.h
 
fi
 
if test "x${use_specific_real_kernel}" = "xyes" ; then
if test x"${use_specific_real_kernel}" = x"yes" ; then
 
$as_echo "#define WITH_SPECIFIC_COMPLEX_KERNEL 1" >>confdefs.h
 
......
......@@ -10,7 +10,8 @@ AM_SILENT_RULES([yes])
AC_SUBST([ELPA_LIB_VERSION], [2014.06.000])
# this is the version of the API, should be changed in the major revision
# if and only if the actual API changes
AC_SUBST([ELPA_SO_VERSION], [0:0:0])
# see http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
AC_SUBST([ELPA_SO_VERSION], [1:0:0])
AX_CHECK_GNU_MAKE()
if test x$_cv_gnu_make_command = x ; then
......@@ -18,7 +19,7 @@ if test x$_cv_gnu_make_command = x ; then
fi
AC_CHECK_PROG(CPP_FOUND,cpp,yes,no)
if test "x${CPP_FOUND}" = xno; then
if test x"${CPP_FOUND}" = xno; then
AC_MSG_ERROR([no cpp found])
fi
......@@ -665,7 +666,7 @@ dnl check whether one can compile with avx - gcc intrinsics
[can_compile_avx=no]
)
dnl first test failed: try again after updating CFLAGS and CXXFLAGS with -mavx
if test "x${can_compile_avx}" = "xno"; then
if test x"${can_compile_avx}" = x"no"; then
CFLAGS="$CFLAGS -mavx"
CXXFLAGS="$CXXFLAGS -mavx"
AC_COMPILE_IFELSE([AC_LANG_SOURCE([
......@@ -681,7 +682,7 @@ dnl first test failed: try again after updating CFLAGS and CXXFLAGS with -mavx
fi
AC_MSG_RESULT([${can_compile_avx}])
if test "x${can_compile_avx}" = "xyes"; then
if test x"${can_compile_avx}" = x"yes"; then
install_real_avx_block2=yes
install_real_avx_block4=yes
install_real_avx_block6=yes
......@@ -700,7 +701,7 @@ AC_ARG_WITH([avx-optimization],
[with_avx_optimization=yes],
[with_avx_optimization=no])