Problems with Installation on Debian Squeeze
I'm trying to fenics (manually) on my debian squeeze system. I can't run the poisson demo located at ../dolfin/
Here is the output that i get:
pratik@
Calling FFC just-in-time (JIT) compiler, this may take some time.
Traceback (most recent call last):
File "demo_poisson.py", line 41, in <module>
V = FunctionSpace(mesh, "Lagrange", 1)
File "/home/
FunctionSpa
File "/home/
ufc_element, ufc_dofmap = jit(self.
File "/home/
return local_jit(*args, **kwargs)
File "/home/
return jit_compile(form, parameters=p, common_
File "/home/
return jit_element(
File "/home/
compiled_form, module, form_data, prefix = jit_form(form, parameters)
File "/home/
common_
File "/home/
ir = compute_
File "/home/
for (i, e) in enumerate(
File "/home/
element = create_
File "/home/
element = _create_
File "/home/
if not family in FIAT.supported_
AttributeError: 'module' object has no attribute 'supported_
Also, I tried to run the C++ version as well; However i get the following:
pratik@
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pratik/
[100%] Built target demo_poisson
Solving linear variational problem.
terminate called after throwing an instance of 'std::runtime_
what():
*** -------
*** DOLFIN encountered an error. If you are not able to resolve this issue
*** using the information listed below, you can ask for help at
***
*** https:/
***
*** Remember to include the error message listed below and, if possible,
*** include a *minimal* running example to reproduce the error.
***
*** -------
*** Error: Unable to factorize matrix with UMFPACK LU solver (symbolic).
*** Reason: UMFPACK has not been installed.
*** Where: This error was encountered inside UmfpackLUSolver
*** -------
Aborted
This seems strange as I have installed umfpack (relevant debian packages: libsuitesparse-dev and libumfpack). Even the configuration of dolfin confirms that umfpack is installed:
pratik@
-- UFC version: 2.0.5
-- Checking for package 'Armadillo'
-- Checking for package 'AMD'
-- Checking for package 'BLAS'
-- Checking for package 'UMFPACK'
-- Checking for package 'AMD'
-- Checking for package 'BLAS'
-- Checking for package 'CHOLMOD'
-- Checking for package 'AMD'
-- Checking for package 'BLAS'
-- ParMETIS could not be found/configured. (missing: PARMETIS_LIBRARIES PARMETIS_TEST_RUNS PARMETIS_
-- Checking for package 'LAPACK'
-- Checking for package 'CHOLMOD'
-- Checking for package 'AMD'
-- Checking for package 'BLAS'
-- ParMETIS could not be found/configured. (missing: PARMETIS_LIBRARIES PARMETIS_TEST_RUNS PARMETIS_
-- Checking for package 'LAPACK'
-- Checking for package 'CGAL'
-- Checking for package 'CPPUNIT'
-- CPPUNIT could not be found. Be sure to set CPPUNIT_DIR. (missing: CPPUNIT_LIBRARIES CPPUNIT_
-- Checking for package 'Sphinx'
-- Could NOT find Sphinx (missing: SPHINX_VERSION_OK)
--
-- The following optional packages were found:
-- -------
-- (OK) UMFPACK
-- (OK) CHOLMOD
-- (OK) CGAL
-- (OK) ZLIB
-- (OK) PYTHON
--
-- The following optional packages were not enabled:
-- -------
-- (--) OPENMP
-- (--) MPI
-- (--) PETSC
-- (--) SLEPC
-- (--) TRILINOS
-- (--) MTL4
-- (--) SCOTCH
-- (--) PARMETIS
-- (--) SPHINX
--
CMake Warning at CMakeLists.txt:584 (message):
Disabling generation of documentation because Sphinx is missing.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pratik/
What am I missing? Any help would be appreciated.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Johannes Ring
- Solved:
- Last query:
- Last reply: