Skip to content

fix: incorrect function call to cblas in blas/base/ddot#10707

Open
dhruvan2006 wants to merge 1 commit intostdlib-js:developfrom
dhruvan2006:fix/ddot
Open

fix: incorrect function call to cblas in blas/base/ddot#10707
dhruvan2006 wants to merge 1 commit intostdlib-js:developfrom
dhruvan2006:fix/ddot

Conversation

@dhruvan2006
Copy link

Description

After running the build linking ddot against openblas with the command node-gyp rebuild -- -Dblas=openblas, encountered this error:

node: symbol lookup error: [...]/stdlib/lib/node_modules/@stdlib/blas/base/ddot/src/addon.node: undefined symbol: cblas_ddot_ndarray

The function call to cblas should be cblas_ddot as revealed by the command below.

nm -D /usr/lib/x86_64-linux-gnu/libopenblas.so | grep cblas_ddot
0000000000158da0 T cblas_ddot

Checklist

Please ensure the following tasks are completed before submitting this pull request.

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of AI assistance?

  • Yes
  • No

@stdlib-js/reviewers

@stdlib-bot stdlib-bot added BLAS Issue or pull request related to Basic Linear Algebra Subprograms (BLAS). First-time Contributor A pull request from a contributor who has never previously committed to the project repository. Needs Review A pull request which needs code review. labels Mar 4, 2026
Copy link
Member

@Planeshifter Planeshifter left a comment

Choose a reason for hiding this comment

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

Thank you!

@Planeshifter Planeshifter added the Ready To Merge A pull request which is ready to be merged. label Mar 5, 2026
@stdlib-bot stdlib-bot removed the Needs Review A pull request which needs code review. label Mar 5, 2026
@stdlib-bot
Copy link
Contributor

PR Commit Message

fix: Incorrect function call to cblas in `blas/base/ddot`

PR-URL: https://github.com/stdlib-js/stdlib/pull/10707

Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com>

Please review the above commit message and make any necessary adjustments.

@stdlib-bot
Copy link
Contributor

Coverage Report

No coverage information available.

@dhruvan2006 dhruvan2006 changed the title fix: Incorrect function call to cblas in blas/base/ddot fix: incorrect function call to cblas in blas/base/ddot Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BLAS Issue or pull request related to Basic Linear Algebra Subprograms (BLAS). First-time Contributor A pull request from a contributor who has never previously committed to the project repository. Ready To Merge A pull request which is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants