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     : [email protected]
Unsubscribe : https://launchpad.net/~ffc
More help   : https://help.launchpad.net/ListHelp

Reply via email to