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

inv(13x13 Array{Float64,2}) crahes 0.3.0-prerelease #6748

Closed
turtleslow opened this issue May 4, 2014 · 7 comments
Closed

inv(13x13 Array{Float64,2}) crahes 0.3.0-prerelease #6748

turtleslow opened this issue May 4, 2014 · 7 comments

Comments

@turtleslow
Copy link

I'm starting to use julia as an alternative to matlab but have been frustrated by an inability to invert matrices larger than 12x12.

For example, inv(randn(13,13)) crashes julia 100% of the time for me (session quits immediately), while inv(randn(12,12)) works 100% of the time.

I'm running 0.3.0-prerelease+2809 in interactive mode on Windows 8.1 but had the same problem in an earlier julia version. Any ideas?

Really think this is a great project though and looking forward to julia gaining momentum!

@IainNZ
Copy link
Member

IainNZ commented May 4, 2014

That is really strange. Can you run versioninfo(true) and report the output here?

@tkelman
Copy link
Contributor

tkelman commented May 4, 2014

This sounds a lot like #6504 - are you running 64-bit Julia on a Haswell processor? (versioninfo() will provide enough detail for us to look up the processor family.) If so, try downloading http://sourceforge.net/projects/juliadeps-win/files/openblas-47b22763f8ab0219-x86_64-w64-mingw32.7z and replacing bin/libopenblas.dll with the version from that download.

@turtleslow
Copy link
Author

Yes, I believe it is Haswell. Below is the output from versioninfo(true). I will try the referenced file and report back whether that fixed the problem. Thanks for the quick response!

julia> versioninfo(true)
Julia Version 0.3.0-prerelease+2809
Commit d1095bb* (2014-04-28 22:41 UTC)
Platform Info:
System: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz
WORD_SIZE: 64
Microsoft Windows [Version 6.3.9600]
uname: MINGW32_NT-6.2 1.0.12(0.46/3/2) 2011-07-20 17:52 i686 unknown
Memory: 3.9143295288085938 GB (2206.61328125 MB free)
Uptime: 636624.1010202 sec
Load Avg: 0.0 0.0 0.0
Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz:
speed user nice sys idle irq ticks
#1 2295 MHz 836265 0 780015 29281703 70781 ticks
#2 2295 MHz 612203 0 1450906 28834312 819046 ticks
#3 2295 MHz 1031359 0 824234 29041828 23937 ticks
#4 2295 MHz 527609 0 532296 29837515 45484 ticks

BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY)
LAPACK: libopenblas
LIBM: libopenlibm
Environment:
HOMEDRIVE = C:
HOMEPATH = \Users\xyz
JULIA_EDITOR = start
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

Package Directory: C:\Users\xyz.julia\v0.3
INFO: Initializing package repository C:\Users\xyz.julia\v0.3
INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl
No packages installed

julia>

@turtleslow
Copy link
Author

Great! This worked. Thanks a lot!

@JeffBezanson
Copy link
Member

Many thanks @tkelman . Closing as dup. Will be fully fixed when we bump openblas.

@tkelman
Copy link
Contributor

tkelman commented May 5, 2014

Happy to help. It'll have to be an rc3 or full release of 0.2.9, since the fix is only in the openblas develop branch so far.

@ViralBShah
Copy link
Member

Cc @xianyi

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

5 participants