← Back to team overview

dolfin team mailing list archive

Re: [Question #93803]: ufc problems

 

Question #93803 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/93803

    Status: Open => Answered

Johan Hake proposed the following answer:
On Saturday 12 December 2009 10:11:30 Przemek wrote:
> Question #93803 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/93803
> 
>     Status: Answered => Open
> 
> Przemek is still having a problem:
> Ah, ok, it's installed in /usr/local/ and so I've set up the
> PKG_CONFIG_PATH to include that dir. Now the error is gone, but I get a
> new one:
> 
> Checking for ufc-1... yes
> Checking for umfpack... yes
> Checking for zlib... yes
> Resolving compiler... done
> Found optional package: umfpack (version 5.2.0)
> Found optional package: zlib (version 1.2.3)
> Unable to find optional package: trilinos (version 7.0.0)
> Unable to find optional package: cholmod (version 1.6.0)
> Unable to find optional package: parmetis (version 3.1)
> Unable to find optional package: slepc (version 3.0.0)
> Unable to find optional package: mtl4 (version 4)
> Unable to find optional package: petsc (version 3.0.0)
> Unable to find optional package: gts (version 0.7)
> Unable to find optional package: scotch (version 5.0)
> *** Unable to import UFC. Install latest UFC
> 
> What does it mean?

It means that you have enabled PyDOLFIN, and the configure process cannot 
figure out how to import the ufc python module.

You need to update:

   export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib
   export PYTHONPATH=${PYTHONPATH}:/usr/local/lib/python2.X/site-packages

We might add a notice about this in the README file of ufc? Maybe generate a 
ufc.conf file?

Johan

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.