Commit a7b1e28a authored by Doak, Peter W.'s avatar Doak, Peter W.
Browse files

link fftw through function_transform target

parent 46a33910
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
// Copyright (C) 2023 ETH Zurich
// Copyright (C) 2023 UT-Battelle, LLC
// All rights reserved.
//
// See LICENSE.txt for terms of usage.
// See CITATION.txt for citation guidelines if you use this code for scientific publications.
//
// Author: Peter W. Doak  doakpw@ornl.gov  Oak Ridge National Lab
//
// This file implements a work around for at least older version of google test
// giving little effort to removing warning trips

#ifndef DCA_GTEST_H_W_WARNING_BLOCKING_
#define DCA_GTEST_H_W_WARNING_BLOCKING_H

#pragma GCC diagnostic push
#include "gtest/gtest.h"
#pragma GCC diagnostic ignored "-Wsuggest-override"
#pragma GCC diagnostic_pop

#endif
+2 −0
Original line number Diff line number Diff line
@@ -3,6 +3,8 @@
add_library(function_transform STATIC
  basis_expansions.cpp boundary_conditions.cpp domain_representations.cpp element_spacings.cpp)

target_link_libraries(function_transform PUBLIC FFTW::Double)

if (DCA_HAVE_GPU)
  add_library(special_transform_kernels special_transforms_kernels.cu)
  dca_gpu_device_link(special_transform_kernels)
+3 −3
Original line number Diff line number Diff line
@@ -3,19 +3,19 @@
dca_add_gtest(hamiltonian_test
  GTEST_MAIN
  INCLUDE_DIRS ${FFTW_INCLUDE_DIR}
  LIBS function dca_io json time_and_frequency_domains cluster_domains enumerations quantum_domains ${LAPACK_LIBRARIES}
  LIBS function function_transform dca_io json time_and_frequency_domains cluster_domains enumerations quantum_domains ${LAPACK_LIBRARIES}
       ${DCA_GPU_LIBS} ${UTIL_LIBS})

dca_add_gtest(ed_cluster_solver_single_site_test
  GTEST_MAIN
  CUDA
  INCLUDE_DIRS ${DCA_INCLUDE_DIRS}
  LIBS function json time_and_frequency_domains cluster_domains enumerations quantum_domains dca_io timer
  LIBS function function_transform json time_and_frequency_domains cluster_domains enumerations quantum_domains dca_io timer
       dca_algorithms ${LAPACK_LIBRARIES} ${DCA_THREADING_LIBS} ${DCA_GPU_LIBS} dca_hdf5 gpu_utils)

dca_add_gtest(ed_cluster_solver_four_site_test
  EXTENSIVE
  GTEST_MAIN
  INCLUDE_DIRS ${DCA_INCLUDE_DIRS} 
  LIBS function json time_and_frequency_domains cluster_domains enumerations quantum_domains dca_io timer
  LIBS function function_transform json time_and_frequency_domains cluster_domains enumerations quantum_domains dca_io timer
       dca_algorithms ${LAPACK_LIBRARIES} ${DCA_GPU_LIBS} ${DCA_THREADING_LIBS})
+1 −1
Original line number Diff line number Diff line
@@ -3,4 +3,4 @@
dca_add_gtest(cluster_fourier_transform_test
  GTEST_MAIN
  INCLUDE_DIRS ${FFTW_INCLUDE_DIR}
  LIBS function ${LAPACK_LIBRARIES} ${UTIL_LIBS})
  LIBS function function_transform ${LAPACK_LIBRARIES} ${UTIL_LIBS})
+1 −1
Original line number Diff line number Diff line
@@ -3,4 +3,4 @@
dca_add_gtest(wannier_interpolation_test
  GTEST_MAIN
  INCLUDE_DIRS ${FFTW_INCLUDE_DIR}
  LIBS function ${LAPACK_LIBRARIES} ${UTIL_LIBS})
  LIBS function function_transform ${LAPACK_LIBRARIES} ${UTIL_LIBS})
Loading