Re: [Ffc] [Branch ~ffc-core/ffc/dev] Rev 1594: Add comment about how to deal correctly with warnings vs expections.

2010-01-30 Thread Kristian Oelgaard
Can't we just catch exceptions in the regression tests? Or is that inconvenient because all function tests are in the same cpp file? To implement your solution I guess we just need another function like the set_float_formatting() which does: format["exception"] = format["warning"] this functio

Re: [Ffc] Regression test update

2010-01-30 Thread Marie Rognes
Anders Logg wrote: On Fri, Jan 29, 2010 at 10:11:19PM +0100, Kristian Oelgaard wrote: On 29 January 2010 21:47, Anders Logg wrote: On Fri, Jan 29, 2010 at 07:26:46PM +0100, Kristian Oelgaard wrote: On 29 January 2010 18:56, Anders Logg wrote: It keeps getting better.

Re: [Ffc] Regression test update

2010-01-30 Thread Garth N. Wells
Marie Rognes wrote: > Anders Logg wrote: >> On Fri, Jan 29, 2010 at 10:11:19PM +0100, Kristian Oelgaard wrote: >> >>> On 29 January 2010 21:47, Anders Logg wrote: >>> On Fri, Jan 29, 2010 at 07:26:46PM +0100, Kristian Oelgaard wrote: > On 29 January 2010 18:56, Anders L

[Ffc] [nore...@launchpad.net: [Branch ~ffc-core/ffc/dev] Rev 1601: Comment on domain2dim and entities_per_dim in fiatinterface.py.]

2010-01-30 Thread Anders Logg
It would be good to collect all these in one place, but UFL cannot depend on UFC and UFC cannot depend on UFL. Are they needed in UFC? If not, it would be natural to collect them in UFL. Then they can be used by both FFC and UFL. -- Anders --- Begin Message --- ---

Re: [Ffc] [nore...@launchpad.net: [Branch ~ffc-core/ffc/dev] Rev 1601: Comment on domain2dim and entities_per_dim in fiatinterface.py.]

2010-01-30 Thread Kristian Oelgaard
On 30 January 2010 19:51, Anders Logg wrote: It would be good to collect all these in one place, but UFL cannot depend on UFC and UFC cannot depend on UFL. Are they needed in UFC? If not, it would be natural to collect them in UFL. Then they can be used by both FFC and UFL. I don't think th

Re: [Ffc] [nore...@launchpad.net: [Branch ~ffc-core/ffc/dev] Rev 1601: Comment on domain2dim and entities_per_dim in fiatinterface.py.]

2010-01-30 Thread Anders Logg
On Sat, Jan 30, 2010 at 08:08:26PM +0100, Kristian Oelgaard wrote: > > > On 30 January 2010 19:51, Anders Logg wrote: > >It would be good to collect all these in one place, but UFL cannot > >depend on UFC and UFC cannot depend on UFL. > > > >Are they needed in UFC? If not, it would be natural to c

Re: [Ffc] [Branch ~ffc-core/ffc/dev] Rev 1594: Add comment about how to deal correctly with warnings vs expections.

2010-01-30 Thread Anders Logg
I thought about catching the exceptions, but it would make the ufctest.h file even more complicated. But the format["exception"] = format["warning"] trick is a good idea. I'm working on adding it. -- Anders On Sat, Jan 30, 2010 at 03:15:40PM +0100, Kristian Oelgaard wrote: > > Can't we just catc

[Ffc] Release status update

2010-01-30 Thread Anders Logg
Things look good from here. All FFC regression tests pass with a couple of exceptions and I believe those can be ignored (errors in earlier versions of FFC which have now been fixed). Marie and Kristian can correct me here if I'm wrong. The DOLFIN unit tests also pass and the buildbots are all gre

Re: [Ffc] [Branch ~ffc-core/ffc/dev] Rev 1602: Some comments, cleanups and added option -f convert_exceptions_to_warnings

2010-01-30 Thread Kristian Oelgaard
On 30 January 2010 20:20, wrote: revno: 1602 committer: Anders Logg branch nick: ffc-dev timestamp: Sat 2010-01-30 20:17:52 +0100 message:  Some comments, cleanups and added option -f convert_exceptions_to_warnings I like the lon

Re: [Ffc] Bug in quadrature code?

2010-01-30 Thread Kristian Oelgaard
On 30 January 2010 00:24, Anders Logg wrote: On Fri, Jan 29, 2010 at 10:25:52PM +0100, Kristian Oelgaard wrote: I don't know if it is a bug in the new quadrature code, it depends on how you look at it. :) The generated code in tabulate_tensor is exactly identical (apart from formatting of

Re: [Ffc] Release status update

2010-01-30 Thread Kristian Oelgaard
On 30 January 2010 20:31, Anders Logg wrote: Things look good from here. All FFC regression tests pass with a couple of exceptions and I believe those can be ignored (errors in earlier versions of FFC which have now been fixed). Marie and Kristian can correct me here if I'm wrong. The only t

Re: [Ffc] Bug in quadrature code?

2010-01-30 Thread Anders Logg
On Sat, Jan 30, 2010 at 08:32:50PM +0100, Kristian Oelgaard wrote: > > > On 30 January 2010 00:24, Anders Logg wrote: > >On Fri, Jan 29, 2010 at 10:25:52PM +0100, Kristian Oelgaard wrote: > >> > >>I don't know if it is a bug in the new quadrature code, it depends on how > >>you look at it. :) > >

Re: [Ffc] Release status update

2010-01-30 Thread Anders Logg
On Sat, Jan 30, 2010 at 08:34:56PM +0100, Kristian Oelgaard wrote: > > > On 30 January 2010 20:31, Anders Logg wrote: > >Things look good from here. All FFC regression tests pass with a > >couple of exceptions and I believe those can be ignored (errors in > >earlier versions of FFC which have now

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

2010-01-30 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/99 Buildbot URL: http://fenics.org:8080/ Buildslave for this Build: jaunty-amd64 Build Reason: Build Source Stamp: HEAD Blameli

[Ffc] buildbot failure in FEniCS Buildbot on ffc-hardy-i386

2010-01-30 Thread buildbot
The Buildbot has detected a new failure of ffc-hardy-i386 on FEniCS Buildbot. Full details are available at: http://fenics.org:8080/builders/ffc-hardy-i386/builds/100 Buildbot URL: http://fenics.org:8080/ Buildslave for this Build: hardy-i386 Build Reason: Build Source Stamp: HEAD Blamelist: A

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

2010-01-30 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/98 Buildbot URL: http://fenics.org:8080/ Buildslave for this Build: linux64-exp Build Reason: Build Source Stamp: HEAD Blamelist:

Re: [Ffc] Release status update

2010-01-30 Thread Anders Logg
On Sat, Jan 30, 2010 at 08:52:54PM +0100, Anders Logg wrote: > On Sat, Jan 30, 2010 at 08:34:56PM +0100, Kristian Oelgaard wrote: > > > > > > On 30 January 2010 20:31, Anders Logg wrote: > > >Things look good from here. All FFC regression tests pass with a > > >couple of exceptions and I believe t

[Ffc] Functional error

2010-01-30 Thread Garth N. Wells
Quite a few of the ufl files in the DOLFIN demos are failing with the new FFC when the flag '-l dolfin' is used. Garth ___ Mailing list: https://launchpad.net/~ffc Post to : ffc@lists.launchpad.net Unsubscribe : https://launchpad.net/~ffc More help

[Ffc] Auto cell shape selection

2010-01-30 Thread Garth N. Wells
I've run into a problem with a mixed element. Looks like the auto selection of the cell shape isn't working (see last element below, cell shape is "None"). Hopefully someone can see an easy fix, otherwise I can try to simplify the problem case. Garth The cell shape of all elements MUST be equal:

Re: [Ffc] Auto cell shape selection

2010-01-30 Thread Garth N. Wells
Garth N. Wells wrote: > I've run into a problem with a mixed element. Looks like the auto > selection of the cell shape isn't working (see last element below, cell > shape is "None"). Hopefully someone can see an easy fix, otherwise I can > try to simplify the problem case. > Same problem in