[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: jit test failure octave 3.8 on windows
From: |
Philip Nienhuis |
Subject: |
Re: jit test failure octave 3.8 on windows |
Date: |
Fri, 7 Mar 2014 01:53:55 -0800 (PST) |
tmacchant wrote
> Hello
>
> On the thread concerning GNU Octave in Japan, there was a report for jit
> feature of octave-3.8.0 downloaded from http://mxeoctave.osuv.de/
>
> octave-3.8.0-5, octave-3.8.1-rc3
> Test
>
>> a = 1; b = 1; tic; for i=1:1000; for j=1:1000; a = a + b; end; end; toc
> Elapsed time is 1.5 seconds.
>> jit_enable(1)
>> a = 1; b = 1; tic; for i=1:1000; for j=1:1000; a = a + b; end; end; toc
> (No response)
>
> I have tested the same test on Ubuntu 12.04 LTS (32bit) on octave-3.8.0
> built by myself on my old notebook .
>
> octave:1> a = 1; b = 1; tic; for i=1:1000; for j=1:1000; a = a + b; end;
> end; toc
> Elapsed time is 4.21553 seconds.
> octave:2> jit_enable(1)
> octave:3> a = 1; b = 1; tic; for i=1:1000; for j=1:1000; a = a + b; end;
> end; toc
> Elapsed time is 0.891052 seconds.
>
> In this case jit feature worked correctly.
>
> Have anyone met the same phenomena on mxe-build mingw octave ?
Hi Tatsuro,
Yes I think I've reported a similar issue already (IIRC) some months ago for
the 3.7.7+ series, see here:
https://mailman.cae.wisc.edu/pipermail/octave-maintainers/2013-November/037260.html
I hit it when running __run_test_suite__.m.
Symptoms:
- it seems that jit.tst hangs, but:
- is doesn't, after 20 minutes or so it segfaults.
IIRC it happened already at the 3rd (still very simple) test in jit.tst.
More details in bug #40608
Moving jit.tst out of the way (from share/octave/3.8.0/etc/tests/fixed to
e.g., share/octave/3.8.0) makes __run_test_suite__.m finish.
At the time one of the replies mentioned that JIT still has many problems,
at least on Windows. The advice was to ignore it for the time being (see
here:
http://lists.gnu.org/archive/html/octave-bug-tracker/2013-11/msg00519.html)
On the patch tracker there are improvements for llvm/JIT, made in the course
of GSoC last year, that haven't been merged yet. Perhaps these patches
contain fixes that make llvm work better on Windows, who knows.
Philip
--
View this message in context:
http://octave.1599824.n4.nabble.com/jit-test-failure-octave-3-8-on-windows-tp4662807p4662814.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.