On Thu, Oct 17, 2013 at 3:34 PM, Johannes Ring <[email protected]> wrote:
> Hi Jonathan,
>
> On Wed, Oct 16, 2013 at 11:38 PM, Jonathan Mynard
> <[email protected]> wrote:
>> I have just built FEniCS development version on a RHEL6 system using dorsal.
>> The first time I do a "from dolfin import *" in python I get the following
>> error:
>>
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>>   File "###/Work/FEniCS/lib64/python2.6/site-packages/dolfin/__init__.py",
>> line 16, in <module>
>>     import cpp
>>   File
>> "###/Work/FEniCS/lib64/python2.6/site-packages/dolfin/cpp/__init__.py", line
>> 40, in <module>
>>     exec("import %s" % module_name)
>>   File "<string>", line 1, in <module>
>>   File "###/Work/FEniCS/lib64/python2.6/site-packages/dolfin/cpp/common.py",
>> line 28, in <module>
>>     _common = swig_import_helper()
>>   File "###/Work/FEniCS/lib64/python2.6/site-packages/dolfin/cpp/common.py",
>> line 24, in swig_import_helper
>>     _mod = imp.load_module('_common', fp, pathname, description)
>> ImportError: libquadmath.so.0: cannot open shared object file: No such file
>> or directory
>>
>> There doesn't appear to be a libquadmath package in dorsal, so I'm not sure
>> how to proceed.
>
> libquadmath is part of GCC. What is the output of
>
>   ldd ~/Work/FEniCS/lib/python2.6/site-packages/dolfin/cpp/_common.so
> | grep libquadmath

And the output of

  gcc -print-file-name=libquadmath.so

?

Johannes

>> Not sure if it's related, but I didn't build scipy or
>> ScientificPython because I encountered errors with them while building; are
>> these essential?
>
> ScientificPython is needed by FIAT, but SciPy is not essential. What
> is the error you get when building ScientificPython?
>
> Johannes
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to