dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #03380
Re: compile time of DOLFIN codes
On Thu, Sep 28, 2006 at 03:45:42PM +0200, Garth N. Wells wrote:
> Dag Lindbo wrote:
> >
> > What are your experiences with long build times of DOLFIN solvers, due to
> > large h-files from FFC? I'm having to endure waiting >15 min for a build
> > where h-files are no larger than 6 mb (and they will probably grow as I
> > try more interesting stuff). How much is there to gain from using BLAS
> > output from FFC (and will it be better or worse at runtime)?
> >
>
> The compile times for large header files coming from FFC can be
> significant. This is particularly so when using compiler optimisations
> (-O2, -O3). Using the BLAS output format should help quite a bit but, as
> you've seen, it is currently broken.
>
> Garth
Should be fixed in a while now.
But you are right, for other than simple forms, the compile times can
be pretty long. Turn off all optimizations when compiling and use the
BLAS mode (when working).
In the long run, we'll have to find a good solution when even BLAS
mode does not help.
/Anders
References