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

Use LP64 isntead of ILP64 to avoid issues when linking to libraries #11

Closed
wants to merge 1 commit into from

Conversation

andreasnoack
Copy link
Member

that expect LP64 BLAS. This often happens when using PyCall.

@andreasnoack
Copy link
Member Author

Looks like we are hitting JuliaLang/PackageCompiler.jl#154

@aminya
Copy link
Contributor

aminya commented Aug 20, 2019

Could you try with the new Julia 1.2 and see if it works?

@andreasnoack
Copy link
Member Author

Testing it now

@chriscoey
Copy link

bump

@aminya
Copy link
Contributor

aminya commented Sep 17, 2019

@aminya aminya mentioned this pull request Oct 12, 2019
that expect LP64 BLAS. This often happens when using PyCall.
@andreasnoack
Copy link
Member Author

So apparently the package compiler issue remains. So is it really the change to USE_BLAS64 = false that is causing the failure?

@AStupidBear
Copy link

@andreasnoack After adding a newline to "const USE_BLAS64 = false", this problem no longer exists. I openned a pull request #25.

julia> using MKL, PyCall

julia> BLAS.vendor()
:mkl

julia> np = pyimport("numpy")

julia> np.show_config()
mkl_info:
    libraries = ['mkl_rt', 'pthread']

julia> np.linalg.inv([2 1; 1 2])
2×2 Array{Float64,2}:
  0.666667  -0.333333
 -0.333333   0.666667

@andreasnoack
Copy link
Member Author

Superseded by #35

@andreasnoack andreasnoack deleted the an/lp64 branch March 13, 2020 12:47
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

Successfully merging this pull request may close these issues.

None yet

4 participants