octave 3.0.2 on cygwin with gcc-4.3.2

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

octave 3.0.2 on cygwin with gcc-4.3.2

by Marco atzeri-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear all,
with the just released gcc4 cygwin compiler.
The build was very smooth and the
the increase in performance is sensible

$ time make check

real    2m35.885s
user    2m32.605s
sys     0m17.254s

versus

real    10m56.949s
user    10m31.365s
sys     0m17.373s

obtained with octave-3.0.2-1
built with gcc-3

source and package on
http://matzeri.altervista.org/cygwin-gcc4/

and in short term also on
http://www.cygwin.com 

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: octave 3.0.2 on cygwin with gcc-4.3.2

by dbateman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Marco atzeri-3 wrote:
Dear all,
with the just released gcc4 cygwin compiler.
The build was very smooth and the
the increase in performance is sensible
I suppose this is dwarf2 exception handling versus sjlj exception handling in the older versions of gcc under cygwin. Thank god they finally went back to dwarf2 since Octave has been slow under cygwin since g++ 3.2 due to this issue.

D.


Re: octave 3.0.2 on cygwin with gcc-4.3.2

by Marco atzeri-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- dbateman  ha scritto:
 

> Marco atzeri-3 wrote:
> >
> > Dear all,
> > with the just released gcc4 cygwin compiler.
> > The build was very smooth and the
> > the increase in performance is sensible
> >
>
> I suppose this is dwarf2 exception handling versus
> sjlj exception handling
> in the older versions of gcc under cygwin. Thank god
> they finally went back
> to dwarf2 since Octave has been slow under cygwin
> since g++ 3.2 due to this
> issue.
>
> D.

yes
Major new platform features:

 - Shared libgcc
      (selectable by --shared-libgcc/--static-libgcc
flag)
 - Dwarf-2 EH
      (no SjLj at all; if using EH and DLLs,
--shared-libgcc is mandatory)


but is still to be polished
http://www.cygwin.com/ml/cygwin/2008-09/msg00291.html

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: octave 3.0.2 on cygwin with gcc-4.3.2

by Tatsuro MATSUOKA-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Macro

It is a good news that you have been successful in building octave-3.0.2 with gcc-4.3.2-1.

Is your official release of octave-3.0.2 built by gcc-3.4.4.-3, I think.
Is that right?

--- Marco Atzeri <marco_atzeri@...> wrote:

> --- dbateman  ha scritto:
>  
> > Marco atzeri-3 wrote:
> > >
> > > Dear all,
> > > with the just released gcc4 cygwin compiler.
> > > The build was very smooth and the
> > > the increase in performance is sensible
> > >
> >
> > I suppose this is dwarf2 exception handling versus
> > sjlj exception handling
> > in the older versions of gcc under cygwin. Thank god
> > they finally went back
> > to dwarf2 since Octave has been slow under cygwin
> > since g++ 3.2 due to this
> > issue.
> >
> > D.
>
> yes
> Major new platform features:
>
>  - Shared libgcc
>       (selectable by --shared-libgcc/--static-libgcc
> flag)
>  - Dwarf-2 EH
>       (no SjLj at all; if using EH and DLLs,
> --shared-libgcc is mandatory)
>
>
> but is still to be polished
> http://www.cygwin.com/ml/cygwin/2008-09/msg00291.html
>
> 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 
>


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

Re: octave 3.0.2 on cygwin with gcc-4.3.2

by Tatsuro MATSUOKA-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Marco

--- Tatsuro MATSUOKA <tmacchant@...> wrote:

> Is your official release of octave-3.0.2 built by gcc-3.4.4.-3, I think.
> Is that right?

I have cinfirmed to see the mkoctfile-3.0.2.
Please ignore inquiry in the previous mail.

Regards

Tatsuro


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

Re: octave 3.0.2 on cygwin with gcc-4.3.2

by Tatsuro MATSUOKA-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Marco

--- Tatsuro MATSUOKA <tmacchant@...> wrote:

> Is your official release of octave-3.0.2 built by gcc-3.4.4.-3, I think.
> Is that right?

I have cinfirmed to see the mkoctfile-3.0.2.
Please ignore inquiry in the previous mail.

Regards

Tatsuro


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

Re: octave 3.0.2 on cygwin with gcc-4.3.2

by Tatsuro MATSUOKA-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Marco

You have been already prepared octave 3.0.2-2 on cygwin with gcc-4.3.2-1.
Perhaps the mirror site is a little slow to catch up with your latest version.

Therefore the role of my binary should be finished.
I will close my cygwin distribution page in the near future.

So I will introduce the binary of gunplot 4.3 (cvs) which enable us to use mouse zooming from the
octave.

Regards

Tatsuro


 


--- Tatsuro MATSUOKA <tmacchant@...> wrote:

> Hello Marco
>
> --- Tatsuro MATSUOKA <tmacchant@...> wrote:
>
> > Is your official release of octave-3.0.2 built by gcc-3.4.4.-3, I think.
> > Is that right?
>
> I have cinfirmed to see the mkoctfile-3.0.2.
> Please ignore inquiry in the previous mail.
>
> Regards
>
> Tatsuro
>
>
> --------------------------------------
> Enjoy MLB with MAJOR.JP! Ichiro, Matsuzaka, Matsui, and more!
> http://pr.mail.yahoo.co.jp/mlb/
>


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

Re: octave 3.0.2 on cygwin with gcc-4.3.2

by Tatsuro MATSUOKA-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Macro

I also confirmed that octave-3.0.2 can be built by gcc-4.3.2-1.
It's a good news.

>From my curiosity I made a test with testOregoB.m

Marco's octave 3.0.2-2
octave> testOregoB
ans =  2.6100

My build octave-3.0.2 by gcc-4.3.2-1
octave:2> testOregoB
ans =  2.5630

My build octave-3.0.2 by gcc-3.4.4-3 (gcc-dw2)
octave:2> testOregoB
ans =  2.6410

#*****testOregoB.m
1;
function dx = oregonator_m (x, t)

  dx = zeros (3, 1);

  dx(1) = 77.27*(x(2) - x(1)*x(2) + x(1) - 8.375e-06*x(1)^2);
  dx(2) = (x(3) - x(1)*x(2) - x(2)) / 77.27;
  dx(3) = 0.161*(x(1) - x(3));

end

% The test of `oregonator'.
x0 = [ 4; 1.1; 4 ];
%t = [0, logspace (-1, log10(303), 150), logspace (log10(304), log10(500), 150)];
%t=linspace(0,500,1000);
t=0:0.5:500;
ts=cputime();
y = lsode ('oregonator_m', x0, t);
cputime()-ts
plot (t',y(:,1),"",t',y(:,2),"",t',y(:,3));
#**End of testOregoB.m



The results are comparable, the small difference are within error.
However binaries built by gcc-4.3.2-1 are better than that by gcc-3.4.4-3 (gcc-dw2),
because it is tuned for dwarf2 exceptions.

For example, octave-3.0.2 by gcc-3.4.4-3 (gcc-dw2) always hangs up when you press CTRL+C.

Anyway the role of octave-3.0.x by gcc-3.4.4-3 (gcc-dw2) should be finished.
I would like to try to build the development brach of octave-3.1.xx on cygwin by gcc-4.

Regards

Tatsuro

 

--- Tatsuro MATSUOKA <tmacchant@...> wrote:

> Hello Marco
>
> You have been already prepared octave 3.0.2-2 on cygwin with gcc-4.3.2-1.
> Perhaps the mirror site is a little slow to catch up with your latest version.
>
> Therefore the role of my binary should be finished.
> I will close my cygwin distribution page in the near future.
>
> So I will introduce the binary of gunplot 4.3 (cvs) which enable us to use mouse zooming from
> the
> octave.
>
> Regards
>
> Tatsuro
>
>
>  
>
>
> --- Tatsuro MATSUOKA <tmacchant@...> wrote:
>
> > Hello Marco
> >
> > --- Tatsuro MATSUOKA <tmacchant@...> wrote:
> >
> > > Is your official release of octave-3.0.2 built by gcc-3.4.4.-3, I think.
> > > Is that right?
> >
> > I have cinfirmed to see the mkoctfile-3.0.2.
> > Please ignore inquiry in the previous mail.
> >
> > Regards
> >
> > Tatsuro
> >
> >
> > --------------------------------------
> > Enjoy MLB with MAJOR.JP! Ichiro, Matsuzaka, Matsui, and more!
> > http://pr.mail.yahoo.co.jp/mlb/
> >
>
>
> --------------------------------------
> Enjoy MLB with MAJOR.JP! Ichiro, Matsuzaka, Matsui, and more!
> http://pr.mail.yahoo.co.jp/mlb/
>


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

Re: octave 3.0.2 on cygwin with gcc-4.3.2

by Marco atzeri-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- Tatsuro MATSUOKA ha scritto:

> Hello¡¡Marco

Hi Tatsuro,

>
> You have been already prepared octave 3.0.2-2 on
> cygwin with gcc-4.3.2-1.
> Perhaps the mirror site is a little slow to catch up
> with your latest version.
>

I am requesting to upload 3.0.2-2 as experimental,
as gcc-4 for cygwin is still in infant phase.
As soon as the compiler will be stabilized, I will
build only one version.

This allows anyone to compare the two builds

current:      3.0.2-1 built with gcc-3
experimental: 3.0.2-2 built with gcc-4

In any case the the gcc-4 looks solid

 src/DLD-FUNCTIONS/rand.cc PASS   56/57   FAIL 1
(and we know why)

Summary:

  PASS   3931
  FAIL      1


> Therefore the role of my binary should be finished.
> I will close my cygwin distribution page in the near
> future.
>
> So I will introduce the binary of gunplot 4.3 (cvs)
> which enable us to use mouse zooming from the
> octave.
>
> Regards
>
> Tatsuro

Thanks for your efforts
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: octave 3.0.2 on cygwin with gcc-4.3.2

by Tatsuro MATSUOKA-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Marco

I am glad to see your reply and your message to me.
I will revise my page and OctaveForWindows Wiki from now.

Regards

Tatsuro




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