[julia-users] Re: JLD crash on WIN

2016-11-08 Thread Igor Cerovsky
I've also submitted an issue to JLD, and the problem is originally addressed here: https://github.com/JuliaIO/JLD.jl/issues/103 On Tuesday, 8 November 2016 14:50:49 UTC+1, Igor Cerovsky wrote: > > Hello, > > Julia 0.5 crashes when loading previously saved data using JLD; code

[julia-users] JLD crash on WIN

2016-11-08 Thread Igor Cerovsky
Hello, Julia 0.5 crashes when loading previously saved data using JLD; code below shows a simple example, that causes crash: using JLD type foo a::Int b::String end f = foo(1, "a") save("d:/work/Julia/data.jld", "f", f) l = load("d:/work/Julia/data.jld", "f") # crashes here however, everyt

Re: [julia-users] call compiled Julia image from multiple threads in C++

2016-10-06 Thread Igor Cerovsky
Thanks for quick answer. Is there a best practice to achieve similar behavior - calling compiled Julia code in parallel?

[julia-users] call compiled Julia image from multiple threads in C++

2016-10-06 Thread Igor Cerovsky
Hello, Calling compiled Julia 0.5 code from C++ (MSVS15) from multiple threads a code that follows fails. Consider following example under WIN using Julia 0.5: #include #include #include "julia.h" //@Base.ccallable Int64 jl_foo(x::Int64) = (x + 1) void TestJl() { jl_options.compile_enabled

Re: [julia-users] Re: Plotting lots of data

2016-09-22 Thread Igor _
Chris, thank you for the information!! 21 сент. 2016 г. 23:07 пользователь "Chris Rackauckas" написал: > Usually I'm plotting the run from really long differential equations > solution. The one I am mentioning is from a really long stochastic > differential equation solution (publication coming

[julia-users] Re: Plotting lots of data

2016-09-21 Thread Igor
Hello! did you managed to plot big data sets? You can try to use my small package for this ( https://github.com/ig-or/qwtwplot.jl ) - it's very interesting for me how it can handle big data sets. Best regards, Igor четверг, 16 июня 2016 г., 0:08:42 UTC+3 пользователь CrocoDuck O&

Re: [julia-users] Re: another new 2D plotting library for Julia

2016-09-07 Thread Igor _
Thanks for this notice. "Invalid marble path" warning should be fixed in current "master". I'll look at other warnings, but this may be not so easy. Best regards, Igor 06.09.2016 11:43 пользователь "Henri Girard" написал: > Thanks... Much better (quicke

Re: [julia-users] Re: another new 2D plotting library for Julia

2016-09-05 Thread Igor
та 2016 г., 19:27:34 UTC+3 пользователь Igor написал: > > Oups...looks like I'll have to change package name one more time. It > should start with an upper case letter. > > > > среда, 31 августа 2016 г., 19:00:08 UTC+3 пользователь Igor написал: >> >> Tom,

Re: [julia-users] Re: another new 2D plotting library for Julia

2016-08-31 Thread Igor
Oups...looks like I'll have to change package name one more time. It should start with an upper case letter. среда, 31 августа 2016 г., 19:00:08 UTC+3 пользователь Igor написал: > > Tom, thanks for the question; I created a list of (what I think are) > "killer fe

Re: [julia-users] Re: another new 2D plotting library for Julia

2016-08-31 Thread Igor
Tom, thanks for the question; I created a list of (what I think are) "killer features" here: https://github.com/ig-or/qwtwplot.jl/wiki/features Best regards, Igor среда, 31 августа 2016 г., 16:05:23 UTC+3 пользователь Tom Breloff написал: > > Hi Igor... any idea how your pac

[julia-users] Re: another new 2D plotting library for Julia

2016-08-31 Thread Igor
bal Metadata: https://github.com/JuliaLang/METADATA.jl/pull/6191 Best regards, Igor пятница, 26 августа 2016 г., 14:16:20 UTC+3 пользователь Henri Girard написал: > > Thanks, I am updating. For julia jupyter is IJulia. Just Pkg.add("IJulia") > will install it. They are devel

Re: [julia-users] Re: another new 2D plotting library for Julia

2016-08-26 Thread Igor
C" library. So you can update everything if you are going to use this package more. Best regards, Igor пятница, 26 августа 2016 г., 9:50:27 UTC+3 пользователь Henri Girard написал: > > Your welcome ! > > I am wondering : As I use jupyter notebook is there a way to get the &

[julia-users] Re: another new 2D plotting library for Julia

2016-08-25 Thread Igor
Thanks Henri! I will install julia 0.5 rc3 and use it for my internal testing. Before I worked on version 4 >

[julia-users] Re: another new 2D plotting library for Julia

2016-08-25 Thread Igor
Henry, I'll try to add this. Best regards, Igor четверг, 25 августа 2016 г., 14:04:28 UTC+3 пользователь Henri Girard написал: > > Hi, > I tried compiling it on ubuntu xenial 16.04, following your description, > it works fine. I would like to have it being a

[julia-users] Re: another new 2D plotting library for Julia

2016-08-25 Thread Igor
Henry, thank you very much for your input. It looks like that all the errors are because if my using Uint8 instead UInt8; I fixed this and you can make another try now. > >

[julia-users] another new 2D plotting library for Julia

2016-08-25 Thread Igor
o read its description before the installation. It is based on underlying "C" library, which I used to use for data analysis for many years, but now I tried to make a Julia package out of it. I'm new to github, so your comments will be very appreciated. Best regards, Igor

Re: [julia-users] Re: documentation reversed order for multiple methods

2016-05-12 Thread Igor Cerovsky
JuliaLang/julia/pull/15266, > to the definition order of the docstrings, which should be much > less surprising. > > — Mike > On Thursday, 12 May 2016 10:23:16 UTC+2, Igor Cerovsky wrote: >> >> Hello, >> >> Trying to write documentation according to Julia m

[julia-users] documentation reversed order for multiple methods

2016-05-12 Thread Igor Cerovsky
Hello, Trying to write documentation according to Julia manual I've found following reversed order of methods for given function; is that a bug?: """ foo() I'm major foo... """ function foo() end " foo(x) Here comes additional doc... " function foo(x) end resulting documentati

[julia-users] delegatin constructors

2016-04-25 Thread Igor Cerovsky
Hello, Does Julia supports delegating constructors similar to c++11? If yes, what is a syntax? Thanks. // c++ code class class_a { public: class_a() {} class_a(string str) : m_string{ str } {} class_a(string str, double dbl) : m_string{ str }, m_double{ dbl } {} double m_double; str

[julia-users] Re: what is the best way to create a Julia package which depends on a number of dynamic libraries?

2016-04-22 Thread Igor
PATH to include those dependencies? There are a lot of disadvantages of course - for example it will be the package for some particular platform only. Best regards, Igor

[julia-users] what is the best way to create a Julia package which depends on a number of dynamic libraries?

2016-04-21 Thread Igor
think that maybe I could make a "package" from it and it may be useful for others. Best regards, Igor

[julia-users] strategy design pattern

2016-04-05 Thread Igor Cerovsky
Hi, By exploring Julia I'm curios what would be a best way to implement strategy design pattern in Julia. I'm posting a C++ example, for which I would like to write equivalent in Julia. Thanks. #include #include #include template void foo_t(const T& t) { std::cout << "I'm using foo_t... \

Re: [julia-users] Re: performace of loops Julia vs Blas

2016-04-04 Thread Igor Cerovsky
r by a factor of two. > > > > You can try a newer version of Julia (0.4.5?) that should build > > against LLVM 3.7.1 instead of LLVM 3.3. > > IIRC the 0.4.* binaries should be built with llvm 3.3. > > > > > -erik > > > > On Thu, Mar 24, 2016 at 8

Re: [julia-users] Re: performace of loops Julia vs Blas

2016-03-24 Thread Igor Cerovsky
I cannot find ymm instuctions in the assembly code. Does LLVM libLLVM-3.3 supports AVX2 instruction set?

Re: [julia-users] Re: performace of loops Julia vs Blas

2016-03-23 Thread Igor Cerovsky
: libopenblas64_ LIBM: libopenlibm LLVM: libLLVM-3.3 Igor On Wednesday, 23 March 2016 16:05:20 UTC+1, Erik Schnetter wrote: > > I was using a "CPU: Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz". > > -erik > > On Wed, Mar 23, 2016 at 10:53 AM, Igor Cerovsky > &

Re: [julia-users] Re: performace of loops Julia vs Blas

2016-03-23 Thread Igor Cerovsky
version. I'd be happy to have a quick glance at it if you create a > listing (with `@code_native`) and e.g. put it up as a gist > . I'd also need your CPU type (`versioninfo()` in > Julia, plus `cat /proc/cpuinfo` under Linux). No promises, though. > > -erik > > On Wed, Mar 23

Re: [julia-users] Re: performace of loops Julia vs Blas

2016-03-23 Thread Igor Cerovsky
trying to figure out why? On Tuesday, 22 March 2016 15:43:18 UTC+1, Erik Schnetter wrote: > > On Tue, Mar 22, 2016 at 4:36 AM, Igor Cerovsky > > wrote: > > The factor ~20% I've mentioned just because it is something what I've > > commonly observed, and

Re: [julia-users] Re: performace of loops Julia vs Blas

2016-03-22 Thread Igor Cerovsky
to be accepted, > unless to really look into the details (generated assembler code, > measure cache misses, introduce manual vectorization and loop > unrolling, etc.) And you'll have to repeat that analysis if you're > using a different system. > > -erik > > On

Re: [julia-users] Re: performace of loops Julia vs Blas

2016-03-21 Thread Igor Cerovsky
mistuned. > > On Mon, Mar 21, 2016 at 5:58 AM, Igor Cerovsky > wrote: > >> Thanks Steven, I've thought there is something more behind... >> >> I shall note that that I forgot to mention matrix dimensions, which is >> 1000 x 1000. >> >> On Monday,

[julia-users] Re: performace of loops Julia vs Blas

2016-03-21 Thread Igor Cerovsky
Thanks Steven, I've thought there is something more behind... I shall note that that I forgot to mention matrix dimensions, which is 1000 x 1000. On Monday, 21 March 2016 10:48:33 UTC+1, Steven G. Johnson wrote: > > You need a lot more than just fast loops to match the performance of an > optim

[julia-users] performace of loops Julia vs Blas

2016-03-21 Thread Igor Cerovsky
Hi, Trying to write custom and using BLAS functions implementation of Gram-Schmidt algorithm I got more than 2-times slower performance for Julia 0.4.3 on my computer Intel i7 6700HQ (on older processor i7 5500 the performance gain is 1.2-times). The code below is a bit longer, but I got the s

Re: [julia-users] broadcast performance is slow

2016-03-21 Thread Igor Cerovsky
Fri, Mar 18, 2016 at 8:50 AM, Igor Cerovsky > wrote: > >> Hello, >> >> By writing a code for unit normal scaling I've found a big differences >> related to where a function used in broadcast is defined, *globally* vs* >> locally*. Consider function

[julia-users] broadcast performance is slow

2016-03-19 Thread Igor Cerovsky
ce is 3.6 times better (number of allocations is also large)? I'm using Julia 0.4.3 Thank you, Igor

Re: [julia-users] Re: a excellent Julia IDE, JuliaDT

2016-03-11 Thread Igor
I tried this plugin, it works great job. I hope that after some time it will be even better. Currently, I find JUNO more convenient and faster.

Re: [julia-users] Options for constructing a 3D surface from a point cloud

2016-02-18 Thread Igor
Chris , I'm interested in this area too. Please post here if you come up with some solution you would like. Best regards, Igor

[julia-users] Julia on Mac OS X Yosemite

2015-09-07 Thread Igor Rivin
I have recently installed (then re-installed) Julia 0.3.11, and I am having problems with packages. Should I be concerned? *_* *_** _ **_**(_)**_** | A fresh approach to technical computing* *(_)** | **(_)* *(_)**| Documentation: http://docs.julialang.or

[julia-users] How to assign an arry from inside a cycle

2015-09-01 Thread Igor
Hello everybody! How is it possible to write something in array from "for" loop? I have following code: t = Array(Float64, 3, 4) for i = 1:3, t[i, :] = [1., 2., 3., 4.] end But after this, all the elements inside "t" are equal to "4". How to make them "1 2 3 4" ? Best regards, Igor.

[julia-users] Difference between {T<:AbstractType} and just x::AbstractType

2014-12-07 Thread Igor Demura
What exactly the difference between: function foo{T<:AbstractType}(x::T) = ... and function foo(x::AbstractType) = ... ? Is any difference at all? The "tips" section of the docs says the second is preferred. If they are the same, why first syntax? I can imagine that I can benefit if I have sever