On Tue, Jun 10, 2014 at 8:18 PM, Marcelo Rosa (CEFET)
<[email protected]> wrote:
> Today I tried to install dolfin 1.4 in Fedora 20. I've worked with dolfin
> 1.3 until now.
>
> Using the following commands
>
> cd <fenics directory>
> mkdir build
> cd build
> cmake -DCMAKE_INSTALL_PREFIX=/opt/fenics-1.4.0 ..
>
> I've got errors in
>
> -- The following optional packages were found:
> -- -------------------------------------------
> -- (OK) OPENMP
> -- (OK) MPI
> -- (OK) PETSC
> -- (OK) UMFPACK
> -- (OK) CHOLMOD
> -- (OK) CGAL
> -- (OK) ZLIB
> -- (OK) PYTHON
> -- (OK) SPHINX
> -- (OK) VTK
> -- (OK) QT
> --
> -- The following optional packages were not found:
> -- -----------------------------------------------
> -- (**) PETSC4PY
> -- (**) SLEPC
> -- (**) TRILINOS
> -- (**) PASTIX
> -- (**) SCOTCH
> -- (**) PARMETIS
> -- (**) HDF5

The problem is likely above these lines in the output from cmake. I
suspect it is related to SCOTCH and this bug report:

https://bitbucket.org/fenics-project/dolfin/issue/253/scotch-v6-not-properly-detected-by-cmake

> ...
>
> -- Enabling generation of documentation.
> -- Initializing sphinx projects
> -- Enabling generation of html-documentation
> -- Configuring incomplete, errors occurred!
> See also
> "/home/mrosa/Downloads/fenics-1.4.0/dolfin-1.4.0/build/CMakeFiles/CMakeOutput.log".
> See also
> "/home/mrosa/Downloads/fenics-1.4.0/dolfin-1.4.0/build/CMakeFiles/CMakeError.log".
>
> I read and read this files from cmake but I could not find what was wrong
> since I installed fenics 1.3 using the same linux commands with the same
> system libraries.
>
> So I decided to manually turn off the optional packages cmake could not find
> (since I did not installed them).
>
> After that, everything was fine.
>
> So I think your could put a note in cmake files or in a readme file saying
> that we must turn off packages we did not have, or cmake will display
> errors.

It is not necessary to turn off optional packages, however, in this
case, turning off SCOTCH will get around the bug listed above.

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

Reply via email to