[julia-users] Re: @inbounds and @simd not showing any sign of speedup

2016-07-29 Thread Andreas Lobinger
Hello colleague, On Friday, July 29, 2016 at 8:59:36 AM UTC+2, Juan Lopez wrote: > > Hello, > > I have a function which is doing basically an operation inside a loop and > when adding @simd or @inbounds time doesn't improve, in any case it seems > slightly worse. > > Is there an explanation f

[julia-users] Re: @inbounds and @simd not showing any sign of speedup

2016-07-29 Thread Kristoffer Carlsson
It is likely because the ranges are not UnitRanges. On Friday, July 29, 2016 at 5:35:57 AM UTC-4, Andreas Lobinger wrote: > > Hello colleague, > > On Friday, July 29, 2016 at 8:59:36 AM UTC+2, Juan Lopez wrote: >> >> Hello, >> >> I have a function which is doing basically an operation inside a loo

[julia-users] Re: @inbounds and @simd not showing any sign of speedup

2016-07-29 Thread Valentin Churavy
A great tool to figuring out what is going on in these cases is `@code_llvm`. It shows you a representation of your code that is still readable, but very close to the machine. Your simple julia code without a `@simd` is nearly optimal, but does benefits from the inclusion of `@inbounds` -

[julia-users] Help with `promote_op` in v0.5

2016-07-29 Thread j verzani
The test for the Polynomials package are now failing in v0.5. Before ``` p1 = Poly([1, 2]) p = [p, p] # 2-element Array{Polynomials.Poly{Float64},1}: p + 3 # 2-element Array{Polynomials.Poly{Float64},1}: ``` But now, `p+3` is an `Array{Any,1}`. I think the solution is related to how `promo

[julia-users] Re: Interactive Animated PyPlot in IJulia

2016-07-29 Thread Christoph Ortner
Thanks for figuring this out, Tom. I'd also be interested in a Reactive and Interact solution. On Thursday, 28 July 2016 23:42:16 UTC+1, Thomas Hudson wrote: > > I managed to work out a solution in the end, using the clear_output > command and forcing IJulia to display the plot. If anyone know

[julia-users] Re: Help with `promote_op` in v0.5

2016-07-29 Thread Pablo Zubieta
This is due to issue https://github.com/JuliaLang/julia/issues/17314, and should get fixed if https://github.com/JuliaLang/julia/pull/17389 gets merged. On Friday, July 29, 2016 at 5:00:14 PM UTC+2, j verzani wrote: > > The test for the Polynomials package are now failing in v0.5. Before > > ```

[julia-users] Re: Help with `promote_op` in v0.5

2016-07-29 Thread j verzani
Thanks! On Friday, July 29, 2016 at 11:22:47 AM UTC-4, Pablo Zubieta wrote: > > This is due to issue https://github.com/JuliaLang/julia/issues/17314, and > should get fixed if https://github.com/JuliaLang/julia/pull/17389 gets > merged. > > On Friday, July 29, 2016 at 5:00:14 PM UTC+2, j verzani

Re: [julia-users] How to install julia-0.5.0-rc0 on Ubuntu Linux

2016-07-29 Thread Uwe Fechner
Thanks. On Thursday, July 28, 2016 at 5:37:38 PM UTC+2, Andreas Lobinger wrote: > > > > On Thursday, July 28, 2016 at 4:37:24 PM UTC+2, Uwe Fechner wrote: >> >> The following command fixed the problem: >> sudo apt-get install libssl-dev >> >> Perhaps this command could be mentioned in the section

[julia-users] Cluster manager, change ssh

2016-07-29 Thread Dupont
Dear User, I would like to use Julia on a cluster, but the managing is based on OAR. For this manager, SSH is changed to oarsh. So my questions would be: - is it possible to set up julia on a cluster with OAR as clustermanager? Thank you for your help, Best regards.

[julia-users] Combining @parallel and @threads

2016-07-29 Thread Oliver Schulz
It would be nice if @parallel and @threads could be combined. E.g. in an expression @parallel @threads for [...] end could it be possible for @parallel to "forward" @threads to the inner loops it produces? Does something like this exist already in some form? Forwarding @simd might also be nic

[julia-users] ERROR: FunctionalDataUtils's requirements can't be satisfied

2016-07-29 Thread Colin Beckingham
What's my next step? Using: versioninfo() Julia Version 0.5.0-rc0+63 Commit 75404d1* (2016-07-30 05:51 UTC) Platform Info: System: Linux (x86_64-suse-linux) CPU: Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz WORD_SIZE: 64 BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell) LAPACK