Keno Fischer | 18 May 2012 05:07
Picon
Favicon
Gravatar

Re: Re: More on the simple Gibbs sampler shootout

To qualify that statement, you'll have to build Julia from https://github.com/loladiro/julia rather than master, as there's still a few patches that are not yet merged into master.

On Thu, May 17, 2012 at 11:04 PM, Keno Fischer <kenof-FGKo4X94FMn2fBVCVOL8/A@public.gmane.org> wrote:
cd is a shell intrinsic on Windows, not an actual program, so you can't actually call it. Also, we do have a julia function to achieve the same thing (and in more recent versions the <at> chdir macro), but I'm not sure if that's implemented in the version you have. As I said, the windows build is horribly outdated. Feel free to build Julia from source though.


On Thu, May 17, 2012 at 10:45 PM, J Luis <jmfluis-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
I didn't try parallel on Windows. What do I have to do to load a file?
I'm not even able to change directory

julia> run(`cd ..`)
CreateProcessW: The system cannot find the file specified.


Sexta-feira, 18 de Maio de 2012 3:29:03 UTC+1, Keno Fischer escreveu:
Parallel processing is not implemented yet on windows and the public build for windows is outdated, which is probably why you experienced trouble (I'll publish a new build in two weeks or so, when I finally have some more time to devote to this).

On Thu, May 17, 2012 at 10:25 PM, J Luis <jmfluis-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi,

On OSX MacBook Pro i7 2.66 GHz 

With one processor only

julia> sum([ <at> elapsed dJGibbs3a(20000, 200) for i=1:10])
4.398758888244629

with julia -p 4 it runs the first time

julia> sum([ <at> elapsed dJGibbs3a(20000, 200) for i=1:10])
2.1773054599761963

but 'disconnects' on the second run
sum([ <at> elapsed dJGibbs3a(20000, 200) for i=1:10])DisconnectException()DisconnectException()DisconnectException()

and leaves the processors running at 100% load till I kill the julia session.

Note that in the above I had also Windows running under parallels, bur very sadly I'm not able to make this example run on Windows.
Copy-paste of the function ends up all unformatted and complains about one '[' too much (or too less, forgot), and saving it into a file in julia's root dir doesn't load.

julia> load("JGibbs")
could not open file JGibbs
 in load at util.jl:199

(actually all my very few attempts to run something on Windows ended up this way)

Joaquim

Sexta-feira, 18 de Maio de 2012 2:22:10 UTC+1, Keno Fischer escreveu:
Could you build Julia in debug mode and post a backtrace?





Gmane