Thanks for the help. I installed ply and tried again. That resolved the one
error but the rest still remain. Looks like maybe it's a problem with ffc.
Thanks. Here's the new output:
-- Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH)
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH)
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIBRARIES
MPI_Fortran_INCLUDE_PATH)
-- Boost version: 1.53.0
-- Found the following Boost libraries:
-- filesystem
-- program_options
-- system
-- thread
-- iostreams
-- timer
-- chrono
-- UFC version: 2.2.0+
-- Checking for package 'PETSc'
-- PETSC_DIR is PETSC_DIR-NOTFOUND
-- PETSC_ARCH is empty
-- Unable to find petscconf.h
-- PETSc could not be found. Be sure to set PETSC_DIR and PETSC_ARCH. (missing:
PETSC_LIBRARIES PETSC_DIR PETSC_INCLUDE_DIRS PETSC_TEST_RUNS PETSC_VERSION
PETSC_VERSION_OK) (Required is at least version "3.2")
-- Checking for package 'AMD'
-- Checking for package 'UMFPACK'
-- Checking for package 'AMD'
-- Checking for package 'CHOLMOD'
-- Checking for package 'AMD'
-- A library with BLAS API found.
-- Checking for package 'CHOLMOD'
-- Checking for package 'AMD'
-- A library with BLAS API found.
-- Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS)
-- PASTIX_LIBRARIES PASTIX_LIBRARY-NOTFOUND;/lib64/librt.so;/lib64/libm.so
-- A library with BLAS API found.
-- PaStiX could not be found. Be sure to set PASTIX_DIR. (missing:
PASTIX_INCLUDE_DIRS PASTIX_TEST_RUNS PASTIX_VERSION PASTIX_VERSION_OK)
-- Checking for Trilinos
-- Unable to find Trilinos (>= 11.0.0)
-- Trilinos could not be found
-- Checking for package 'CGAL'
-- Checking for package 'Sphinx'
-- Found VTK: /usr/lib64/vtk (found version "5.10")
--
-- The following optional packages were found:
-- -------------------------------------------
-- (OK) OPENMP
-- (OK) CGAL
-- (OK) ZLIB
-- (OK) PYTHON
-- (OK) SPHINX
-- (OK) VTK
-- (OK) QT
--
-- The following optional packages were not found:
-- -----------------------------------------------
-- (**) MPI
-- (**) PETSC
-- (**) PETSC4PY
-- (**) SLEPC
-- (**) TAO
-- (**) TRILINOS
-- (**) UMFPACK
-- (**) CHOLMOD
-- (**) PASTIX
-- (**) SCOTCH
-- (**) PARMETIS
-- (**) HDF5
--
--
-- Generating form files in demo, test, bench and dolfin directories. May take
some time...
--
----------------------------------------------------------------------------------------
CMake Error at CMakeLists.txt:709 (message):
Generation of form files failed:
Traceback (most recent call last):
File "/usr/bin/ffc", line 197, in <module>
sys.exit(main(sys.argv[1:]))
File "/usr/bin/ffc", line 178, in main
compile_form(ufd.forms, ufd.object_names, prefix, parameters)
File "build/bdist.linux-x86_64/egg/ffc/compiler.py", line 171, in
compile_form
File "build/bdist.linux-x86_64/egg/ffc/wrappers.py", line 44, in
generate_wrapper_code
File "<string>", line 1, in <lambda>
File "build/bdist.linux-x86_64/egg/ufl/log.py", line 154, in error
Exception: Unable to generate new DOLFIN wrappers, missing module
dolfin_utils.wrappers.
Traceback (most recent call last):
File
"/tmp/dolfin-install/fenics-project-dolfin-c6d76add31ad/cmake/scripts/generate-form-files",
line 63, in <module>
raise RuntimeError, "Unable to compile form: %s/%s" % (root, f)
RuntimeError: Unable to compile form: dolfin/ale/Poisson3D.ufl
> Date: Tue, 8 Oct 2013 09:00:25 +0100
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: Re: [FEniCS-support] Dolfin install problem on Fedora 19
>
> On 2013-10-08 01:34, Timothy Warrington wrote:
> > Hello,
> > I am very new to this. I am trying to compile/install dolfin on fedora
> > 19. I have install all the dependencies that I'm aware of but cmake
> > still fails. Can anyone help? Thanks. The cmake log is below:
> >
>
> The issue can be found in the error message:
>
> import ply.lex as lex
> ImportError: No module named ply.lex
>
> You need to install the Python module 'ply'.
>
> Garth
>
>
> > -- Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH)
> > -- Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES
> > MPI_CXX_INCLUDE_PATH)
> > -- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIBRARIES
> > MPI_Fortran_INCLUDE_PATH)
> > -- Boost version: 1.53.0
> > -- Found the following Boost libraries:
> > -- filesystem
> > -- program_options
> > -- system
> > -- thread
> > -- iostreams
> > -- timer
> > -- chrono
> > -- UFC version: 2.2.0+
> > -- Checking for package 'PETSc'
> > -- PETSC_DIR is PETSC_DIR-NOTFOUND
> > -- PETSC_ARCH is empty
> > -- Unable to find petscconf.h
> > -- PETSc could not be found. Be sure to set PETSC_DIR and PETSC_ARCH.
> > (missing: PETSC_LIBRARIES PETSC_DIR PETSC_INCLUDE_DIRS PETSC_TEST_RUNS
> > PETSC_VERSION PETSC_VERSION_OK) (Required is at least version "3.2")
> > -- Checking for package 'AMD'
> > -- Checking for package 'UMFPACK'
> > -- Checking for package 'AMD'
> > -- Checking for package 'CHOLMOD'
> > -- Checking for package 'AMD'
> > -- A library with BLAS API found.
> > -- Checking for package 'CHOLMOD'
> > -- Checking for package 'AMD'
> > -- A library with BLAS API found.
> > -- Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS)
> > -- PASTIX_LIBRARIES
> > PASTIX_LIBRARY-NOTFOUND;/lib64/librt.so;/lib64/libm.so
> > -- A library with BLAS API found.
> > -- PaStiX could not be found. Be sure to set PASTIX_DIR. (missing:
> > PASTIX_INCLUDE_DIRS PASTIX_TEST_RUNS PASTIX_VERSION PASTIX_VERSION_OK)
> >
> > -- Checking for Trilinos
> > -- Unable to find Trilinos (>= 11.0.0)
> > -- Trilinos could not be found
> > -- Checking for package 'CGAL'
> > -- Checking for package 'Sphinx'
> > -- Found VTK: /usr/lib64/vtk (found version "5.10")
> > --
> > -- The following optional packages were found:
> > -- -------------------------------------------
> > -- (OK) OPENMP
> > -- (OK) CGAL
> > -- (OK) ZLIB
> > -- (OK) PYTHON
> > -- (OK) SPHINX
> > -- (OK) VTK
> > -- (OK) QT
> > --
> > -- The following optional packages were not found:
> > -- -----------------------------------------------
> > -- (**) MPI
> > -- (**) PETSC
> > -- (**) PETSC4PY
> > -- (**) SLEPC
> > -- (**) TAO
> > -- (**) TRILINOS
> > -- (**) UMFPACK
> > -- (**) CHOLMOD
> > -- (**) PASTIX
> > -- (**) SCOTCH
> > -- (**) PARMETIS
> > -- (**) HDF5
> > --
> > --
> > -- Generating SWIG interface.
> > -- --------------------------
> > Traceback (most recent call last):
> > File
> > "/tmp/dolfin-install/fenics-project-dolfin-cf8154680e01/cmake/scripts/generate-swig-interface",
> > line 36, in <module>
> > from dolfin_utils.cppparser import *
> > File
> > "/tmp/dolfin-install/fenics-project-dolfin-cf8154680e01/site-packages/dolfin_utils/cppparser/__init__.py",
> > line 1, in <module>
> > from CppHeaderParser import CppHeader
> > File
> > "/tmp/dolfin-install/fenics-project-dolfin-cf8154680e01/site-packages/dolfin_utils/cppparser/CppHeaderParser.py",
> > line 51, in <module>
> > import ply.lex as lex
> > ImportError: No module named ply.lex
> > --
> > -- Generating form files in demo, test, bench and dolfin directories.
> > May take some time...
> > --
> > ----------------------------------------------------------------------------------------
> > CMake Error at CMakeLists.txt:709 (message):
> > Generation of form files failed:
> >
> > Traceback (most recent call last):
> >
> > File "/usr/bin/ffc", line 197, in <module>
> > sys.exit(main(sys.argv[1:]))
> > File "/usr/bin/ffc", line 178, in main
> > compile_form(ufd.forms, ufd.object_names, prefix, parameters)
> > File "build/bdist.linux-x86_64/egg/ffc/compiler.py", line 171, in
> > compile_form
> > File "build/bdist.linux-x86_64/egg/ffc/wrappers.py", line 44, in
> > generate_wrapper_code
> > File "<string>", line 1, in <lambda>
> > File "build/bdist.linux-x86_64/egg/ufl/log.py", line 154, in error
> >
> > Exception: Unable to generate new DOLFIN wrappers, missing module
> > dolfin_utils.wrappers.
> >
> > Traceback (most recent call last):
> >
> > File
> > "/tmp/dolfin-install/fenics-project-dolfin-cf8154680e01/cmake/scripts/generate-form-files",
> > line 63, in <module>
> > raise RuntimeError, "Unable to compile form: %s/%s" % (root, f)
> >
> > RuntimeError: Unable to compile form: dolfin/ale/Poisson3D.ufl
> >
> > -- Configuring incomplete, errors occurred!
> >
> > _______________________________________________
> > fenics-support mailing list
> > [email protected]
> > http://fenicsproject.org/mailman/listinfo/fenics-support
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support