dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #18560
[Question #114861]: Boost library was not found on Mac snowleopard
New question #114861 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/114861
Dorsal installation was successful. However, I have a new problem running a demo.py file.
Boost 1.42.0 is installed through Macports, and header files and libraries are in the default position.
( '/opt/local/include/boost' and '/opt/local/lib')
Any ideas?
sungick:python sungick$ python demo.py
Warning: Converting real-valued parameter to double, might loose precision.
Calling FFC just-in-time (JIT) compiler, this may take some time.
Traceback (most recent call last):
File "demo.py", line 23, in <module>
Q = FunctionSpace(mesh, "CG", 1)
File "/Users/sungickkim/Work/FEniCS/lib/python2.6/site-packages/dolfin/function/functionspace.py", line 226, in __init__
FunctionSpaceBase.__init__(self, mesh, element)
File "/Users/sungickkim/Work/FEniCS/lib/python2.6/site-packages/dolfin/function/functionspace.py", line 44, in __init__
ufc_element, ufc_dofmap = jit(self._ufl_element)
File "/Users/sungickkim/Work/FEniCS/lib/python2.6/site-packages/dolfin/compilemodules/jit.py", line 44, in mpi_jit
return local_jit(*args, **kwargs)
File "/Users/sungickkim/Work/FEniCS/lib/python2.6/site-packages/dolfin/compilemodules/jit.py", line 103, in jit
return jit_compile(form, parameters=p, common_cell=common_cell)
File "/Users/sungickkim/Work/FEniCS/lib/python2.6/site-packages/ffc/jitcompiler.py", line 56, in jit
return jit_element(object, parameters)
File "/Users/sungickkim/Work/FEniCS/lib/python2.6/site-packages/ffc/jitcompiler.py", line 135, in jit_element
(compiled_form, module, form_data) = jit_form(form, parameters)
File "/Users/sungickkim/Work/FEniCS/lib/python2.6/site-packages/ffc/jitcompiler.py", line 107, in jit_form
cache_dir = cache_dir)
File "/Users/sungickkim/Work/FEniCS/lib/python2.6/site-packages/ufc_utils/build.py", line 53, in build_ufc_module
(cpp_path, swig_path) = configure_instant()
File "/Users/sungickkim/Work/FEniCS/lib/python2.6/site-packages/ufc_utils/build.py", line 122, in configure_instant
"""
OSError: The Boost library was not found.
If Boost is installed in a nonstandard location,
set the environment variable BOOST_DIR.
--
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.