Dear,
When I installed fenics component on my ubuntu 12.04 TLS by dorsal.sh,
error is appeared as follows:
-- The following optional packages were found:
-- -------------------------------------------
-- (OK) OPENMP
-- (OK) MPI
-- (OK) TRILINOS
-- (OK) UMFPACK
-- (OK) CHOLMOD
-- (OK) SCOTCH
-- (OK) PARMETIS
-- (OK) ZLIB
-- (OK) PYTHON
-- (OK) SPHINX
-- (OK) HDF5
--
-- The following optional packages were not found:
-- -----------------------------------------------
-- (**) PETSC
-- (**) PETSC4PY
-- (**) SLEPC
-- (**) TAO
-- (**) PASTIX
-- (**) CGAL
-- (**) VTK
-- (**) QT
--
--
-- Generating SWIG interface.
-- --------------------------
--
-- Generating form files in demo, test, bench and dolfin directories. May take
some time...
--
----------------------------------------------------------------------------------------
CMake Error at CMakeLists.txt:754 (message):
Generation of form files failed:
Traceback (most recent call last):
File "/home/stone/Work/FEniCS/bin/ffc", line 197, in <module>
sys.exit(main(sys.argv[1:]))
File "/home/stone/Work/FEniCS/bin/ffc", line 178, in main
compile_form(ufd.forms, ufd.object_names, prefix, parameters)
File "/usr/lib/python2.7/dist-packages/ffc/compiler.py", line 175, in
compile_form
format_code(code, wrapper_code, prefix, parameters)
File "/usr/lib/python2.7/dist-packages/ffc/formatting.py", line 80, in
format_code
code_h += _format_h("cell_integral", code_integral, parameters)
File "/usr/lib/python2.7/dist-packages/ffc/formatting.py", line 116, in
_format_h
return templates[class_type + "_combined"] % code + "\n"
KeyError: 'restrict'
Traceback (most recent call last):
File
"/home/stone/Work/FEniCS/src/dolfin/cmake/scripts/generate-form-files", line
73, in <module>
raise RuntimeError, "Unable to compile form: %s/%s" % (root, f)
RuntimeError: Unable to compile form: dolfin/ale/Poisson2D.ufl
I checked the error info for a long time , but i can not figure out. Was it
cause by above listed "not found optional packages " or some other reason ?
How can i fix it ? Thanks a lot !
Regards,
--zheng
+--------------------------------------------------+
School of Mathematics and Computational Science,
Xiangtan University, Xiangtan 411105, China.
Phone:(+86) 130 1333 4282
E-mail: [email protected];
+--------------------------------------------------+_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support