On Fri, Dec 6, 2013 at 9:42 AM, zheng <[email protected]> wrote:
> 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):

It looks like it is using the wrong ffc module:

>     File "/home/stone/Work/FEniCS/bin/ffc", line 197, in <module>

This is the correct ffc script...

>       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

but this is not the correct ffc module. This will happen if PYTHONPATH
is not set correctly, however, that should not be the case when using
Dorsal. What is the contents of
/home/stone/Work/FEniCS/src/dolfin/dorsal_configure?

Johannes
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to