← Back to team overview

ffc team mailing list archive

Re: ferari dependency

 

On Wed, Feb 10, 2010 at 08:50:56AM +0100, Kristian Oelgaard wrote:
>
>
> On 10 February 2010 02:15, Garth N. Wells <gnw20@xxxxxxxxx> wrote:
> >FFC now depends on ferari,
> >
> > File
> >"/usr/local/lib/python2.6/dist-packages/ffc/tensor/tensoroptimization.py",
> >line 17, in optimize_integral_ir
> >   from ferari import binary
> >ImportError: No module named ferari
>
> How did you find this bug? For me it only shows if I compile with -r tensor -O, I'm surprised that you're using that combination :)
> Anyway, I pushed a fix for this.
>
> Kristian

Good that you fixed it. The import was actually inside try clause with
a suitable warning if FErari is not available, but I had some problems
which led me to adding an import before the try for debugging. I
forgot to remove it.

FErari should be an optional dependency.

--
Anders

Attachment: signature.asc
Description: Digital signature


References