deepmodeling / abacus-develop

An electronic structure package based on either plane wave basis or numerical atomic orbitals.
http://abacus.ustc.edu.cn
GNU Lesser General Public License v3.0
174 stars 136 forks source link

building error with libxc 7 #5417

Open caic99 opened 2 weeks ago

caic99 commented 2 weeks ago

Describe the bug

ref

[ 27%] Building CXX object source/module_hamilt_general/module_xc/CMakeFiles/xc_.dir/xc_functional.cpp.o
/home/conda/feedstock_root/build_artifacts/abacus_1729523558801/work/source/module_hamilt_general/module_xc/xc_functional.cpp: In static member function 'static void XC_Functional::set_xc_type(std::string)':
/home/conda/feedstock_root/build_artifacts/abacus_1729523558801/work/source/module_hamilt_general/module_xc/xc_functional.cpp:68:27: error: 'XC_LDA_X' was not declared in this scope
   68 |         func_id.push_back(XC_LDA_X);
      |                           ^~~~~~~~

Expected behavior

No response

To Reproduce

No response

Environment

No response

Additional Context

No response

Task list for Issue attackers (only for developers)

caic99 commented 2 weeks ago

release note FYI