← Back to team overview

dolfin team mailing list archive

boost package

 

Hi,

got the following error after trying the stabilized Stokes demo in dolfin. Never heard of the BOOST_DIR environment variable before... scons configure finds boost

Checking for boost... yes
Checking for boost_filesystem... yes
Checking for boost_program_options... yes

Here's the error message:

###############################################
Simula-Drifts-MacBook-Pro:python aron$ python demo.py
Calling FFC just-in-time (JIT) compiler, this may take some time.
Traceback (most recent call last):
  File "demo.py", line 22, in <module>
    scalar = FunctionSpace(mesh, "CG", 1)
File "/Users/aron/Work/FEniCS/build/lib/python2.6/site-packages/ dolfin/functionspace.py", line 194, in __init__
    FunctionSpaceBase.__init__(self, mesh, element)
File "/Users/aron/Work/FEniCS/build/lib/python2.6/site-packages/ dolfin/functionspace.py", line 43, in __init__
    ufc_element, ufc_dofmap = jit(self._element)
File "/Users/aron/Work/FEniCS/build/lib/python2.6/site-packages/ dolfin/jit.py", line 44, in mpi_jit
    return local_jit(*args, **kwargs)
File "/Users/aron/Work/FEniCS/build/lib/python2.6/site-packages/ dolfin/jit.py", line 108, in jit
    return jit_compile(form, options)
File "/Users/aron/Work/FEniCS/build/lib/python2.6/site-packages/ffc/ jit/jit.py", line 56, in jit
    return jit_element(object, options)
File "/Users/aron/Work/FEniCS/build/lib/python2.6/site-packages/ffc/ jit/jit.py", line 127, in jit_element
    (compiled_form, module, form_data) = jit_form(form, options)
File "/Users/aron/Work/FEniCS/build/lib/python2.6/site-packages/ffc/ jit/jit.py", line 101, in jit_form
    cache_dir = options["cache_dir"])
File "/Users/aron/Work/FEniCS/build/lib/python2.6/site-packages/ ufc_utils/build.py", line 53, in build_ufc_module
    (cpp_path, swig_path) = configure_instant()
File "/Users/aron/Work/FEniCS/build/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.
############################################

Aron