Re: [julia-users] Embarrassingly parallel workload

2015-08-20 Thread Nils Gudat
Sebastian, I'm not sure I understand you correctly, but point (1) in your list can usually be taken care of by wrapping all the necessary usings/requires/includes and definitions in a @everywhere begin ... end block. Julio, as for your original problem, I think Tim's advice about SharedArrays

[julia-users] LightXML has build errors

2015-08-20 Thread Nils Gudat
Has anyone seen this? - INFO: Building LightXML - INFO: Packages to update: zlib1 INFO: Packages to install: libxml2-2 - INFO: Downloading: zlib1 - INFO: Extracting: zlib1 - 7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor

Re: [julia-users] Re: Julia nightlies

2015-08-20 Thread Elliot Saba
Hey Uwe, thanks for raising this to our attention. We definitely do suggest using the generic linux binaries for Travis stuff as they're easier for us to control, but I wanted to let you know that the issues with the PPA have been fixed, and you should be good to go now with regards to getting

[julia-users] Re: precompile EACCES error

2015-08-20 Thread Joosep Pata
Turns out the issue was setting JULIA_HOME=/Users/joosep/Documents/julia/usr/lib/ which caused the precompiler to look for the julia binary in the wrong place. On Wednesday, 19 August 2015 13:27:12 UTC+2, Joosep Pata wrote: I can't seem to load DataFrames due to a precompilation issue ~~~

[julia-users] fork (multitasking, not SW)?

2015-08-20 Thread Andreas Lobinger
Hello colleagues, i'd like to ask for som pointers (in documentation or example which already use/do this) for the following concept: fork processing (one shot) while continue running a program. Maybe multitasking, maybe multithreading, but what i want to do is to spin off some calculations at

[julia-users] Re: Why does enumerate fail in parallel?

2015-08-20 Thread elextr
On Thursday, August 20, 2015 at 4:50:49 AM UTC+10, Ismael VC wrote: Well that works but it's indeed odd, can you open a new issue for this? Not really odd, @parallel needs to divide the set of values between multiple processes, so it needs the whole set of values. El miércoles, 19 de

[julia-users] Re: Why does enumerate fail in parallel?

2015-08-20 Thread elextr
Certainly the error message could be more useful. If it is possible to detect that the argument is an iterator then @parallel could do the collect itself though. On Friday, August 21, 2015 at 6:19:24 AM UTC+10, John Brock wrote: This seems issue-worthy if the most recent nightly have the same

[julia-users] ode-sundials-events option as in deSolve (R)

2015-08-20 Thread Martin J
Hi all, I am trying to use julia ode or sundials for the following simple differential equation. dD = -rateConstant1*D dA1 = rateConstant1*D - rateConstant2*A1 This differential equations explain the disposition of drug in human system. *My question is related to resetting state variable

Re: [julia-users] Re: Julia nightlies

2015-08-20 Thread Uwe Fechner
That is great! Thanks a lot. Uwe Am Donnerstag, 20. August 2015 09:59:28 UTC+2 schrieb Elliot Saba: Hey Uwe, thanks for raising this to our attention. We definitely do suggest using the generic linux binaries for Travis stuff as they're easier for us to control, but I wanted to let you

Re: [julia-users] Constructor or convert(), Upper case or lower case

2015-08-20 Thread Sisyphuss
This is the characteristic of a young language, isn't it? On Tuesday, August 18, 2015 at 6:02:36 PM UTC+2, Matt Bauman wrote: On Tuesday, August 18, 2015 at 11:29:00 AM UTC-4, Sisyphuss wrote: My point is these inconsistent rules are very confusing. The experience gained in one type cannot

Re: [julia-users] fork (multitasking, not SW)?

2015-08-20 Thread Isaiah Norton
Related: https://github.com/JuliaLang/julia/issues/12455 On Thu, Aug 20, 2015 at 7:30 AM, Andreas Lobinger lobing...@gmail.com wrote: Hello colleagues, i'd like to ask for som pointers (in documentation or example which already use/do this) for the following concept: fork processing (one

Re: [julia-users] fork (multitasking, not SW)?

2015-08-20 Thread René Donner
It all depends on the details of what you want to achieve, but in the simplest case something along these lines? ref = @spawn someGUIstuff() othercomputations() guiresult = fetch(ref) This will move the work to one of the workers (if there are any available, see addprocs()). Something

[julia-users] Re: Why does enumerate fail in parallel?

2015-08-20 Thread John Brock
This seems issue-worthy if the most recent nightly has the same problem. It looks like Enumerate supports the length property, so the underlying code for @parallel should be able to check the length of the enumerator and figure out how many jobs to assign to each worker. And regardless of

[julia-users] What makes a programming language successful?

2015-08-20 Thread Waldir Pimenta
I just watched Robert Griesemer's GopherCon 2015 talk The Evolution of Go https://www.youtube.com/watch?v=0ReKdcpNyQg, and although I believe the whole talk will be quite interesting to many in this list, I wondered particularly if people here would agree with his assessment of What makes a

Re: [julia-users] Constructor or convert(), Upper case or lower case

2015-08-20 Thread Stefan Karpinski
Yes. In old languages, there's no longer any hope of fixing the inconsistencies. On Thursday, August 20, 2015, Sisyphuss zhengwend...@gmail.com wrote: This is the characteristic of a young language, isn't it? On Tuesday, August 18, 2015 at 6:02:36 PM UTC+2, Matt Bauman wrote: On Tuesday,

Re: [julia-users] Embarrassingly parallel workload

2015-08-20 Thread Ryan Cox
Sebastian, This talk from JuliaCon 2015 discusses progress on OpenMP-like threading: Kiran Pamnany and Ranjan Anantharaman: Multi-threading Julia: http://youtu.be/GvLhseZ4D8M?a Ryan On 08/19/2015 02:42 PM, Sebastian Nowozin wrote: Hi Julio, I believe this is a very common type of

[julia-users] Re: Why does enumerate fail in parallel?

2015-08-20 Thread John Brock
This seems issue-worthy if the most recent nightly have the same problem. It looks like Enumerate supports the length property, so the underlying code for @parallel should be able to check the length of the enumerator and figure out how many jobs to assign to each worker. And regardless of

Re: [julia-users] Embarrassingly parallel workload

2015-08-20 Thread Sebastian Nowozin
Thanks Ryan for the pointer, this is awesome work, I am looking forward to this becoming part of the Julia release in Q3. Sebastian On Thu, Aug 20, 2015 at 3:34 PM, Ryan Cox ryan_...@byu.edu wrote: Sebastian, This talk from JuliaCon 2015 discusses progress on OpenMP-like threading: Kiran

[julia-users] Re: A cheat page for Julia

2015-08-20 Thread Ian Hellström
I'm glad you like it. Yes, right now everything is for 0.3. On Bitbucket I have already prepared 0.4 but it's not available through the tinyurl link. I might remove the italics on homoiconic. There is no real need for it and it does make the colon almost invisible, I agree. I might add

[julia-users] Re: Are Base.any() and Base.all() optimal?

2015-08-20 Thread Seth
See https://github.com/JuliaLang/julia/issues/11750 and https://github.com/JuliaLang/julia/pull/11774. On Thursday, August 20, 2015 at 9:08:08 AM UTC-7, Pablo San-Jose wrote: Hi all, this is my first post here. I'm a heavy Mathematica user, and a big fan of Julia. Many thanks to all the

[julia-users] Re: A cheat page for Julia

2015-08-20 Thread Páll Haraldsson
This is great! I've seen something similar, but not in a cheat sheet form this nice that I would print myself and hang on the wall (missing then hovering over or clicking that is nice) or recommend to do. Everything I can point to, book, free or not, especially for beginners or non-math people

[julia-users] Re: Are Base.any() and Base.all() optimal?

2015-08-20 Thread Pablo San-Jose
That was fast! Many thanks Seth.

[julia-users] Are Base.any() and Base.all() optimal?

2015-08-20 Thread Pablo San-Jose
Hi all, this is my first post here. I'm a heavy Mathematica user, and a big fan of Julia. Many thanks to all the great minds involved in creating this beautiful thing! I am planning to doing a port of all my Mathematica packages (on quantum transport) to Julia. My very first question: Say