octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: svds test failures


From: Marco atzeri
Subject: Re: svds test failures
Date: Sun, 07 Aug 2011 17:25:34 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0

On 8/7/2011 4:28 PM, Rik wrote:

Is it possible that rand/randn are not producing the same value
on all the system, eventually due to different rounding ?

I suppose it is possible.  Ben Abbott and I were trying to debug svds
failures on Mac OS systems and we compared Linux to Mac OS rand number
generation and we got the same values.  But, no comparisons with other OS
were ever made.  Perhaps someone else has done that experiment on the
mailing list and can speak up.

I'm not opposed to changing the initialization seed and this is probably
the fastest way to get these tests working.  I tried moving to 43 and it
works on a Linux system.  In order to be certain you need to run the svds
code repeatedly.  Here is what I ran

  for i = 1:1000
    bm(i) = test ("svds");
  endfor
  sum(bm)

ans = 1000

If you can repeat this test on your machine then I will just change the
initialization point.

Regards,
Rik

on cygwin with 43

octave:1> for i = 1:1000
>    bm(i) = test ("svds");
>  endfor
octave:2> sum(bm)
ans =  1000

eventually we should ask a check also for mingw version.
Just to be sure

Regards
Marco



reply via email to

[Prev in Thread] Current Thread [Next in Thread]