[Ffc] buildbot failure in FEniCS Buildbot on ffc-linux64-exp

2010-09-04 Thread buildbot
The Buildbot has detected a new failure of ffc-linux64-exp on FEniCS Buildbot.
Full details are available at:
 http://fenics.org:8080/builders/ffc-linux64-exp/builds/448

Buildbot URL: http://fenics.org:8080/

Buildslave for this Build: linux64-exp

Build Reason: 
Build Source Stamp: HEAD
Blamelist: Garth N. Wells

BUILD FAILED: failed ffc check

sincerely,
 -The Buildbot


___
Mailing list: https://launchpad.net/~ffc
Post to : ffc@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ffc
More help   : https://help.launchpad.net/ListHelp


[Ffc] buildbot failure in FEniCS Buildbot on ffc-jaunty-amd64

2010-09-04 Thread buildbot
The Buildbot has detected a new failure of ffc-jaunty-amd64 on FEniCS Buildbot.
Full details are available at:
 http://fenics.org:8080/builders/ffc-jaunty-amd64/builds/496

Buildbot URL: http://fenics.org:8080/

Buildslave for this Build: jaunty-amd64

Build Reason: 
Build Source Stamp: HEAD
Blamelist: Garth N. Wells

BUILD FAILED: failed ffc check

sincerely,
 -The Buildbot


___
Mailing list: https://launchpad.net/~ffc
Post to : ffc@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ffc
More help   : https://help.launchpad.net/ListHelp


[Ffc] buildbot failure in FEniCS Buildbot on ffc-mac-osx

2010-09-04 Thread buildbot
The Buildbot has detected a new failure of ffc-mac-osx on FEniCS Buildbot.
Full details are available at:
 http://fenics.org:8080/builders/ffc-mac-osx/builds/396

Buildbot URL: http://fenics.org:8080/

Buildslave for this Build: mac-osx

Build Reason: 
Build Source Stamp: HEAD
Blamelist: Garth N. Wells

BUILD FAILED: failed ffc check

sincerely,
 -The Buildbot


___
Mailing list: https://launchpad.net/~ffc
Post to : ffc@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ffc
More help   : https://help.launchpad.net/ListHelp


[Ffc] [nore...@launchpad.net: [Branch ~ffc-core/ffc/main] Rev 1520: See if -O2 flag makes buildbot happy]

2010-09-04 Thread Anders Logg
-O2 also makes more sense.

There's a risk -O3 might hit very hard on complex forms.

--
Anders
--- Begin Message ---

revno: 1520
committer: Garth N. Wells 
branch nick: ffc
timestamp: Sat 2010-09-04 11:46:51 +0100
message:
  See if -O2 flag makes buildbot happy
modified:
  ffc/parameters.py


--
lp:ffc
https://code.launchpad.net/~ffc-core/ffc/main

Your team FFC Core Team is subscribed to branch lp:ffc.
To unsubscribe from this branch go to 
https://code.launchpad.net/~ffc-core/ffc/main/+edit-subscription
=== modified file 'ffc/parameters.py'
--- ffc/parameters.py	2010-09-04 10:31:42 +
+++ ffc/parameters.py	2010-09-04 10:46:51 +
@@ -29,7 +29,7 @@
   "output_dir": ".", # output directory for generated
  # code
   "cpp_optimize":   False,   # optimization for the JIT compiler
-  "cpp_optimize_flags": "-O3",   # optimization flags for the JIT compiler
+  "cpp_optimize_flags": "-O2",   # optimization flags for the JIT compiler
   "optimize":   False,   # optimise the code generation
   "log_level":  INFO,# log level, displaying only
  # messages with level >= log_level

--- End Message ---
___
Mailing list: https://launchpad.net/~ffc
Post to : ffc@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ffc
More help   : https://help.launchpad.net/ListHelp


Re: [Ffc] [nore...@launchpad.net: [Branch ~ffc-core/ffc/main] Rev 1520: See if -O2 flag makes buildbot happy]

2010-09-04 Thread Garth N. Wells
Seems to be something wrong with the buildbot - I can't see why it's 
complaining.


Garth

On 04/09/10 11:56, Anders Logg wrote:

-O2 also makes more sense.

There's a risk -O3 might hit very hard on complex forms.

--
Anders



___
Mailing list: https://launchpad.net/~ffc
Post to : ffc@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ffc
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~ffc
Post to : ffc@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ffc
More help   : https://help.launchpad.net/ListHelp


Re: [Ffc] [nore...@launchpad.net: [Branch ~ffc-core/ffc/main] Rev 1520: See if -O2 flag makes buildbot happy]

2010-09-04 Thread Anders Logg
All of the problems seem to come from the Python tests and demos with
std::bad_cast. Perhaps something with the SWIG layer?

--
Anders


On Sat, Sep 04, 2010 at 12:02:19PM +0100, Garth N. Wells wrote:
> Seems to be something wrong with the buildbot - I can't see why it's
> complaining.
>
> Garth
>
> On 04/09/10 11:56, Anders Logg wrote:
> >-O2 also makes more sense.
> >
> >There's a risk -O3 might hit very hard on complex forms.
> >

--
Anders

___
Mailing list: https://launchpad.net/~ffc
Post to : ffc@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ffc
More help   : https://help.launchpad.net/ListHelp


Re: [Ffc] [nore...@launchpad.net: [Branch ~ffc-core/ffc/main] Rev 1520: See if -O2 flag makes buildbot happy]

2010-09-04 Thread Johan Hake
On Saturday September 4 2010 05:03:04 Anders Logg wrote:
> All of the problems seem to come from the Python tests and demos with
> std::bad_cast. Perhaps something with the SWIG layer?

Yes I have noitced this before. Not sure why but I have not been able to 
compile the wrapper code with -O3

Johan
 
> --
> Anders
> 
> On Sat, Sep 04, 2010 at 12:02:19PM +0100, Garth N. Wells wrote:
> > Seems to be something wrong with the buildbot - I can't see why it's
> > complaining.
> > 
> > Garth
> > 
> > On 04/09/10 11:56, Anders Logg wrote:
> > >-O2 also makes more sense.
> > >
> > >There's a risk -O3 might hit very hard on complex forms.
> 
> --
> Anders
> 
> ___
> Mailing list: https://launchpad.net/~ffc
> Post to : ffc@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~ffc
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~ffc
Post to : ffc@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ffc
More help   : https://help.launchpad.net/ListHelp


Re: [Ffc] [nore...@launchpad.net: [Branch ~ffc-core/ffc/main] Rev 1520: See if -O2 flag makes buildbot happy]

2010-09-04 Thread Anders Logg
On Sat, Sep 04, 2010 at 08:49:43AM -0700, Johan Hake wrote:
> On Saturday September 4 2010 05:03:04 Anders Logg wrote:
> > All of the problems seem to come from the Python tests and demos with
> > std::bad_cast. Perhaps something with the SWIG layer?
>
> Yes I have noitced this before. Not sure why but I have not been able to
> compile the wrapper code with -O3

Isn't it just that the wrapper code (like the form files) can be very
large (very many lines of code in a single function or file) so the
compiler runs out of memory or takes a very long time to compute the
optimizations?

I changed to -O2 for the same reason in the Dorsal PETSc package
file. I think -O3 is ok for PETSc but I think of -O2 as optimize and
-O3 as try even harder.

--
Anders

___
Mailing list: https://launchpad.net/~ffc
Post to : ffc@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ffc
More help   : https://help.launchpad.net/ListHelp


Re: [Ffc] [nore...@launchpad.net: [Branch ~ffc-core/ffc/main] Rev 1520: See if -O2 flag makes buildbot happy]

2010-09-04 Thread Johan Hake
On Saturday September 4 2010 08:55:42 Anders Logg wrote:
> On Sat, Sep 04, 2010 at 08:49:43AM -0700, Johan Hake wrote:
> > On Saturday September 4 2010 05:03:04 Anders Logg wrote:
> > > All of the problems seem to come from the Python tests and demos with
> > > std::bad_cast. Perhaps something with the SWIG layer?
> > 
> > Yes I have noitced this before. Not sure why but I have not been able to
> > compile the wrapper code with -O3
> 
> Isn't it just that the wrapper code (like the form files) can be very
> large (very many lines of code in a single function or file) so the
> compiler runs out of memory or takes a very long time to compute the
> optimizations?

It might be that the dolfin wrapper file it too large. But I have tried 
compiling the a much smaller wrapper code and it also bailed out for -O3. 
 
Johan

> I changed to -O2 for the same reason in the Dorsal PETSc package
> file. I think -O3 is ok for PETSc but I think of -O2 as optimize and
> -O3 as try even harder.
> 
> --
> Anders

___
Mailing list: https://launchpad.net/~ffc
Post to : ffc@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ffc
More help   : https://help.launchpad.net/ListHelp


Re: [Ffc] [nore...@launchpad.net: [Branch ~ffc-core/ffc/main] Rev 1520: See if -O2 flag makes buildbot happy]

2010-09-04 Thread Garth N. Wells



On 04/09/10 17:20, Johan Hake wrote:

On Saturday September 4 2010 08:55:42 Anders Logg wrote:

On Sat, Sep 04, 2010 at 08:49:43AM -0700, Johan Hake wrote:

On Saturday September 4 2010 05:03:04 Anders Logg wrote:

All of the problems seem to come from the Python tests and demos with
std::bad_cast. Perhaps something with the SWIG layer?


Yes I have noitced this before. Not sure why but I have not been able to
compile the wrapper code with -O3


Isn't it just that the wrapper code (like the form files) can be very
large (very many lines of code in a single function or file) so the
compiler runs out of memory or takes a very long time to compute the
optimizations?


It might be that the dolfin wrapper file it too large. But I have tried
compiling the a much smaller wrapper code and it also bailed out for -O3.



I've never had a problem with -O3 when using the quadrature 
representation. It can be a problem for the tensor contraction, but by 
the time you run into this limitation the quadrature code is much faster 
anyway. Why I am seeing now for a particular problem is that Kristian's 
FFC optimisations so good that -O3 and -O0 make no difference because 
insertion is dominating.


The tensor contraction would be more compiler friendly (and most likely 
efficient) if it didn't unroll loops, but used fixed size loops and let 
the compiler do tricks on those.


Garth


Johan


I changed to -O2 for the same reason in the Dorsal PETSc package
file. I think -O3 is ok for PETSc but I think of -O2 as optimize and
-O3 as try even harder.

--
Anders


___
Mailing list: https://launchpad.net/~ffc
Post to : ffc@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ffc
More help   : https://help.launchpad.net/ListHelp