Commit af4391d0 authored by Andreas Marek's avatar Andreas Marek
Browse files

Make ELPA compile with ifx (again)

parent 02eed111
......@@ -28,10 +28,14 @@ def set_compiler_wrappers(mpi, fc, cc, instr, fortran_compiler, c_compiler):
if (instr != "power8"):
if (m == "mpi" and fc == "intel"):
fortran_compiler_wrapper="mpiifort"
if (m == "mpi" and fc == "oneapi"):
fortran_compiler_wrapper="mpiifort -fc=ifx"
if (m == "mpi" and fc == "gnu"):
fortran_compiler_wrapper="mpif90"
if (m == "mpi" and cc == "intel"):
c_compiler_wrapper="mpiicc"
if (m == "mpi" and cc == "oneapi"):
c_compiler_wrapper="mpiicc -cc=icx"
if (m == "mpi" and cc == "gnu"):
c_compiler_wrapper="mpicc"
......@@ -566,11 +570,13 @@ c_compiler = {
"gnu" : "gcc",
"intel" : "icc",
}
# "oneapi" : "icx",
fortran_compiler = {
"gnu" : "gfortran",
"intel" : "ifort",
"pgi" : "pgfortran",
}
# "oneapi" : "ifx",
mpi = {
"mpi" : "--with-mpi=yes",
"nompi" : "--with-mpi=no --disable-mpi-module",
......
......@@ -138,7 +138,7 @@ module test_read_input_parameters
print *, "Invalid argument for --real-kernel"
stop 1
endif
#if ENABLE_IFX_COMPILER
#ifndef 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
......@@ -152,7 +152,7 @@ module test_read_input_parameters
print *, "Invalid argument for --complex-kernel"
stop 1
endif
#if ENABLE_IFX_COMPILER
#ifndef 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
......
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