Skip to content

Fix: Include Libxc functional IDs in LR and DFPT tests - #8172

Merged
mohanchen merged 1 commit into
deepmodeling:developfrom
AsTonyshment:fix/libxc_header
Oct 18, 2026
Merged

mohanchen merged 1 commit into
deepmodeling:developfrom
AsTonyshment:fix/libxc_header

Conversation

@AsTonyshment

Copy link
Copy Markdown
Collaborator

What's changed?

The tests added in #8069 and #8164 fail to compile with Libxc 7.1.2 because <xc.h> does not provide functional IDs such as XC_LDA_X. Include <xc_funcs.h> explicitly in both test files, and MODULE_LR_xc_kxc and MODULE_DFPT_xc_analytic_serial can compile correctly.

@mohanchen mohanchen added Bugs Bugs that only solvable with sufficient knowledge of DFT Compile & CICD & Docs & Dependencies Issues related to compiling ABACUS labels Oct 18, 2026

@mohanchen mohanchen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mohanchen
mohanchen merged commit 9372dd0 into deepmodeling:develop Oct 18, 2026
17 checks passed
@AsTonyshment
AsTonyshment deleted the fix/libxc_header branch October 18, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bugs Bugs that only solvable with sufficient knowledge of DFT Compile & CICD & Docs & Dependencies Issues related to compiling ABACUS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants