forked from abacusmodeling/abacus-develop
-
Notifications
You must be signed in to change notification settings - Fork 153
Labels
Compile & CICD & Docs & DependenciesIssues related to compiling ABACUSIssues related to compiling ABACUS
Description
Describe the bug
Describe the bug
When compiling the latest version of ABACUS (v3.9.0.21) with NEP calculation enabled via the toolchain, a compilation error occurs due to missing ewald.h header file.
Error Message
In file included from /home/mhchen_pkuhpc/mhchen_coe/lustre3/software/abacus-max/abacus-develop-v3.9.0.21/source/source_esolver/esolver_nep.h(6),
from /home/mhchen_pkuhpc/mhchen_coe/lustre3/software/abacus-max/abacus-develop-v3.9.0.21/source/source_esolver/esolver.cpp(21):
/home/mhchen_pkuhpc/mhchen_coe/lustre3/software/abacus-max/abacus-develop-v3.9.0.21/toolchain/install/NEP_CPU-main/include/nep.h(19): catastrophic error: cannot open source file "ewald.h"
#include "ewald.h"
^
compilation aborted for /home/mhchen_pkuhpc/mhchen_coe/lustre3/software/abacus-max/abacus-develop-v3.9.0.21/source/source_esolver/esolver.cpp (code 4)
Possible Root Cause
It seems the NEP repository has undergone recent changes that added the ewald.h file, but the ABACUS interface (which includes nep.h from the NEP repo) has not been updated accordingly to adapt to these changes.
Expected behavior
No response
To Reproduce
- Obtain the latest ABACUS version (v3.9.0.21)
- Configure the toolchain to enable NEP calculation with intel
- Start compiling Abacus
- Encounter the above compilation error
Environment
No response
Additional Context
No response
Task list for Issue attackers (only for developers)
- Verify the issue is not a duplicate.
- Describe the bug.
- Steps to reproduce.
- Expected behavior.
- Error message.
- Environment details.
- Additional context.
- Assign a priority level (low, medium, high, urgent).
- Assign the issue to a team member.
- Label the issue with relevant tags.
- Identify possible related issues.
- Create a unit test or automated test to reproduce the bug (if applicable).
- Fix the bug.
- Test the fix.
- Update documentation (if necessary).
- Close the issue and inform the reporter (if applicable).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Compile & CICD & Docs & DependenciesIssues related to compiling ABACUSIssues related to compiling ABACUS