octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #31512] Problem with code on Linux octave 3.2.


From: Rik
Subject: [Octave-bug-tracker] [bug #31512] Problem with code on Linux octave 3.2.3 and 3.2.4/// OK on mac w/ 3.2.3
Date: Fri, 19 Nov 2010 03:41:38 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/9.10 (karmic) Firefox/3.6.12

Follow-up Comment #15, bug #31512 (project octave):

Opensuse desktop should have been vanilla enough.  It is perhaps only
coincidental, but the two failing systems are Opensuse (desktop and
enterprise) whereas working systems include your Mac OS and my Kubuntu 9.04. 
My next suggestion, therefore, is to try something besides Opensuse.  Ubuntu
is pretty easy to download as a liveCD and install on a USB memory stick.  Or
if you have a free partition it will be simpler to just do a hard drive
install.

Some background on Octave which is germane to your problem.  Octave is an
interpreter.  It parses your commands, but hands off large fractions of the
actual computation to other libraries, such as the FFTW library for FFTs or
BLAS for matrix multiplications.  Given that the code runs correctly on
different versions of Octave (3.2.3, 3.2.4, and development version), I don't
think there is an issue with the parser.  This leaves the next most obvious
candidate as the libraries that Octave is using for backend calculation.  That
is why I'm suggesting trying another Linux distribution, where the libraries
could have been compiled very differently.

A final thought, your code does initialize the random number generators to
get reproducible results.  Perhaps this initialization is not working as
expected.  Maybe try simplifying the initalization to just:

rand('twister',1)
randn('state',2)


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31512>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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