← Back to team overview

ffc team mailing list archive

Re: [noreply@xxxxxxxxxxxxx: [Branch ~ffc-core/ffc/main] Rev 1520: See if -O2 flag makes buildbot happy]

 

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



Follow ups

References