← Back to team overview

ffc team mailing list archive

Re: Optimisation level

 

On Wed, Aug 19, 2009 at 10:45:52PM +0100, Garth N. Wells wrote:
> Now that the FFC quadrature optimisations are really fast, should we
> consider having them turned on by default? Otherwise we need to think
> about DOLFIN passing a '-O' flag to the form compiler for JIT, which
> will be form compiler dependent.
>
> Garth

If it's generally not a problem to do optimizations, we should turn
them on by default. But there have been (and will be again once I get
to it) optimizations for the tensor representation. These are quite
costly to compute, so then it would be sensible to turn them off by
default.

Should there be a default value for optimization which may be
different for different representations?

In any case, a user needs to be able to control the level of
optimization (and representation) easily from DOLFIN.

--
Anders

Attachment: signature.asc
Description: Digital signature


References