[julia-users] Re: Best compile and benchmark for haswell and broadwell architectures?

2016-10-01 Thread David Gleich
Thanks for that pointer. I'll take a look! On Saturday, October 1, 2016 at 3:59:18 PM UTC-4, cormu...@mac.com wrote: > > I asked a similar question last week. The standard recommendation is > https://github.com/JuliaCI/BaseBenchmarks.jl. It didn't really meet what > I was looking for -- a quick,

[julia-users] Best compile and benchmark for haswell and broadwell architectures?

2016-10-01 Thread David Gleich
is there a standard benchmark command to confirm we're getting the "fastest" julia? I did look around for help in the forms and via google, and found bits and pieces. (e.g. JULIA_CPU_TARGET, for instance...). Just wondering what the latest recommendations and experiences are! Thanks! David Gleich

[julia-users] Re: Curious parsing behavior

2016-09-14 Thread David Gleich
Ahah! That explains it. Is there a better way to create floating point literals that avoid this? David On Wednesday, September 14, 2016 at 9:26:42 AM UTC-4, Steven G. Johnson wrote: > > > > On Wednesday, September 14, 2016 at 9:18:11 AM UTC-4, David Gleich wrote: >> >&

[julia-users] Curious parsing behavior

2016-09-14 Thread David Gleich
Can anyone give me a quick explanation for why these statements seem to parse differently? julia> 1782.^12. + 1841.^12. 2.5412102586145895e39 julia> 1782.^12.+1841.^12. 1.5158124229919557e39 Thanks! David Gleich

[julia-users] Changing juliabox font size on iOS

2016-08-18 Thread David Gleich
anyone else has run into this issue and has a solution, it'd be great to hear it! David Gleich

[julia-users] Curious behavior

2016-01-15 Thread David Gleich
; myans() ERROR: UndefVarError: blah not defined in myans at none:2 It seems like this is likely some type of design implication because: julia> function myans() blah 1 end myans (generic function with 1 method) julia> myans() 1 Any insights would be awesome for my own understanding! Thanks, David Gleich

[julia-users] Re: Juliabox cannot start after Pkg.add (unlink error in read-only file system)

2016-01-05 Thread David Gleich
Thanks for that! I figured someone else must have run into this but my googling and searching efforts were in vain! Is the time-frame for the next release imminent? I was hoping to use juliabox in a class I'm starting next week, but this issue could be problematic for many of those students to

[julia-users] Juliabox cannot start after Pkg.add (unlink error in read-only file system)

2016-01-05 Thread David Gleich
I'm trying to use juliabox.org and running into issues that make it unusable for me. Essentially, after I do a Pkg.add operation, the kernel can no longer connect. It seems like it's trying to execute an unlink operation on the read-only portion of the juliabox file system. Da

[julia-users] Re: Type stability with eigs

2015-11-09 Thread David Gleich
issue tracker about it, so it might be a good > idea to file a new issue <https://github.com/JuliaLang/julia/issues/new>. > > // t > > On Saturday, November 7, 2015 at 5:25:30 PM UTC+1, David Gleich wrote: > > I'm trying to get a type-stable output from a symmetric sp

[julia-users] Type stability with eigs

2015-11-07 Thread David Gleich
at64,Int64}) d,V = eigs(A;tol=1e-4) return d end function myeig2(A::SparseMatrixCSC{Float64,Int64}) d,V = eigs(Symmetric(A);tol=1e-4) return d end @code_warntype myeig1(A) @code_warntype myeig2(A) Thanks, David Gleich

[julia-users] Re: Performance of random access sparse matrix algorithm

2015-04-06 Thread David Gleich
l also might > have caught them (would need to try it). > > > On Monday, April 6, 2015 at 9:42:45 AM UTC-7, David Gleich wrote: >> >> Making the change >> >> length(nzrange(P.A,u)) for du and dv >> >> fixes the issue. (Of course.) >> >>

[julia-users] Re: Performance of random access sparse matrix algorithm

2015-04-06 Thread David Gleich
or du, and > similarly for dv - for some reason the length of the output of nzrange > can't be inferred as an Int, this might be a bug worth reporting > > Those 3 changes get it to within a factor of 2 of C++ on my machine. > > -Tony > > > On Friday, April 3, 2015 at

[julia-users] Performance of random access sparse matrix algorithm

2015-04-03 Thread David Gleich
egree of v dv = Float64(length(nzrange(A,v))) rvold = r[v] rvnew = rvold + pushval r[v] = rvnew if rvnew > eps*dv && rvold <= eps*dv push!(q,v) end end end return x, r, pushcount, pushvol