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

Mark old elpa-driver C-interface as legacy

parent b672f4e9
...@@ -39,7 +39,7 @@ libelpa@SUFFIX@_private_la_SOURCES = \ ...@@ -39,7 +39,7 @@ libelpa@SUFFIX@_private_la_SOURCES = \
src/elpa2/elpa2_compute.F90 \ src/elpa2/elpa2_compute.F90 \
src/elpa2/kernels/mod_fortran_interfaces.F90 \ src/elpa2/kernels/mod_fortran_interfaces.F90 \
src/elpa2/kernels/mod_single_hh_trafo_real.F90 \ src/elpa2/kernels/mod_single_hh_trafo_real.F90 \
src/elpa_driver_c_interface.F90 \ src/elpa_driver/legacy_interface/elpa_driver_c_interface_legacy.F90 \
src/elpa1/legacy_interface/elpa_1stage_c_interface_legacy.F90 \ src/elpa1/legacy_interface/elpa_1stage_c_interface_legacy.F90 \
src/elpa2/legacy_interface/elpa_2stage_c_interface.F90 \ src/elpa2/legacy_interface/elpa_2stage_c_interface.F90 \
src/GPU/check_for_gpu.F90 \ src/GPU/check_for_gpu.F90 \
...@@ -64,7 +64,7 @@ EXTRA_libelpa@SUFFIX@_private_la_DEPENDENCIES = \ ...@@ -64,7 +64,7 @@ EXTRA_libelpa@SUFFIX@_private_la_DEPENDENCIES = \
src/elpa2/elpa2_template_new_interface.X90 \ src/elpa2/elpa2_template_new_interface.X90 \
src/elpa1/legacy_interface/elpa1_c_interface_template.X90 \ src/elpa1/legacy_interface/elpa1_c_interface_template.X90 \
src/elpa2/legacy_interface/elpa2_c_interface_template.X90 \ src/elpa2/legacy_interface/elpa2_c_interface_template.X90 \
src/elpa_driver_c_interface_template.X90 \ src/elpa_driver/legacy_interface/elpa_driver_c_interface_template_legacy.X90 \
src/elpa1/legacy_interface/elpa_solve_tridi_c_interface_template.X90 \ src/elpa1/legacy_interface/elpa_solve_tridi_c_interface_template.X90 \
src/elpa1/legacy_interface/elpa_mult_at_b_c_interface_template.X90 \ src/elpa1/legacy_interface/elpa_mult_at_b_c_interface_template.X90 \
src/elpa1/legacy_interface/elpa_mult_ah_b_c_interface_template.X90 \ src/elpa1/legacy_interface/elpa_mult_ah_b_c_interface_template.X90 \
...@@ -1117,7 +1117,7 @@ EXTRA_DIST = \ ...@@ -1117,7 +1117,7 @@ EXTRA_DIST = \
src/elpa2/elpa2_template_new_interface.X90 \ src/elpa2/elpa2_template_new_interface.X90 \
src/elpa1/legacy_interface/elpa1_c_interface_template.X90 \ src/elpa1/legacy_interface/elpa1_c_interface_template.X90 \
src/elpa2/legacy_interface/elpa2_c_interface_template.X90 \ src/elpa2/legacy_interface/elpa2_c_interface_template.X90 \
src/elpa_driver_c_interface_template.X90 \ src/elpa_driver/legacy_interface/elpa_driver_c_interface_template_legacy.X90 \
src/elpa1/legacy_interface/elpa_solve_tridi_c_interface_template.X90 \ src/elpa1/legacy_interface/elpa_solve_tridi_c_interface_template.X90 \
src/elpa1/legacy_interface/elpa_mult_at_b_c_interface_template.X90 \ src/elpa1/legacy_interface/elpa_mult_at_b_c_interface_template.X90 \
src/elpa1/legacy_interface/elpa_mult_ah_b_c_interface_template.X90 \ src/elpa1/legacy_interface/elpa_mult_ah_b_c_interface_template.X90 \
......
...@@ -13,7 +13,7 @@ config-f90.h: config.h ...@@ -13,7 +13,7 @@ config-f90.h: config.h
@echo "Generating $@..."; @echo "Generating $@...";
@grep "^#define" $^ > $@ || { rm $@; exit 1; } @grep "^#define" $^ > $@ || { rm $@; exit 1; }
elpa/elpa_generated.h: $(top_srcdir)/src/elpa_driver_c_interface.F90 | elpa elpa/elpa_generated.h: $(top_srcdir)/src/elpa_driver/legacy_interface/elpa_driver_c_interface_legacy.F90 | elpa
$(call extract_interface,!c>) $(call extract_interface,!c>)
elpa/elpa_generated.h: $(top_srcdir)/src/elpa1/legacy_interface/elpa_1stage_c_interface_legacy.F90 | elpa elpa/elpa_generated.h: $(top_srcdir)/src/elpa1/legacy_interface/elpa_1stage_c_interface_legacy.F90 | elpa
......
...@@ -79,8 +79,8 @@ ...@@ -79,8 +79,8 @@
#else #else
!c> int elpa_solve_evp_real_single(int na, int nev, float *a, int lda, float *ev, float *q, int ldq, int nblk, int matrixCols, int mpi_comm_rows, int mpi_comm_cols, int mpi_comm_all, int THIS_REAL_ELPA_KERNEL_API, int useQR, int useGPU, char *method); !c> int elpa_solve_evp_real_single(int na, int nev, float *a, int lda, float *ev, float *q, int ldq, int nblk, int matrixCols, int mpi_comm_rows, int mpi_comm_cols, int mpi_comm_all, int THIS_REAL_ELPA_KERNEL_API, int useQR, int useGPU, char *method);
#endif #endif
#include "./general/precision_macros.h" #include "../../general/precision_macros.h"
#include "elpa_driver_c_interface_template.X90" #include "./elpa_driver_c_interface_template_legacy.X90"
#undef DOUBLE_PRECISION #undef DOUBLE_PRECISION
#undef REALCASE #undef REALCASE
...@@ -123,8 +123,8 @@ ...@@ -123,8 +123,8 @@
#else #else
!c> int elpa_solve_evp_real_single(int na, int nev, float *a, int lda, float *ev, float *q, int ldq, int nblk, int matrixCols, int mpi_comm_rows, int mpi_comm_cols, int mpi_comm_all, int THIS_REAL_ELPA_KERNEL_API, int useQR, int useGPU, char *method); !c> int elpa_solve_evp_real_single(int na, int nev, float *a, int lda, float *ev, float *q, int ldq, int nblk, int matrixCols, int mpi_comm_rows, int mpi_comm_cols, int mpi_comm_all, int THIS_REAL_ELPA_KERNEL_API, int useQR, int useGPU, char *method);
#endif #endif
#include "./general/precision_macros.h" #include "../../general/precision_macros.h"
#include "elpa_driver_c_interface_template.X90" #include "elpa_driver_c_interface_template_legacy.X90"
#undef SINGLE_PRECISION #undef SINGLE_PRECISION
#undef DOUBLE_PRECISION #undef DOUBLE_PRECISION
#undef REALCASE #undef REALCASE
...@@ -167,8 +167,8 @@ ...@@ -167,8 +167,8 @@
#else #else
!c> int elpa_solve_evp_complex_single(int na, int nev, complex *a, int lda, float *ev, complex *q, int ldq, int nblk, int matrixCols, int mpi_comm_rows, int mpi_comm_cols, int mpi_comm_all, int THIS_COMPLEX_ELPA_KERNEL_API, int useGPU, char *method); !c> int elpa_solve_evp_complex_single(int na, int nev, complex *a, int lda, float *ev, complex *q, int ldq, int nblk, int matrixCols, int mpi_comm_rows, int mpi_comm_cols, int mpi_comm_all, int THIS_COMPLEX_ELPA_KERNEL_API, int useGPU, char *method);
#endif #endif
#include "./general/precision_macros.h" #include "../../general/precision_macros.h"
#include "elpa_driver_c_interface_template.X90" #include "./elpa_driver_c_interface_template_legacy.X90"
#undef DOUBLE_PRECISION #undef DOUBLE_PRECISION
#undef COMPLEXCASE #undef COMPLEXCASE
...@@ -212,8 +212,8 @@ ...@@ -212,8 +212,8 @@
#else #else
!c> int elpa_solve_evp_complex_single(int na, int nev, complex *a, int lda, float *ev, complex *q, int ldq, int nblk, int matrixCols, int mpi_comm_rows, int mpi_comm_cols, int mpi_comm_all, int THIS_COMPLEX_ELPA_KERNEL_API, int useGPU, char *method); !c> int elpa_solve_evp_complex_single(int na, int nev, complex *a, int lda, float *ev, complex *q, int ldq, int nblk, int matrixCols, int mpi_comm_rows, int mpi_comm_cols, int mpi_comm_all, int THIS_COMPLEX_ELPA_KERNEL_API, int useGPU, char *method);
#endif #endif
#include "./general/precision_macros.h" #include "../../general/precision_macros.h"
#include "elpa_driver_c_interface_template.X90" #include "./elpa_driver_c_interface_template_legacy.X90"
#undef SINGLE_PRECISION #undef SINGLE_PRECISION
#undef DOUBLE_PRECISION #undef DOUBLE_PRECISION
#undef COMPLEXCASE #undef COMPLEXCASE
......
Markdown is supported
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