Commit 34f87475 authored by Andreas Marek's avatar Andreas Marek
Browse files

Cleanup of src directory: mv ELPA 2 files in subdir

parent 0569bcdb
This diff is collapsed.
...@@ -19,7 +19,7 @@ elpa/elpa_generated.h: $(top_srcdir)/src/elpa_c_interface.F90 | elpa ...@@ -19,7 +19,7 @@ elpa/elpa_generated.h: $(top_srcdir)/src/elpa_c_interface.F90 | elpa
test/shared/generated.h: $(wildcard $(top_srcdir)/test/shared/*.F90) | test/shared test/shared/generated.h: $(wildcard $(top_srcdir)/test/shared/*.F90) | test/shared
$(call extract_interface,!c>) $(call extract_interface,!c>)
elpa/elpa_generated_fortran_interfaces.h: $(wildcard $(top_srcdir)/src/elpa2_kernels/*.c) $(wildcard $(top_srcdir)/src/elpa2_kernels/*.s) | elpa elpa/elpa_generated_fortran_interfaces.h: $(wildcard $(top_srcdir)/src/elpa2/kernels/*.c) $(wildcard $(top_srcdir)/src/elpa2/kernels/*.s) | elpa
$(call extract_interface,!f>) $(call extract_interface,!f>)
$(call extract_interface,#!f>) $(call extract_interface,#!f>)
......
...@@ -354,7 +354,7 @@ module ELPA2 ...@@ -354,7 +354,7 @@ module ELPA2
#define REALCASE 1 #define REALCASE 1
#define DOUBLE_PRECISION 1 #define DOUBLE_PRECISION 1
#include "precision_macros.h" #include "../precision_macros.h"
!------------------------------------------------------------------------------- !-------------------------------------------------------------------------------
!> \brief solve_evp_real_2stage_double: Fortran function to solve the double-precision real eigenvalue problem with a 2 stage approach !> \brief solve_evp_real_2stage_double: Fortran function to solve the double-precision real eigenvalue problem with a 2 stage approach
!> !>
...@@ -402,7 +402,7 @@ module ELPA2 ...@@ -402,7 +402,7 @@ module ELPA2
#ifdef WANT_SINGLE_PRECISION_REAL #ifdef WANT_SINGLE_PRECISION_REAL
#define REALCASE 1 #define REALCASE 1
#define SINGLE_PRECISION 1 #define SINGLE_PRECISION 1
#include "precision_macros.h" #include "../precision_macros.h"
!------------------------------------------------------------------------------- !-------------------------------------------------------------------------------
!> \brief solve_evp_real_2stage_single: Fortran function to solve the single-precision real eigenvalue problem with a 2 stage approach !> \brief solve_evp_real_2stage_single: Fortran function to solve the single-precision real eigenvalue problem with a 2 stage approach
!> !>
...@@ -451,7 +451,7 @@ module ELPA2 ...@@ -451,7 +451,7 @@ module ELPA2
#define COMPLEXCASE 1 #define COMPLEXCASE 1
#define DOUBLE_PRECISION 1 #define DOUBLE_PRECISION 1
#include "precision_macros.h" #include "../precision_macros.h"
!> \brief solve_evp_complex_2stage_double: Fortran function to solve the double-precision complex eigenvalue problem with a 2 stage approach !> \brief solve_evp_complex_2stage_double: Fortran function to solve the double-precision complex eigenvalue problem with a 2 stage approach
!> !>
!> Parameters !> Parameters
...@@ -497,7 +497,7 @@ module ELPA2 ...@@ -497,7 +497,7 @@ module ELPA2
#define COMPLEXCASE 1 #define COMPLEXCASE 1
#define SINGLE_PRECISION 1 #define SINGLE_PRECISION 1
#include "precision_macros.h" #include "../precision_macros.h"
!> \brief solve_evp_complex_2stage_single: Fortran function to solve the single-precision complex eigenvalue problem with a 2 stage approach !> \brief solve_evp_complex_2stage_single: Fortran function to solve the single-precision complex eigenvalue problem with a 2 stage approach
!> !>
......
...@@ -105,7 +105,7 @@ module ELPA2_compute ...@@ -105,7 +105,7 @@ module ELPA2_compute
! real double precision ! real double precision
#define REALCASE 1 #define REALCASE 1
#define DOUBLE_PRECISION 1 #define DOUBLE_PRECISION 1
#include "precision_macros.h" #include "../precision_macros.h"
#include "elpa2_compute_real_template.X90" #include "elpa2_compute_real_template.X90"
#undef REALCASE #undef REALCASE
#undef DOUBLE_PRECISION #undef DOUBLE_PRECISION
...@@ -115,7 +115,7 @@ module ELPA2_compute ...@@ -115,7 +115,7 @@ module ELPA2_compute
#define REALCASE 1 #define REALCASE 1
#define SINGLE_PRECISION 1 #define SINGLE_PRECISION 1
#include "precision_macros.h" #include "../precision_macros.h"
#include "elpa2_compute_real_template.X90" #include "elpa2_compute_real_template.X90"
#undef REALCASE #undef REALCASE
#undef SINGLE_PRECISION #undef SINGLE_PRECISION
...@@ -125,7 +125,7 @@ module ELPA2_compute ...@@ -125,7 +125,7 @@ module ELPA2_compute
! complex double precision ! complex double precision
#define COMPLEXCASE 1 #define COMPLEXCASE 1
#define DOUBLE_PRECISION 1 #define DOUBLE_PRECISION 1
#include "precision_macros.h" #include "../precision_macros.h"
#include "elpa2_compute_complex_template.X90" #include "elpa2_compute_complex_template.X90"
#undef COMPLEXCASE #undef COMPLEXCASE
#undef DOUBLE_PRECISION #undef DOUBLE_PRECISION
...@@ -135,7 +135,7 @@ module ELPA2_compute ...@@ -135,7 +135,7 @@ module ELPA2_compute
#define COMPLEXCASE 1 #define COMPLEXCASE 1
#define SINGLE_PRECISION 1 #define SINGLE_PRECISION 1
#include "precision_macros.h" #include "../precision_macros.h"
#include "elpa2_compute_complex_template.X90" #include "elpa2_compute_complex_template.X90"
#undef COMPLEXCASE #undef COMPLEXCASE
#undef SINGLE_PRECISION #undef SINGLE_PRECISION
......
...@@ -54,11 +54,15 @@ ...@@ -54,11 +54,15 @@
! Author: Andreas Marek, MPCDF ! Author: Andreas Marek, MPCDF
#endif #endif
#include "../sanity.X90"
#define COMPLEXCASE 1 #define COMPLEXCASE 1
#undef REALCASE #undef REALCASE
#include "elpa2_bandred_template.X90" #include "elpa2_bandred_template.X90"
#undef COMPLEXCASE #undef COMPLEXCASE
#define COMPLEXCASE 1
#include "elpa2_herm_matrix_allreduce_complex_template.X90" #include "elpa2_herm_matrix_allreduce_complex_template.X90"
#undef COMPLEXCASE
#define COMPLEXCASE 1 #define COMPLEXCASE 1
#include "elpa2_trans_ev_band_to_full_template.X90" #include "elpa2_trans_ev_band_to_full_template.X90"
#include "elpa2_tridiag_band_template.X90" #include "elpa2_tridiag_band_template.X90"
......
...@@ -53,11 +53,14 @@ ...@@ -53,11 +53,14 @@
! Author: Andreas Marek, MPCDF ! Author: Andreas Marek, MPCDF
#endif #endif
#include "../sanity.X90"
#define REALCASE 1 #define REALCASE 1
#undef COMPLEXCASE #undef COMPLEXCASE
#include "elpa2_bandred_template.X90" #include "elpa2_bandred_template.X90"
#undef REALCASE #define REALCASE 1
#include "elpa2_symm_matrix_allreduce_real_template.X90" #include "elpa2_symm_matrix_allreduce_real_template.X90"
#undef REALCASE
#define REALCASE 1 #define REALCASE 1
#include "elpa2_trans_ev_band_to_full_template.X90" #include "elpa2_trans_ev_band_to_full_template.X90"
#include "elpa2_tridiag_band_template.X90" #include "elpa2_tridiag_band_template.X90"
......
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
! with their original authors, but shall adhere to the licensing terms ! with their original authors, but shall adhere to the licensing terms
! distributed along with the original code in the file "COPYING". ! distributed along with the original code in the file "COPYING".
#include "../sanity.X90"
subroutine herm_matrix_allreduce_& subroutine herm_matrix_allreduce_&
&PRECISION & &PRECISION &
......
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
! with their original authors, but shall adhere to the licensing terms ! with their original authors, but shall adhere to the licensing terms
! distributed along with the original code in the file "COPYING". ! distributed along with the original code in the file "COPYING".
#include "../sanity.X90"
subroutine symm_matrix_allreduce_& subroutine symm_matrix_allreduce_&
&PRECISION & &PRECISION &
......
...@@ -49,6 +49,7 @@ ...@@ -49,6 +49,7 @@
! distributed along with the original code in the file "COPYING". ! distributed along with the original code in the file "COPYING".
#endif #endif
#include "../sanity.X90"
subroutine trans_ev_band_to_full_& subroutine trans_ev_band_to_full_&
&MATH_DATATYPE& &MATH_DATATYPE&
......
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
! with their original authors, but shall adhere to the licensing terms ! with their original authors, but shall adhere to the licensing terms
! distributed along with the original code in the file "COPYING". ! distributed along with the original code in the file "COPYING".
#include "../sanity.X90"
subroutine trans_ev_tridi_to_band_& subroutine trans_ev_tridi_to_band_&
&MATH_DATATYPE& &MATH_DATATYPE&
......
...@@ -49,6 +49,8 @@ ...@@ -49,6 +49,8 @@
! distributed along with the original code in the file "COPYING". ! distributed along with the original code in the file "COPYING".
#endif #endif
#include "../sanity.X90"
#if REALCASE == 1 #if REALCASE == 1
subroutine tridiag_band_real_& subroutine tridiag_band_real_&
#endif #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