3.0.3 release candidate

View: New views
15 Messages — Rating Filter:   Alert me  

3.0.3 release candidate

by Jaroslav Hajek-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hello,

the release candidate tarballs for octave 3.0.3 can be found at
http://artax.karlin.mff.cuni.cz/~hajej2am/ulozna/octave/
Anyone is welcome to build and report results.

regards

--
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz

Re: 3.0.3 release candidate

by Søren Hauberg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Quoting Jaroslav Hajek <highegg@...>:
> the release candidate tarballs for octave 3.0.3 can be found at
> http://artax.karlin.mff.cuni.cz/~hajej2am/ulozna/octave/
> Anyone is welcome to build and report results.

It appears to work just fine on OpenSUSE 11. The only errors I get  
during 'make check' are related to me not having HDF5 and QHull  
installed.

Søren



Re: 3.0.3 release candidate

by shaiay :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Sep 24, 2008 at 1:48 PM,  <soren@...> wrote:
> Quoting Jaroslav Hajek <highegg@...>:
>>
>> the release candidate tarballs for octave 3.0.3 can be found at
>> http://artax.karlin.mff.cuni.cz/~hajej2am/ulozna/octave/
>> Anyone is welcome to build and report results.
>
> It appears to work just fine on OpenSUSE 11. The only errors I get during
> 'make check' are related to me not having HDF5 and QHull installed.


make check passed fine on my system:
Linux mars.bioc 2.6.26.3-14.fc8 #1 SMP Wed Sep 3 03:40:05 EDT 2008
i686 i686 i386 GNU/Linux

Re: 3.0.3 release candidate

by Thomas Weber-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Mittwoch, den 24.09.2008, 11:37 +0200 schrieb Jaroslav Hajek:
> hello,
>
> the release candidate tarballs for octave 3.0.3 can be found at
> http://artax.karlin.mff.cuni.cz/~hajej2am/ulozna/octave/
> Anyone is welcome to build and report results.

Works on Debian, both x86 and amd64.

        Thomas


Re: 3.0.3 release candidate

by Marco atzeri-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


--- Jaroslav Hajek ha scritto:

> hello,
>
> the release candidate tarballs for octave 3.0.3 can
> be found at
>
http://artax.karlin.mff.cuni.cz/~hajej2am/ulozna/octave/
> Anyone is welcome to build and report results.
>
> regards
>
> --
> RNDr. Jaroslav Hajek

on cygwin no ploblem.

  PASS   3949
  FAIL      1 (the usual syscall random failure)

Regards
Marco
 

 

__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi
http://mail.yahoo.it 

Re: 3.0.3 release candidate

by Michael Goffioul-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Sep 24, 2008 at 11:37 AM, Jaroslav Hajek <highegg@...> wrote:
> hello,
>
> the release candidate tarballs for octave 3.0.3 can be found at
> http://artax.karlin.mff.cuni.cz/~hajej2am/ulozna/octave/
> Anyone is welcome to build and report results.

Compiles and runs fine under Windows/MSVC. Only 2 test failures
in interpft.m due to tolerance slightly exceeded.

Michael.

Re: 3.0.3 release candidate

by John W. Eaton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 24-Sep-2008, Michael Goffioul wrote:

| On Wed, Sep 24, 2008 at 11:37 AM, Jaroslav Hajek <highegg@...> wrote:
| > hello,
| >
| > the release candidate tarballs for octave 3.0.3 can be found at
| > http://artax.karlin.mff.cuni.cz/~hajej2am/ulozna/octave/
| > Anyone is welcome to build and report results.
|
| Compiles and runs fine under Windows/MSVC. Only 2 test failures
| in interpft.m due to tolerance slightly exceeded.

How much?  Perhaps we should increase the tolerance.

Thanks,

jwe

Re: 3.0.3 release candidate

by Michael Goffioul-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Sep 24, 2008 at 3:28 PM, John W. Eaton <jwe@...> wrote:
> | Compiles and runs fine under Windows/MSVC. Only 2 test failures
> | in interpft.m due to tolerance slightly exceeded.
>
> How much?  Perhaps we should increase the tolerance.

Not much. In both cases:

maximum absolute error 2.498e-016 exceeds tolerance 2.22045e-016

Michael.

Re: 3.0.3 release candidate

by John W. Eaton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 24-Sep-2008, Michael Goffioul wrote:

| On Wed, Sep 24, 2008 at 3:28 PM, John W. Eaton <jwe@...> wrote:
| > | Compiles and runs fine under Windows/MSVC. Only 2 test failures
| > | in interpft.m due to tolerance slightly exceeded.
| >
| > How much?  Perhaps we should increase the tolerance.
|
| Not much. In both cases:
|
| maximum absolute error 2.498e-016 exceeds tolerance 2.22045e-016

OK, so how about the following change?

Thanks,

jwe


# HG changeset patch
# User John W. Eaton <jwe@...>
# Date 1222264078 14400
# Node ID 877faa7aa9b2df9193425119df746d5a024c5783
# Parent  177117c7e375d63229f9dbad221114e313aa99ea
interpft.m: increase tolerance

diff --git a/scripts/ChangeLog b/scripts/ChangeLog
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,7 @@
+2008-09-24  John W. Eaton  <jwe@...>
+
+ * general/interpft.m: Increase tolerance in tests.
+
 2008-09-23  Francesco Potorti`  <Potorti@...>
 
  * plot/pcolor.m: Improve doc string.
diff --git a/scripts/general/interpft.m b/scripts/general/interpft.m
--- a/scripts/general/interpft.m
+++ b/scripts/general/interpft.m
@@ -106,9 +106,9 @@
 
 %!shared n,y
 %! x = [0:10]'; y = sin(x); n = length (x);
-%!assert (interpft(y, n), y, eps);
-%!assert (interpft(y', n), y', eps);
-%!assert (interpft([y,y],n), [y,y], eps);
+%!assert (interpft(y, n), y, 2*eps);
+%!assert (interpft(y', n), y', 2*eps);
+%!assert (interpft([y,y],n), [y,y], 2*eps);
 
 %!error (interpft(y,n,0))
 %!error (interpft(y,[n,n]))

Re: 3.0.3 release candidate

by Michael Goffioul-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Sep 24, 2008 at 3:48 PM, John W. Eaton <jwe@...> wrote:
> | maximum absolute error 2.498e-016 exceeds tolerance 2.22045e-016
>
> OK, so how about the following change?

Works fine. No more test failure.

Michael.

Re: 3.0.3 release candidate

by Michael Goffioul-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Sep 24, 2008 at 11:37 AM, Jaroslav Hajek <highegg@...> wrote:
> hello,
>
> the release candidate tarballs for octave 3.0.3 can be found at
> http://artax.karlin.mff.cuni.cz/~hajej2am/ulozna/octave/
> Anyone is welcome to build and report results.

While trying to install an octave-forge package on my compiled
3.0.3, I got the following error:

octave.exe:10> pkg -verbose install io-1.0.7.tar.gz
mkdir (C:\DOCUME~1\Michael\LOCALS~1\Temp\oct-16)
untar (io-1.0.7.tar.gz, C:\DOCUME~1\Michael\LOCALS~1\Temp\oct-16)
make: Entering directory `/tmp/oct-16/io-1.0.7/src'
mkoctfile dlmread.cc
dlmread.cc
   Creating library dlmread.lib and object dlmread.exp
mkoctfile textread.cc
textread.cc
   Creating library textread.lib and object textread.exp
make: Leaving directory `/tmp/oct-16/io-1.0.7/src'
error: a null assignment can have only one non-colon index
error: called from `split' in file
C:\Software\VCLibs\local\octave-3.0.3\share\octave\3.0.3\m\strings\split.m
near line 91, column 21

I don't really have the time for debugging now, but I wanted to report
the error. Maybe someone can have a look.

Bye,
Michael.

Re: 3.0.3 release candidate

by Tatsuro MATSUOKA-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

--- Jaroslav Hajek <highegg@...> wrote:
> the release candidate tarballs for octave 3.0.3 can be found at
> http://artax.karlin.mff.cuni.cz/~hajej2am/ulozna/octave/
> Anyone is welcome to build and report results.

I have tested on mingw and propose two changeset.


*********
--- a/src/DLD-FUNCTIONS/rand.cc Mon Aug 04 22:32:47 2008 -0400
+++ b/src/DLD-FUNCTIONS/rand.cc Fri Aug 08 16:11:07 2008 +0900
@@ -950,7 +950,7 @@
 %!test
 %! % Test fixed state
 %! randp("seed",1);
-%! assert(randp(1e9,1,6),[1000006208 1000012224 999981120 999963520 999963072 999981440],1e-6)
+%! assert(randp(1e9,1,6),[1000006208 1000012224 999981120 999963520 999963072 999981440],1e+2)
 %!test
 %! if (__random_statistical_tests__)
 %!   % statistical tests may fail occasionally.

*************
--- a/ChangeLog Tue Aug 19 16:15:52 2008 -0400
+++ b/ChangeLog Fri Aug 22 13:37:16 2008 +0900
@@ -1,3 +1,7 @@
+2008-08-22  Tatsuro MATSUOKA  <tmacchant@...>
+
+       test/octave.test/string/isprint-1.m in test_string.m for fixed.
+
 2008-08-19  Jaroslav Hajek <highegg@...>
 
        Version 3.0.2 released.
diff -r 4908e39553b0 test/test_string.m
--- a/test/test_string.m        Tue Aug 19 16:15:52 2008 -0400
+++ b/test/test_string.m        Fri Aug 22 13:37:16 2008 +0900
@@ -532,7 +532,7 @@
 %! result = zeros (1, 128);
 %!
 %! result (33:127) = 1;
-%! if (ispc () && ! isunix ())
+%! if (size(findstr (octave_config_info('canonical_host_type'), 'msvc'),2))
 %!   result(10) = 1;
 %! endif
 %!

************
The make check errors No.2 and No.3 were discussed by Benjamin but they seemed to be unsolved even
now.

http://www-old.cae.wisc.edu/pipermail/octave-maintainers/2008-August/008155.html

Regards

Tatsuro


********test Reults
$ make check
Integrated test scripts:
  c:\usr\Tatsu\mingwhome\octaves\octave-3.0.3\src/DLD-FUNCTIONS\rand.cc  PASS
56/57   FAIL 1
  c:\usr\Tatsu\mingwhome\octaves\octave-3.0.3\src\ov-fcn-handle.cc  PASS    2/3
   FAIL 1
  c:\usr\Tatsu\mingwhome\octaves\octave-3.0.3\scripts/strings\mat2str.m  PASS
 2/3    FAIL 1

Fixed test scripts:

  test_string.m .......................................... PASS  130/131  FAIL 1

Summary:

  PASS   3869
  FAIL      4

*********
1
*********
  c:\usr\Tatsu\mingwhome\octaves\octave-3.0.3\src/DLD-FUNCTIONS\rand.cc  PASS
56/57   FAIL 1
  ***** test
 % Test fixed state
 randp("seed",1);
 assert(randp(1e9,1,6),[1000006208 1000012224 999981120 999963520 999963072 999981440],1e-6)
!!!!! test failed
error: assert (randp (1e9, 1, 6),[1000006208, 1000012224, 999981120, 999963520, 999963072,
999981440],1e-6) expected
   1.0000e+09   1.0000e+09   9.9998e+08   9.9996e+08   9.9996e+08   9.9998e+08
but got
   1.0000e+09   1.0000e+09   9.9998e+08   9.9996e+08   9.9996e+08   9.9998e+08
maximum absolute error 27 exceeds tolerance 1e-06
shared variables {
  __random_statistical_tests__ = 0
}
*************
2
*************
  c:\usr\Tatsu\mingwhome\octaves\octave-3.0.3\src\ov-fcn-handle.cc  PASS    2/3
   FAIL 1
  ***** test
 a = 2;
 f = @(x) a + x;
 g = @(x) 2 * x;
 h = @log2;
 f2 = f;
 g2 = g;
 h2 = h;
 nm = tmpnam();
 unwind_protect
   save ("-text", nm, "f2", "g2", "h2");
   clear f2 g2 h2
   load (nm);
   assert (f(2),f2(2));
   assert (g(2),g2(2));
   assert (g(3),g2(3));
   unlink (nm);
   save ("-text", nm, "f2", "g2", "h2");
 unwind_protect_cleanup
   unlink (nm);
 end_unwind_protect
!!!!! test failed
error: function handle points to non-existent function

**************
3
**************
  c:\usr\Tatsu\mingwhome\octaves\octave-3.0.3\scripts/strings\mat2str.m  PASS
 2/3    FAIL 1
  ***** assert (mat2str ([-1/3 +i/7; 1/3 -i/7], [4 2]), "[-0.3333+0i,0+0.14i;0.3333+0i,-0-0.14i]")
!!!!! test failed
error: assert (mat2str ([-1 / 3, +i / 7; 1 / 3, -i / 7], [4,
2]),"[-0.3333+0i,0+0.14i;0.3333+0i,-0-0.14i]") expected
[-0.3333+0i,0+0.14i;0.3333+0i,-0-0.14i]
but got
[-0.3333+0i,0+0.14i;0.3333+0i,0-0.14i]
>>>>> processing c:\usr\Tatsu\mingwhome\octaves\octave-3.0.3\scripts/strings\strcat.m
  ***** xtest
 assert(all (strcmp (strcat ("a", {"bc", "de"}, "f"), {"abcf", "adef"})))
!!!!! known failure
error: strcat: concatenating cell arrays of strings not implemented
*************
4
*************
 charset = setstr (0:127);
 
 result = zeros (1, 128);
 
 result (33:127) = 1;
 if (ispc () && ! isunix ())
   result(10) = 1;
 endif
 
 assert(all (isprint (charset) == result));
!!!!! test failed
error: assert (all (isprint (charset) == result)) failed
***************
skipped test
***************
>>>>> processing test_system
  ***** testif HAVE_GETPWUID
 x = getpwuid (getuid ());
 assert((strcmp (x.dir, tilde_expand ("~"))
 && strcmp (x.dir, tilde_expand (sprintf ("~%s", x.name)))
 && strcmp ("foobar", tilde_expand ("foobar"))));
----- skipped test
  ***** testif HAVE_GETPGRP
 assert(getpgrp () > 0);
----- skipped test
  ***** testif HAVE_GETPPID
 assert(getppid () > 0);
----- skipped test
  ***** testif HAVE_GETPWENT
 s = getpwent ();
 endpwent ();
 assert((isstruct (s)
 && struct_contains (s, "name")
 && struct_contains (s, "passwd")
 && struct_contains (s, "uid")
 && struct_contains (s, "gid")
 && struct_contains (s, "gecos")
 && struct_contains (s, "dir")
 && struct_contains (s, "shell")));
----- skipped test
  ***** testif HAVE_GETPWUID
 x = getpwent ();
 y = getpwuid (x.uid);
 endpwent ();
 assert(strcmp (x.name, y.name) && x.uid == y.uid && x.gid == y.gid);
----- skipped test
  ***** testif HAVE_GETPWNAM
 x = getpwent ();
 y = getpwnam (x.name);
 endpwent ();
 assert(strcmp (x.name, y.name) && x.uid == y.uid && x.gid == y.gid);
----- skipped test
  ***** testif HAVE_SETPWENT
 x = getpwent ();
 setpwent ();
 y = getpwent ();
 endpwent ();
 assert(strcmp (x.name, y.name) && x.uid == y.uid && x.gid == y.gid);
----- skipped test
  ***** testif HAVE_GETGRENT
 x = getgrent ();
 endgrent ();
 assert((isstruct (x)
 && struct_contains (x, "name")
 && struct_contains (x, "passwd")
 && struct_contains (x, "gid")
 && struct_contains (x, "mem")));
----- skipped test
  ***** testif HAVE_GETGRGID
 x = getgrent ();
 y = getgrgid (x.gid);
 endgrent ();
 assert(strcmp (x.name, y.name) && x.gid == y.gid);
----- skipped test
  ***** testif HAVE_GETGRNAM
 x = getgrent ();
 y = getgrnam (x.name);
 endgrent ();
 assert(strcmp (x.name, y.name) && x.gid == y.gid);
----- skipped test
  ***** testif HAVE_SETGRENT
 x = getgrent ();
 setgrent ();
 y = getgrent ();
 endgrent ();
 assert(strcmp (x.name, y.name) && x.gid == y.gid);
----- skipped test
>>>>> processing test_transpose
>>>>> processing test_try
>>>>> processing test_unwind
>>>>> processing test_while

Files with no tests:

The have sent


Please see first
http://www.nabble.com/make-check-reults-for-octave-3.0.2-for-mingw-to19128571.html#a19128571



For No.1  the previous patch was not correct, please apply
--- a/src/DLD-FUNCTIONS/rand.cc Mon Aug 04 22:32:47 2008 -0400
+++ b/src/DLD-FUNCTIONS/rand.cc Fri Aug 08 16:11:07 2008 +0900
@@ -950,7 +950,7 @@
 %!test
 %! % Test fixed state
 %! randp("seed",1);
-%! assert(randp(1e9,1,6),[1000006208 1000012224 999981120 999963520 999963072 999981440],1e-6)
+%! assert(randp(1e9,1,6),[1000006208 1000012224 999981120 999963520 999963072 999981440],1e+2)
 %!test
 %! if (__random_statistical_tests__)
 %!   % statistical tests may fail occasionally.

For No.4, please apply

--- a/ChangeLog Tue Aug 19 16:15:52 2008 -0400
+++ b/ChangeLog Fri Aug 22 13:37:16 2008 +0900
@@ -1,3 +1,7 @@
+2008-08-22  Tatsuro MATSUOKA  <tmacchant@...>
+
+       test/octave.test/string/isprint-1.m in test_string.m for fixed.
+
 2008-08-19  Jaroslav Hajek <highegg@...>
 
        Version 3.0.2 released.
diff -r 4908e39553b0 test/test_string.m
--- a/test/test_string.m        Tue Aug 19 16:15:52 2008 -0400
+++ b/test/test_string.m        Fri Aug 22 13:37:16 2008 +0900
@@ -532,7 +532,7 @@
 %! result = zeros (1, 128);
 %!
 %! result (33:127) = 1;
-%! if (ispc () && ! isunix ())
+%! if (size(findstr (octave_config_info('canonical_host_type'), 'msvc'),2))
 %!   result(10) = 1;
 %! endif




--------------------------------------
Enjoy MLB with MAJOR.JP! Ichiro, Matsuzaka, Matsui, and more!
http://pr.mail.yahoo.co.jp/mlb/

Re: 3.0.3 release candidate

by Thomas Weber-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Sat, Sep 27, 2008 at 01:32:57PM +0900, Tatsuro MATSUOKA wrote:

> Hello
>
> --- Jaroslav Hajek <highegg@...> wrote:
> > the release candidate tarballs for octave 3.0.3 can be found at
> > http://artax.karlin.mff.cuni.cz/~hajej2am/ulozna/octave/
> > Anyone is welcome to build and report results.
>
> I have tested on mingw and propose two changeset.
>
>
> *********
> --- a/src/DLD-FUNCTIONS/rand.cc Mon Aug 04 22:32:47 2008 -0400
> +++ b/src/DLD-FUNCTIONS/rand.cc Fri Aug 08 16:11:07 2008 +0900
> @@ -950,7 +950,7 @@
>  %!test
>  %! % Test fixed state
>  %! randp("seed",1);
> -%! assert(randp(1e9,1,6),[1000006208 1000012224 999981120 999963520 999963072 999981440],1e-6)
> +%! assert(randp(1e9,1,6),[1000006208 1000012224 999981120 999963520 999963072 999981440],1e+2)

That's going from 0.000001 to 100. What's the output of the randp
command?

        Thomas


Re: 3.0.3 release candidate

by dbateman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Thomas Weber-8 wrote:
That's going from 0.000001 to 100. What's the output of the randp
command?
The randp command returns integers so if we use absolute tolerances as in Tatsuro's patch then yes they need to be larger than 1 to be of any sense. Change the sign of the tolerance to flag a relative tolerance to make this have more sense and then something smaller can be used.

D.

Re: 3.0.3 release candidate

by Jaroslav Hajek-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Sep 24, 2008 at 3:48 PM, John W. Eaton <jwe@...> wrote:

> On 24-Sep-2008, Michael Goffioul wrote:
>
> | On Wed, Sep 24, 2008 at 3:28 PM, John W. Eaton <jwe@...> wrote:
> | > | Compiles and runs fine under Windows/MSVC. Only 2 test failures
> | > | in interpft.m due to tolerance slightly exceeded.
> | >
> | > How much?  Perhaps we should increase the tolerance.
> |
> | Not much. In both cases:
> |
> | maximum absolute error 2.498e-016 exceeds tolerance 2.22045e-016
>
> OK, so how about the following change?
>

Applied to 3.0.x


> Thanks,
>
> jwe
>
>
> # HG changeset patch
> # User John W. Eaton <jwe@...>
> # Date 1222264078 14400
> # Node ID 877faa7aa9b2df9193425119df746d5a024c5783
> # Parent  177117c7e375d63229f9dbad221114e313aa99ea
> interpft.m: increase tolerance
>
> diff --git a/scripts/ChangeLog b/scripts/ChangeLog
> --- a/scripts/ChangeLog
> +++ b/scripts/ChangeLog
> @@ -1,3 +1,7 @@
> +2008-09-24  John W. Eaton  <jwe@...>
> +
> +       * general/interpft.m: Increase tolerance in tests.
> +
>  2008-09-23  Francesco Potorti`  <Potorti@...>
>
>        * plot/pcolor.m: Improve doc string.
> diff --git a/scripts/general/interpft.m b/scripts/general/interpft.m
> --- a/scripts/general/interpft.m
> +++ b/scripts/general/interpft.m
> @@ -106,9 +106,9 @@
>
>  %!shared n,y
>  %! x = [0:10]'; y = sin(x); n = length (x);
> -%!assert (interpft(y, n), y, eps);
> -%!assert (interpft(y', n), y', eps);
> -%!assert (interpft([y,y],n), [y,y], eps);
> +%!assert (interpft(y, n), y, 2*eps);
> +%!assert (interpft(y', n), y', 2*eps);
> +%!assert (interpft([y,y],n), [y,y], 2*eps);
>
>  %!error (interpft(y,n,0))
>  %!error (interpft(y,[n,n]))
>
>



--
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz