Skip to content

openblas is hard-coded in the CMake modules #3283

@njzjz

Description

@njzjz

Describe the bug

- [BLAS](http://www.netlib.org/blas/). You can use [OpenBLAS](https://www.openblas.net/).
- [LAPACK](http://www.netlib.org/lapack/).

The documentation says any BLAS and LAPACK is allowed, and even gives a link to the reference BLAS and LAPACK.

However, openblas is hard coded in the CMake files:

making the reference blas cannot be found (conda-forge/abacus-feedstock#13) before the patch.

Expected behavior

Any BLAS can be found by CMake.

To Reproduce

See conda-forge/abacus-feedstock#13

Environment

See conda-forge/abacus-feedstock#13

Additional Context

The workaround is to entirely delete FindLAPACK.cmake (njzjz@d81bc98) so CMake's native FindLAPACK is used.

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).

Metadata

Metadata

Assignees

Labels

BugsBugs that only solvable with sufficient knowledge of DFT

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions