On Wed, Feb 5, 2014 at 12:12 PM, Fredrik Lingvall
<[email protected]> wrote:
> Hi FEniCS devs,
>
> I'm trying to install FEniCS (on a Gentoo) Linux x86_64 box. I have these
> packages build and installed
>
> kalle fenics # ls -lah
> total 5.1M
> drwxr-xr-x  8 root root 4.0K Feb  5 12:00 .
> drwxr-xr-x 66 root root 4.0K Feb  5 10:19 ..
> -rw-r--r--  1 root root  85K Feb  4 16:11 235a0e086f6d.zip
> -rw-r--r--  1 root root 141K Feb  5 08:58 2b4002ad75a8.zip
> -rw-r--r--  1 root root 407K Feb  4 16:15 807c9581e17e.zip
> -rw-r--r--  1 root root 3.9M Feb  5 08:59 ac6f9d186802.zip
> -rw-r--r--  1 root root 196K Feb  4 16:13 c71d79029b7e.zip
> -rw-r--r--  1 root root 423K Feb  4 16:09 fbeccf991aa1.zip
> drwxr-xr-x 13 root root 4.0K Feb  5 12:01 fenics-project-dolfin-ac6f9d186802
> drwxr-xr-x  9 root root 4.0K Feb  4 16:40 fenics-project-ffc-fbeccf991aa1
> drwxr-xr-x  6 root root 4.0K Feb  5 08:53 fenics-project-fiat-235a0e086f6d
> drwxr-xr-x  7 root root 4.0K Feb  5 08:53
> fenics-project-instant-c71d79029b7e
> drwxr-xr-x  6 root root 4.0K Feb  5 12:00 fenics-project-ufc-2b4002ad75a8
> drwxr-xr-x  9 root root 4.0K Feb  5 08:54 fenics-project-ufl-807c9581e17e
>
> exept fenics-project-dolfin-ac6f9d186802 which fails when running cmake:
>
> kalle fenics-project-dolfin-ac6f9d186802 # mkdir build/
> kalle fenics-project-dolfin-ac6f9d186802 # cd build/
> kalle build # cmake ..
> -- The C compiler identification is GNU 4.8.2
> -- The CXX compiler identification is GNU 4.8.2
>
> -snip-
>
> -- Found Qt4: /usr/bin/qmake (found version "4.8.5")
> CMake Warning at CMakeLists.txt:511 (find_package):
>   Could not find a package configuration file provided by "VTK" with any of
>   the following names:
>
>     VTKConfig.cmake
>     vtk-config.cmake
>
>   Add the installation prefix of "VTK" to CMAKE_PREFIX_PATH or set "VTK_DIR"
>   to a directory containing one of the above files.  If "VTK" provides a
>   separate development package or SDK, be sure it has been installed.
>
>
> --
> -- The following optional packages were found:
> -- -------------------------------------------
> -- (OK) OPENMP
> -- (OK) MPI
> -- (OK) PETSC
> -- (OK) CHOLMOD
> -- (OK) SCOTCH
> -- (OK) CGAL
> -- (OK) ZLIB
> -- (OK) PYTHON
> -- (OK) HDF5
> -- (OK) QT
> --
> -- The following optional packages were not found:
> -- -----------------------------------------------
> -- (**) PETSC4PY
> -- (**) SLEPC
> -- (**) TAO
> -- (**) TRILINOS
> -- (**) UMFPACK
> -- (**) PASTIX
> -- (**) PARMETIS
> -- (**) SPHINX
> -- (**) VTK
> --
> --
> -- Generating SWIG interface.
> -- --------------------------
> --
> -- Generating form files in demo, test, bench and dolfin directories. May
> take some time...
> --
> ----------------------------------------------------------------------------------------
> CMake Error at CMakeLists.txt:779 (message):
>   Generation of form files failed:
>
>   Traceback (most recent call last):
>
>     File "/usr/local/bin/ffc", line 40, in <module>
>       from ufl.log import UFLException
>
>   ImportError: No module named ufl.log
>
>   Traceback (most recent call last):
>
>     File
> "/root/software/fenics/fenics-project-dolfin-ac6f9d186802/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

Please make sure that UFL is installed and that it is available in PYTHONPATH.

Johannes

>
> -- Configuring incomplete, errors occurred!
>
> Regards,
>
> Fredrik Lingvall
>
> PS. The full cmake output is shown below:
>
> kalle build # cmake ..
> -- The C compiler identification is GNU 4.8.2
> -- The CXX compiler identification is GNU 4.8.2
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> fatal: Not a git repository (or any of the parent directories): .git
> -- Performing Test HAVE_PIPE
> -- Performing Test HAVE_PIPE - Success
> -- Performing Test HAVE_PEDANTIC
> -- Performing Test HAVE_PEDANTIC - Success
> -- Performing Test HAVE_STD_CPP11
> -- Performing Test HAVE_STD_CPP11 - Success
> -- Performing Test HAVE_DEBUG
> -- Performing Test HAVE_DEBUG - Success
> -- Performing Test HAVE_O2_OPTIMISATION
> -- Performing Test HAVE_O2_OPTIMISATION - Success
> -- The Fortran compiler identification is GNU
> -- Check for working Fortran compiler: /usr/bin/gfortran
> -- Check for working Fortran compiler: /usr/bin/gfortran  -- works
> -- Detecting Fortran compiler ABI info
> -- Detecting Fortran compiler ABI info - done
> -- Checking whether /usr/bin/gfortran supports Fortran 90
> -- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
> -- Found MPI_C:
> /usr/lib64/libmpi.so;/usr/lib64/libopen-rte.so;/usr/lib64/libopen-pal.so;/usr/lib64/libdl.so;/usr/lib64/libnsl.so;/usr/lib64/libutil.so;/usr/lib64/libm.so;/usr/lib64/libdl.so
> -- Found MPI_CXX:
> /usr/lib64/libmpi_cxx.so;/usr/lib64/libmpi.so;/usr/lib64/libopen-rte.so;/usr/lib64/libopen-pal.so;/usr/lib64/libdl.so;/usr/lib64/libnsl.so;/usr/lib64/libutil.so;/usr/lib64/libm.so;/usr/lib64/libdl.so
> -- Found MPI_Fortran:
> /usr/lib64/libmpi_f90.so;/usr/lib64/libmpi_f77.so;/usr/lib64/libmpi.so;/usr/lib64/libopen-rte.so;/usr/lib64/libopen-pal.so;/usr/lib64/libdl.so;/usr/lib64/libnsl.so;/usr/lib64/libutil.so;/usr/lib64/libm.so;/usr/lib64/libdl.so
> -- Try OpenMP C flag = [-fopenmp]
> -- Performing Test OpenMP_FLAG_DETECTED
> -- Performing Test OpenMP_FLAG_DETECTED - Success
> -- Try OpenMP CXX flag = [-fopenmp]
> -- Performing Test OpenMP_FLAG_DETECTED
> -- Performing Test OpenMP_FLAG_DETECTED - Success
> -- Found OpenMP: -fopenmp
> -- Performing Test OPENMP_UINT_TEST_RUNS
> -- Performing Test OPENMP_UINT_TEST_RUNS - Success
> -- Boost version: 1.53.0
> -- Found the following Boost libraries:
> --   filesystem
> --   program_options
> --   system
> --   thread
> --   iostreams
> --   timer
> --   chrono
> --   mpi
> --   serialization
> -- UFC version: 2.3.0+
> -- Found Eigen3: /usr/include/eigen3 (Required is at least version "3.0.0")
> -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.1")
> -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.5",
> minimum required is "2")
> -- NumPy header version 1.7.1 found
> -- Found SWIG: /usr/bin/swig (found version "2.0.9")
> -- Checking for package 'PETSc'
> -- PETSC_DIR is /usr/local
> -- PETSC_ARCH is empty
> -- Found petscconf.h
> -- Performing test PETSC_TEST_RUNS - Success
> -- Performing Test PETSC_CUSP_FOUND
> -- Performing Test PETSC_CUSP_FOUND - Failed
> -- PETSc configured without Cusp support
> -- Found PETSc: /usr/local/lib64/libpetsc.so (Required is at least version
> "3.2")
> -- Checking for package 'SLEPc'
> -- SLEPC_DIR is SLEPC_DIR-NOTFOUND
> -- SLEPc could not be found. Be sure to set SLEPC_DIR, PETSC_DIR, and
> PETSC_ARCH. (missing:  SLEPC_LIBRARIES SLEPC_DIR SLEPC_INCLUDE_DIRS
> SLEPC_TEST_RUNS SLEPC_VERSION SLEPC_VERSION_OK) (Required is at least
> version "3.2")
> -- Checking for package 'TAO'
> -- TAO_DIR is TAO_DIR-NOTFOUND
> -- TAO could not be found. Be sure to set TAO_DIR, PETSC_DIR, and
> PETSC_ARCH. (missing:  TAO_LIBRARIES TAO_DIR TAO_INCLUDE_DIRS TAO_TEST_RUNS)
> -- Checking for package 'PETSc4Py'
> -- ParMETIS could not be found/configured. (missing: PARMETIS_TEST_RUNS
> PARMETIS_INCLUDE_DIRS PARMETIS_VERSION PARMETIS_VERSION_OK) (Required is at
> least version "4.0.2")
> -- Checking for package 'SCOTCH-PT'
> -- Found SCOTCH (version 6.0.0)
> -- Performing test SCOTCH_TEST_RUNS
> -- Performing test SCOTCH_TEST_RUNS - Success
> -- Found SCOTCH:
> /usr/lib64/libptscotch.so;/usr/lib64/libscotch.so;/usr/lib64/libptscotcherr.so
> -- Checking for package 'AMD'
> -- Looking for Fortran sgemm
> -- Looking for Fortran sgemm - found
> -- Looking for include file pthread.h
> -- Looking for include file pthread.h - found
> -- Looking for pthread_create
> -- Looking for pthread_create - found
> -- Found Threads: TRUE
> -- Checking for package 'UMFPACK'
> -- Checking for package 'AMD'
> -- Checking for package 'CHOLMOD'
> -- Checking for package 'AMD'
> -- A library with BLAS API found.
> -- Looking for Fortran cheev
> -- Looking for Fortran cheev - found
> -- Performing Test CHOLMOD_TEST_RUNS
> -- Performing Test CHOLMOD_TEST_RUNS - Success
> -- Performing Test UMFPACK_TEST_RUNS
> -- Performing Test UMFPACK_TEST_RUNS - Failed
> -- Checking for package 'CHOLMOD'
> -- Checking for package 'AMD'
> -- A library with BLAS API found.
> -- Found HDF5:
> debug;/usr/lib64/libhdf5_hl.so;debug;/usr/lib64/libhdf5.so;debug;/usr/lib64/libsz.so;debug;/usr/lib64/libz.so;debug;/usr/lib64/libm.so;optimized;/usr/lib64/libhdf5_hl.so;optimized;/usr/lib64/libhdf5.so;optimized;/usr/lib64/libsz.so;optimized;/usr/lib64/libz.so;optimized;/usr/lib64/libm.so
> -- PASTIX_LIBRARIES
> PASTIX_LIBRARY-NOTFOUND;/usr/lib64/librt.so;/usr/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'
> -- Performing Test CGAL_TEST_RUNS
> -- Performing Test CGAL_TEST_RUNS - Success
> -- Found CGAL:
> /usr/lib64/libCGAL.so;/usr/lib64/libboost_thread-mt.so;/usr/lib64/libboost_system-mt.so;/usr/lib64/libgmp.so;/usr/lib64/libmpfr.so
> (Required is at least version "4.1")
> -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8")
> -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
> -- checking for module 'cppunit'
> --   found cppunit, version 1.13.1
> -- Found CPPUNIT: /usr/lib64/libcppunit.so
> -- Checking for package 'Sphinx'
> -- Could NOT find Sphinx (missing:  SPHINX_EXECUTABLE SPHINX_VERSION_OK)
> (Required is at least version "1.1.0")
> -- Looking for Q_WS_X11
> -- Looking for Q_WS_X11 - found
> -- Looking for Q_WS_WIN
> -- Looking for Q_WS_WIN - not found
> -- Looking for Q_WS_QWS
> -- Looking for Q_WS_QWS - not found
> -- Looking for Q_WS_MAC
> -- Looking for Q_WS_MAC - not found
> -- Found Qt4: /usr/bin/qmake (found version "4.8.5")
> CMake Warning at CMakeLists.txt:511 (find_package):
>   Could not find a package configuration file provided by "VTK" with any of
>   the following names:
>
>     VTKConfig.cmake
>     vtk-config.cmake
>
>   Add the installation prefix of "VTK" to CMAKE_PREFIX_PATH or set "VTK_DIR"
>   to a directory containing one of the above files.  If "VTK" provides a
>   separate development package or SDK, be sure it has been installed.
>
>
> --
> -- The following optional packages were found:
> -- -------------------------------------------
> -- (OK) OPENMP
> -- (OK) MPI
> -- (OK) PETSC
> -- (OK) CHOLMOD
> -- (OK) SCOTCH
> -- (OK) CGAL
> -- (OK) ZLIB
> -- (OK) PYTHON
> -- (OK) HDF5
> -- (OK) QT
> --
> -- The following optional packages were not found:
> -- -----------------------------------------------
> -- (**) PETSC4PY
> -- (**) SLEPC
> -- (**) TAO
> -- (**) TRILINOS
> -- (**) UMFPACK
> -- (**) PASTIX
> -- (**) PARMETIS
> -- (**) SPHINX
> -- (**) VTK
> --
> --
> -- Generating SWIG interface.
> -- --------------------------
> --
> -- Generating form files in demo, test, bench and dolfin directories. May
> take some time...
> --
> ----------------------------------------------------------------------------------------
> CMake Error at CMakeLists.txt:779 (message):
>   Generation of form files failed:
>
>   Traceback (most recent call last):
>
>     File "/usr/local/bin/ffc", line 40, in <module>
>       from ufl.log import UFLException
>
>   ImportError: No module named ufl.log
>
>   Traceback (most recent call last):
>
>     File
> "/root/software/fenics/fenics-project-dolfin-ac6f9d186802/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
>
>
>
> -- 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

Reply via email to