-
Notifications
You must be signed in to change notification settings - Fork 254
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
Tests fail on Julia 0.3.3 #4
Comments
This seems to be a problem in the OpenBLAS library you got with Julia. I've had loads of that on OS X, but this was recently improved. Note that if you are using Julia from Homebrew, you may need to remove its dependencies and reinstall them (check last paragraph here). |
Thanks for the hint! But I compiled Julia from source (both 0.3.2 and 0.3.3) and did not set any |
Hi, Thanks for reporting this! This might be an issue related to Julia changing to 64bit version of OpenBLAS in 0.3.3. There is a few place that I have to use an undocumented API to access the built-in OpenBLAS, but I think that API has changed after 0.3.2. I will test on a 0.3.3 installation and try to fix it. Didn't know julia v0.3.3 already released, cheers! |
Great, thanks for the quick response! In the meantime I'll just use 0.3.2, no problem. |
@rened can you give me the output of the following command in your julia prompt (in v0.3.3)?
|
That would be: | | |_| | | | (_| | | Version 0.3.3 (2014-11-23 20:19 UTC)
_/ |\__'_|_|_|\__'_| |
|__/ | x86_64-apple-darwin13.4.0
julia> Base.blasfunc(:sgemm_)
"sgemm_64_" and | | |_| | | | (_| | | Version 0.3.2 (2014-10-21 22:05 UTC)
_/ |\__'_|_|_|\__'_| |
|__/ | x86_64-apple-darwin13.4.0
julia> Base.blasfunc(:sgemm_)
ERROR: blasfunc not defined |
To get the latest git version:
|
Works like a charm :-) Thanks a lot! |
It seems the using Compat
function blasfunc(name)
try
return Base.blasfunc(name)
catch
str_name = string(name)
fnc_symb = eval(:(Base.@blasfunc $strname))
fnc_name = string(fnc_symb)
return fnc_name
end
end julia> julia>
failed process: Process( ERROR: Base.Pkg.PkgError("Mocha had test errors") |
@chenych11 Thanks for reporting this! I have incorporated your fix. Could you test if the latest code works on your side? Thanks! |
Thank you for the fix @chenych11. My Travis CI still relies on Mocha v0.1.0, thus fails on the 0.5.0-dev Julia branch. Could you please make a bugfix release v0.1.1. with this change ? |
👍 |
Pkg.test("Mocha")
succeeds on0.3.2
, but fails on0.3.3
with the following error. Tested both with Mocha 0.0.2 as well as current master. Tested on OSX 10.9.Thanks!
The text was updated successfully, but these errors were encountered: