forked from abacusmodeling/abacus-develop
-
Notifications
You must be signed in to change notification settings - Fork 165
Closed
Labels
Compile & CICD & Docs & DependenciesIssues related to compiling ABACUSIssues related to compiling ABACUS
Description
Describe the bug
When building scalapack (by running toolchain_gnu.sh), the compilation fails due to the error: implicit function declaration.
Expected behavior
When running toolchain_gnu.sh, it should install the toolchain without error.
To Reproduce
- Clone newest source code
- Run
./toolchain/toolchain_gnu.shwith GCC14 as default compiler.
Environment
- OS: Archlinux
- Compiler: GCC 14.1.1
Additional Context
Before GCC14, implicit function declaration is treated as warning but since GCC14 this is treated as error by default, which will cause compilation to stop. By adding flags to bypass this, I can confirm that the whole compilation procedure succeeds and the program works well.
This is also reported in scalapack upstream but no response. This bug is described and fixed by AUR (archlinux user repo) package maintainer, see this commit.
I change toolchain/scripts/stage3/install_scalapack.sh as in this commit to fix it.
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