-
Notifications
You must be signed in to change notification settings - Fork 27
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
undefined symbol: dsyevr_ #58
Comments
I think this is because it is searching for the LAPACK library of julia but it does not find it since I just unpacked Julia v0.5-rc2 and it doesn't know that the library is in the unpacked folder. |
This may be because staticfloat's build uses a separate package for lapack which the other build downloads blas and lapack from source and compile it in the julia build. |
It's strange that travis is passing then since it uses the 0.5-rc tarballs. I also can't reproduce locally on ubuntu 16.04 and a manual build of |
Yes, it could be that your version of Lapack is using a different suffix (i.e. not ending with the '_'). SCS can be compiled with another suffix via a flag, you just need to figure out what that suffix is. |
Indeed, it seems to be a problem with the suffix:
Should we add an automatic procedure in |
@blegat, we already handle this in principle: https://github.com/JuliaOpt/SCS.jl/blob/master/deps/build.jl#L53 |
Ok I have found my mistake ^^ Thanks for your help @mlubin and @bodono ;) If someone gets the same error and arrive here by googling, the solution is easy:
|
@blegat, you should give JuliaLang/julia#7054 a bump, I reported this issue more than two years ago |
Thanks for the update, and glad you worked it out! |
Well I've run into this problem when trying to use julia build against mkl:
however it seems that this is not a suffix issue:
I removed |
The SCS build script has never been tested with julia+MKL. There's little chance it works out of the box. We'll accept PRs. |
the build and link work with
however, one of the tests (the first which actually uses BLAS)
which says that the fourth argument has an illegal value according to this. I tried to dive into |
That could be something to do with the type of integer MKL is expecting and what is being built. From your flags it seems that MKL is expecting 64 bit integers, but SCS might be building using 32 bit. You can compile SCS with 64 bit blas integers by adding the flag |
yep, that was stupid me ;-)
Now I have no idea how to check if mkl uses 64 or 32 bits integer from within julia. Any ideas? |
I think it's safe to ignore those warnings. |
I am using Julia v0.5-rc2 and the latest version of
SCS.jl
on Ubuntu 16.04 64 bits.When I add
SCS.jl
, build it (it installs scs v1.1.8) and runjulia runtests.jl
I getThe text was updated successfully, but these errors were encountered: