There are no documentation of what software versions you need. This should
be taken care of by CMake. If you for example need a higher version of some
software CMake should tell you that. You should also be able to look at:

  build/CMakeFiles/CMakeError.log

to check why the SLEPC/PASTIX tests did not pass.

Also have in mind that SLEPC and PASTIX are only optional dependencies.

Johan


On Wed, Sep 18, 2013 at 9:10 PM, Dominique Orban
<[email protected]>wrote:

> Hi Johan,
>
> I'm down to these two:
>
> -- The following optional packages were not found:
> -- -----------------------------------------------
> -- (**) SLEPC
> -- (**) PASTIX
>
> I've been able to resolve the other "not found" dependencies by passing
> specific compiler flags and installing alternate versions. It's not clear
> from the documentation what version of each software is required. Is that
> stated somewhere and I missed it?
>
> I have SLEPc 3.3 and PaSTiX 5.2.1 both built with Homebrew (I wrote the
> formulae, and the tests for each library pass).
>
> I tried installing SLEPc 3.4. That requires PETSc 3.4. Dolfin then detects
> SLEPC. But the problem is that TAO is no longer detected. The latest
> version of TAO (2.1) is only compatible with PETSc 3.3. So I seem to be
> stuck here.
>
> Thanks,
>
> Dominique
>
>
> On 2013-09-13, at 4:00 PM, Dominique Orban <[email protected]>
> wrote:
>
> > Because the releases date back to 2011, I'm trying to install the dev
> version of everything.
> >
> > Dolfin says:
> >
> > -- The following optional packages were not found:
> > -- -----------------------------------------------
> > -- (**) SLEPC
> > -- (**) PASTIX
> > -- (**) SCOTCH
> > -- (**) PARMETIS
> > -- (**) CGAL
> >
> > They are all installed on my system (using homebrew) and I defined
> SLEPC_DIR, PASTIX_DIR, etc., along with PETSC_DIR, PETSC_ARCH, etc. What
> else is required? It's not clear what Dolfin is expecting and
> README/INSTALL make no mention of this.
> >
> > For instance:
> >
> > $ ls $SLEPC_DIR
> > COPYING              README               conf                 lib
> > INSTALL_RECEIPT.json bin                  include
> >
> > $ ls $PASTIX_DIR
> > INSTALL_RECEIPT.json README.txt           bin                  include
>            lib
> >
> > $ ls $CGAL_DIR
> > AUTHORS              INSTALL_RECEIPT.json README               include
>            share
> > CHANGES              LICENSE              bin                  lib
> >
> > $ ls $SCOTCH_DIR
> > INSTALL_RECEIPT.json README.txt           bin                  include
>            lib                  share
> >
> > $ ls $PARMETIS_DIR
> > Changelog            INSTALL_RECEIPT.json LICENSE.txt          bin
>            include              lib
> >
> >
> > In addition, I get a lot of messages of the form:
> >
> > -- Download demo and test data. May take some time...
> > -- --------------------------------------------------
> > CMake Warning at CMakeLists.txt:764 (message):
> >  Download failed:
> >
> >  mv: rename box_with_dent.xml.gz to
> demo/la/eigenvalue/box_with_dent.xml.gz:
> >  No such file or directory
> >
> >  mv: rename sphere_16.xml.gz to
> >  demo/undocumented/mixed-poisson-sphere/sphere_16.xml.gz: No such file or
> >  directory
> >
> > etc...
> >
> > I'm building out of tree (mkdir build; cd build; cmake ..)
> >
> > Thanks!
> >
> > Dominique
> >
> > On 2013-09-13, at 7:41 AM, Johan Hake <[email protected]> wrote:
> >
> >> You can find tarballs of all releases here:
> >>
> >>  http://fenicsproject.org/pub/software
> >>
> >> Johan
> >>
> >>
> >> On Fri, Sep 13, 2013 at 1:23 PM, Dominique Orban <
> [email protected]> wrote:
> >> Ok. I installed ffc with pip. Where do I get a release of Dolfin,
> though? The Bitbucket site doesn't seem to have downloads.
> >>
> >> Alternatively, I'll try with the dev version of everything.
> >>
> >> Thanks.
> >>
> >> Dominique
> >>
> >>
> >> On Friday, September 13, 2013, Johan Hake wrote:
> >> It looks like a version mismatch. If you are compiling development
> version of DOLFIN you need the development version of FFC.
> >>
> >> Johan
> >>
> >>
> >> On Fri, Sep 13, 2013 at 12:37 AM, Dominique Orban <
> [email protected]> wrote:
> >> Thanks. That still fails with:
> >>
> >> --
> >> Compiling forms in dolfin/ale...
> >>  ffc -v -O -f no_ferari -l dolfin  Poisson1D.ufl >> compile.log
> >> Traceback (most recent call last):
> >>  File "/Users/dpo/.virtualenvs/fenics-from-scratch/bin/ffc", line 195,
> in <module>
> >>    sys.exit(main(sys.argv[1:]))
> >>  File "/Users/dpo/.virtualenvs/fenics-from-scratch/bin/ffc", line 176,
> in main
> >>    compile_form(ufd.forms, ufd.object_names, prefix, parameters)
> >>  File
> "/Users/dpo/.virtualenvs/fenics-from-scratch/lib/python2.7/site-packages/ffc/compiler.py",
> line 171, in compile_form
> >>    wrapper_code = generate_wrapper_code(analysis, prefix, parameters)
> >>  File
> "/Users/dpo/.virtualenvs/fenics-from-scratch/lib/python2.7/site-packages/ffc/wrappers.py",
> line 44, in generate_wrapper_code
> >>    error("Unable to generate new DOLFIN wrappers, missing module
> dolfin_utils.wrappers.")
> >>  File "<string>", line 1, in <lambda>
> >>  File
> "/Users/dpo/.virtualenvs/fenics-from-scratch/lib/python2.7/site-packages/ufl/log.py",
> line 154, in error
> >>    raise self._exception_type(self._format_raw(*message))
> >> Exception: Unable to generate new DOLFIN wrappers, missing module
> dolfin_utils.wrappers.
> >> --
> >>
> >> There's no `wrappers` module in `site-packages/dolfin_utils`:
> >>
> >> $ ls site-packages/dolfin_utils/
> >> __init__.py    __init__.pyc   commands.py    cppparser
>  documentation  meshconvert    ordereddict.py pjobs
> >>
> >> Dominique
> >>
> >>
> >> On 2013-09-12, at 8:34 AM, Johan Hake <[email protected]> wrote:
> >>
> >>> This looks like a bug.
> >>>
> >>> Try:
> >>>  PYTHONPATH=$PYTHONPATH:site-packages cmake/scripts/generate-all
> >>>
> >>> Johan
> >>>
> >>>
> >>>
> >>>
> >>> On Thu, Sep 12, 2013 at 1:12 PM, Dominique Orban <
> [email protected]> wrote:
> >>>
> >>>
> >>> On Thursday, September 12, 2013, Garth N. Wells wrote:
> >>> On 12 September 2013 10:16, Johannes Ring <[email protected]> wrote:
> >>>> On Tue, Sep 10, 2013 at 12:37 AM, Dominique Orban
> >>>> <[email protected]> wrote:
> >>>>> In OSX 10.8.4, I installed all the Dolfin dependencies. Running
> `cmake` leaves me with:
> >>>>>
> >>>>>    Exception: Unable to generate new DOLFIN wrappers, missing module
> dolfin_utils.wrappers.
> >>>>>
> >>>>> This error comes from `ffc/wrappers.py` (line 44). But dolfin_utils
> is part of the Dolfin source tree, which in turn has FFC as a prerequisite.
> Are you supposed to `python install` that stuff before running `cmake`?
> >>>>
> >>>> Yes, FFC is needed to run cmake.
> >>>>
> >>>
> >>> FFC is required for the development version because we do not keep the
> >>> generated files under version control.
> >>>
> >>> FFC is not required to build release versions of DOLFIN.
> >>>
> >>>
> >>> Thanks for the reply. My question is a bit different and may not have
> been clear. I installed FFC. But while running cmake in the Dolfin source
> tree,  FFC complains that it can't import dolfin_utils. My problem is that
> dolfin_utils seems to be part of Dolfin, not of FFC, and so it hasn't been
> installed yet. I seem to be stuck in a circular dependency.
> >>>
> >>> Am I doing something wrong?
> >>>
> >>> Thanks!
> >>>
> >>>
> >>> --
> >>> Dominique
> >>>
> >>> _______________________________________________
> >>> fenics-support mailing list
> >>> [email protected]
> >>> http://fenicsproject.org/mailman/listinfo/fenics-support
> >>>
> >>>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> --
> >> Dominique
> >>
> >
> >
> >
> >
>
>
>
>
>
>
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to