I have also built an a 32bit Octave.app version on Mac OX X 10.5.8 with self-compiled dependencies and it used to exhibit the same norm problem. This speed problem is solved by setting optimization flags to "-O3" or "-O2" : running Vic's test gives similar results on my version and ThomasTreichl's Octave.app (3.2.3)
norm2 speed test - octave 3.4.0 ellapsed times mean stdv norm(x) 8.76e-03 2.07e-04 sqrt(sum(x .* x)) 1.52e-02 1.04e-03
norm2 speed test - octave 3.2.3
ellapsed times mean stdv norm(x) 8.93e-03 3.20e-04 sqrt(sum(x .* x)) 1.65e-02 2.31e-03
Now the problem is that I obtain an error while launching make check: "invalid assignment to cs-list outside multiple assignment".
This problem was reported and discussed previously for 3.3.90 version (http://octave.1599824.n4.nabble.com/Octave-3-3-55-and-Octave-3-3-90-on-OSX-td3247286i60.html#a3336641) but no solution was found.
I also noticed that a with optimization flags set to "-O2" or "-O3" I obtain a warning at compilation time (liboctave) that doesn't appear if compiled without optimization flag : Array.h:183: warning: ‘__base_ctor ’ is deprecated (declared at Array.h:179)
I don't know wether it is related but I wanted to give all elements I had.
Pantxo
[Prev in Thread]
Current Thread
[Next in Thread]
Re: Norm problem in Octave 3.4.0 (Mac?) (Moo),
pantxo diribarne<=