Skip to content

Commit 85bd140

Browse files
committed
update module_xc/test/CMakeLists.txt
1 parent 2fb30fd commit 85bd140

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

source/source_hamilt/module_xc/test/CMakeLists.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
AddTest(
22
TARGET XCTest_PBE
3-
LIBS parameter MPI::MPI_CXX Libxc::xc # required by global.h; for details, `remove_definitions(-D__MPI)`.
3+
LIBS parameter MPI::MPI_CXX Libxc::xc base # required by global.h; for details, `remove_definitions(-D__MPI)`.
44
SOURCES test_xc.cpp ../xc_functional.cpp ../xc_functional_wrapper_xc.cpp ../xc_functional_wrapper_gcxc.cpp ../xc_funct_corr_gga.cpp ../xc_funct_corr_lda.cpp ../xc_funct_exch_gga.cpp ../xc_funct_exch_lda.cpp ../xc_funct_hcth.cpp
55
../xc_functional_libxc_wrapper_gcxc.cpp ../xc_functional_libxc.cpp
66
)
77

88
AddTest(
99
TARGET XCTest_HSE
10-
LIBS parameter MPI::MPI_CXX Libxc::xc # required by global.h; for details, `remove_definitions(-D__MPI)`.
10+
LIBS parameter MPI::MPI_CXX Libxc::xc base # required by global.h; for details, `remove_definitions(-D__MPI)`.
1111
SOURCES test_xc1.cpp ../xc_functional.cpp ../xc_functional_libxc.cpp
1212
)
1313

1414

1515
AddTest(
1616
TARGET XCTest_PZ_SPN
17-
LIBS parameter MPI::MPI_CXX Libxc::xc # required by global.h; for details, `remove_definitions(-D__MPI)`.
17+
LIBS parameter MPI::MPI_CXX Libxc::xc base # required by global.h; for details, `remove_definitions(-D__MPI)`.
1818
SOURCES test_xc2.cpp ../xc_functional.cpp ../xc_functional_wrapper_xc.cpp ../xc_functional_wrapper_gcxc.cpp ../xc_funct_corr_gga.cpp ../xc_funct_corr_lda.cpp ../xc_funct_exch_gga.cpp ../xc_funct_exch_lda.cpp ../xc_funct_hcth.cpp
1919
../xc_functional_libxc_wrapper_gcxc.cpp ../xc_functional_libxc_wrapper_xc.cpp ../xc_functional_libxc.cpp
2020
)
@@ -27,7 +27,7 @@ list(APPEND FFT_SRC ../../../source_base/module_fft/fft_rocm.cpp)
2727
endif()
2828
AddTest(
2929
TARGET XCTest_GRADCORR
30-
LIBS parameter MPI::MPI_CXX Libxc::xc ${math_libs} psi device container
30+
LIBS parameter MPI::MPI_CXX Libxc::xc base ${math_libs} psi device container
3131
SOURCES test_xc3.cpp ../xc_functional_gradcorr.cpp ../xc_functional.cpp
3232
../xc_functional_wrapper_xc.cpp ../xc_functional_wrapper_gcxc.cpp
3333
../xc_functional_libxc.cpp
@@ -48,20 +48,20 @@ AddTest(
4848

4949
AddTest(
5050
TARGET XCTest_SCAN
51-
LIBS parameter MPI::MPI_CXX Libxc::xc
51+
LIBS parameter MPI::MPI_CXX Libxc::xc base
5252
SOURCES test_xc4.cpp ../xc_functional.cpp ../xc_functional_wrapper_xc.cpp
5353
../xc_functional_wrapper_gcxc.cpp
5454
../xc_functional_libxc.cpp
5555
../xc_functional_libxc_wrapper_xc.cpp
5656
../xc_functional_libxc_wrapper_gcxc.cpp
5757
../xc_functional_libxc_wrapper_tauxc.cpp
58-
../xc_funct_corr_gga.cpp ../xc_funct_corr_lda.cpp
59-
../xc_funct_exch_gga.cpp ../xc_funct_exch_lda.cpp ../xc_funct_hcth.cpp
58+
../xc_funct_corr_gga.cpp ../xc_funct_corr_lda.cpp
59+
../xc_funct_exch_gga.cpp ../xc_funct_exch_lda.cpp ../xc_funct_hcth.cpp
6060
)
6161

6262
AddTest(
6363
TARGET XCTest_VXC
64-
LIBS parameter MPI::MPI_CXX Libxc::xc ${math_libs} psi device container
64+
LIBS parameter MPI::MPI_CXX Libxc::xc base ${math_libs} psi device container
6565
SOURCES test_xc5.cpp ../xc_functional_gradcorr.cpp ../xc_functional.cpp
6666
../xc_functional_wrapper_xc.cpp ../xc_functional_wrapper_gcxc.cpp
6767
../xc_functional_libxc.cpp

0 commit comments

Comments
 (0)