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

How to mangle symbols to have _64 suffixes for the ILP64 version of LAPACK? #824

Closed
ViralBShah opened this issue Apr 20, 2023 · 2 comments
Closed

Comments

@ViralBShah
Copy link

In Julia, we use _64 suffixes for the ILP64 versions of BLAS and LAPACK so that the LP64 and ILP64 libraries can be used in the same process. While we can use -DBUILD_INDEX64 with cmake to get the ILP64 version of LAPACK, we are not sure how best to mangle the symbol names to have the _64 suffixes. We use an ugly hack right now (see: https://github.com/JuliaPackaging/Yggdrasil/blob/d3913829c7ecb0e309b48065cd1ebe544c6e1bb5/L/LAPACK/common.jl#L27).

I was wondering if there is a better way to do this.

Thank you.

cc @amontoison

@ViralBShah ViralBShah changed the title Having _64 suffixes for the ILP64 version How to mangle symbols to have _64 suffixes for the ILP64 version of LAPACK? Apr 20, 2023
@amontoison
Copy link

@langou
Julien, do you have an idea how we can do that in LAPACK (and SCALAPACK)?

@ViralBShah
Copy link
Author

Closing in favour of #666.

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

No branches or pull requests

2 participants