Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linking to Accelerate does not work: missing _clapmr_, _zlapmr_, _slapmr_, _dlapmr_ #84

Closed
barracuda156 opened this issue Jan 20, 2023 · 3 comments

Comments

@barracuda156
Copy link

Apparently these symbols are not there:

Undefined symbols:
  "_zlapmr_", referenced from:
      __ZN9strumpack4blas5lapmrEbiiPSt7complexIdEiPKi in libstrumpack.a(BLASLAPACKWrapper.cpp.o)
  "_dlapmr_", referenced from:
      __ZN9strumpack4blas5lapmrEbiiPdiPKi in libstrumpack.a(BLASLAPACKWrapper.cpp.o)
  "_clapmr_", referenced from:
      __ZN9strumpack4blas5lapmrEbiiPSt7complexIfEiPKi in libstrumpack.a(BLASLAPACKWrapper.cpp.o)
  "_slapmr_", referenced from:
      __ZN9strumpack4blas5lapmrEbiiPfiPKi in libstrumpack.a(BLASLAPACKWrapper.cpp.o)
ld: symbol(s) not found

And indeed it does look like that:

10:~ svacchanda$ nm -arch ppc -g /usr/lib/libLAPACK.dylib | grep _clapm
00204e20 T _clapmt
00204e20 T _clapmt_

Linking to OpenBLAS works, but a number of tests are broken: #83

@pghysels
Copy link
Owner

I just added the lapack sources for xlapmr in this commit: 0eb1477
Can you check if it is working now with Accelerate?

@barracuda156
Copy link
Author

I just added the lapack sources for xlapmr in this commit: 0eb1477
Can you check if it is working now with Accelerate?

Thank you! I will try now.

@barracuda156
Copy link
Author

@pghysels Yes, linking to Accelerate now works, thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants