Skip to content

Commit

Permalink
Fix: fix the compilation failure with DFTD3 autoset implementation (#…
Browse files Browse the repository at this point in the history
…5517)

* add MPI_Finalize in QUIT function

* Fix: fix the compilation failure with new DFTD3 parameter autoset

* recover the tool_quit

* change to static functions

* is it because I voilate ODR?
  • Loading branch information
kirk0830 authored Nov 19, 2024
1 parent 362fee1 commit 78497ca
Show file tree
Hide file tree
Showing 11 changed files with 1,218 additions and 1,331 deletions.
4 changes: 3 additions & 1 deletion source/Makefile.Objects
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,9 @@ OBJS_VDW=vdw.o\
vdwd3_parameters.o\
vdwd2.o\
vdwd3.o\
vdwd3_parameters_tab.o
vdwd3_parameters_tab.o\
vdwd3_autoset_xcname.o\
vdwd3_autoset_xcparam.o

OBJS_DFTU=dftu.o\
dftu_force.o\
Expand Down
2 changes: 2 additions & 0 deletions source/module_hamilt_general/module_vdw/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ add_library(
vdwd3_parameters.cpp
vdwd2.cpp
vdwd3.cpp
vdwd3_autoset_xcname.cpp
vdwd3_autoset_xcparam.cpp
vdw.cpp
)

Expand Down
610 changes: 0 additions & 610 deletions source/module_hamilt_general/module_vdw/dftd3_xc_name.h

This file was deleted.

595 changes: 0 additions & 595 deletions source/module_hamilt_general/module_vdw/dftd3_xc_param.h

This file was deleted.

6 changes: 0 additions & 6 deletions source/module_hamilt_general/module_vdw/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,3 @@ AddTest(
LIBS parameter ${math_libs} base device vdw
SOURCES vdw_test.cpp
)

AddTest(
TARGET dftd3_xc
LIBS parameter ${math_libs} base device
SOURCES dftd3_xc_test.cpp
)
104 changes: 0 additions & 104 deletions source/module_hamilt_general/module_vdw/test/dftd3_xc_test.cpp

This file was deleted.

Loading

0 comments on commit 78497ca

Please sign in to comment.