Commit 02eed111 authored by Andreas Marek's avatar Andreas Marek
Browse files

Make compilable with ifx

parent eaa7b550
......@@ -2176,6 +2176,22 @@ if test x"${enable_c_tests}" = x"yes"; then
AC_DEFINE([ENABLE_C_TESTS], [1], [enable C tests])
fi
AC_MSG_CHECKING(make compilable with Intel ifx)
AC_ARG_ENABLE([ifx-compiler],
AS_HELP_STRING([--enable-ifx-compiler],
[enable builds with ifx, default no.]),
[if test x"$enableval" = x"yes"; then
enable_ifx_compiler=yes
else
enable_ifx_compiler=no
fi],
[enable_ifx_compiler=no])
AC_MSG_RESULT([${enable_ifx_compiler}])
if test x"${enable_ifx_compiler}" = x"yes"; then
AC_DEFINE([ENABLE_IFX_COMPILER], [1], [enable ifx compiler builds])
fi
AC_MSG_CHECKING(whether we build for K-computer)
AC_ARG_ENABLE([K-computer],
AS_HELP_STRING([--enable-K-computer],
......
......@@ -138,8 +138,10 @@ module test_read_input_parameters
print *, "Invalid argument for --real-kernel"
stop 1
endif
#if ENABLE_IFX_COMPILER
print *,"Setting ELPA2 real kernel to ", elpa_int_value_to_string("real_kernel", &
int(input_options%this_real_kernel,kind=c_int))
#endif
input_options%realKernelIsSet = .true.
endif
......@@ -150,8 +152,10 @@ module test_read_input_parameters
print *, "Invalid argument for --complex-kernel"
stop 1
endif
#if ENABLE_IFX_COMPILER
print *,"Setting ELPA2 complex kernel to ", elpa_int_value_to_string("complex_kernel", &
int(input_options%this_complex_kernel,kind=c_int))
#endif
input_options%complexKernelIsSet = .true.
endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment