Unable to import UFC while installing dolfin

Asked by Anirban Jana

In trying to install Dolfin, I am getting the foll error:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named ufc
CMake Warning at dolfin/CMakeLists.txt:325 (message):
  Unable to import UFC. Install latest UFC or check that PYTHONPATH is set
  appropriately. Python will be disabled.

I read the thread
  https://answers.launchpad.net/dolfin/+question/93803
and have tried to follow the instructions therein. My environment has the foll:

echo $LD_LIBRARY_PATH
/brashear/anirban/DealII/python/lib:/brashear/anirban/DealII/pcre/8.33/lib:/opt/intel/fc/10.1.008/lib:/opt/intel/cc/10.1.008/lib:/opt/sgi/mpt/mpt-1.23/lib:/opt/intel/mkl/10.0.2.018/lib/64

 echo $PYTHONPATH
/brashear/anirban/DealII/python/lib/python2.6/site-packages:/brashear/anirban/DealII/FEniCS/python:/brashear/anirban/DealII/FEniCS/python/lib/python2.6/site-packages:/brashear/anirban/DealII/python

But still the problem persists. Any help will be appreciated.

Thanks much
Anirban

Question information

Language:
English Edit question
Status:
Answered
For:
DOLFIN Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Johannes Ring (johannr) said :
#1

FEniCS no longer uses Launchpad for Questions & Answers. Please consult the documentation on the FEniCS web page for where and how to (re)post your question: http://fenicsproject.org/support/

Can you help with this problem?

Provide an answer of your own, or ask Anirban Jana for more information if necessary.

To post a message you must log in.