On Wed, Nov 26, 2014 at 3:45 AM, Paul C. Leopardi
<[email protected]> wrote:
> 1) I think I need Epetra, because I think that CBC.block depends on it. I
> could be wrong, but I don't know a definitive check other than trying to
> build and test CBC.block, and seeing if the build and test complain about
> Epetra.

Yes, you are right. CBC.block needs DOLFIN built with Epetra.

> 2) If this was fixed recently, then why was the fix not picked up by
>
> STABLE_BUILD=false
>
> USE_SNAPSHOTS=true
>
> in my local.cfg ? Is the fix in the Git commit but not in the snapshot?

No, the fix I was talking about was in Dorsal. Did you have the latest
Dorsal? Or maybe the problem was that you have petsc4py 3.4 installed
as a package under /usr and that this was picked up by DOLFIN.

> 3) Even though I am trying to compile FEniCS from source, I ran the apt
> commands as you suggested in your later message (below). This resulted in:

The Ubuntu packages will not work with CBC.block since DOLFIN is not
built with Trilinos.

> $ sudo apt-get install fenics
>
> Reading package lists... Done
>
> Building dependency tree
>
> Reading state information... Done
>
> fenics is already the newest version.
>
> 0 to upgrade, 0 to newly install, 0 to remove and 1 not to upgrade
>
>
>
> I then used Synaptics to remove all FEniCS packages, and tried again,
> successfully. This resulted in the following versions.
>
>
>
> $ for i in `apt-cache search fenics | sort | grep -Eo '^[^ ]+'`;do echo $i;
> dpkg -s $i 2>&1 | grep Version;done
>
> dolfin-bin
>
> Version: 1.4.0+dfsg-2~ppa3~trusty1
>
> dolfin-dev
>
> Version: 1.4.0+dfsg-2~ppa3~trusty1
>
> dolfin-doc
>
> Version: 1.4.0+dfsg-2~ppa3~trusty1
>
> fenics
>
> Version: 1:1.4.0.1~ppa3~trusty1
>
> libdolfin1.2-dbg
>
> libdolfin1.2-dev
>
> libdolfin1.2
>
> libdolfin1.3-dbg
>
> libdolfin1.3-dev
>
> libdolfin1.3
>
> Version: 1.3.0+dfsg-2
>
> Config-Version: 1.3.0+dfsg-2
>
> libdolfin1.4-dbg
>
> libdolfin1.4-dev
>
> Version: 1.4.0+dfsg-2~ppa3~trusty1
>
> libdolfin1.4
>
> Version: 1.4.0+dfsg-2~ppa3~trusty1
>
> python-dolfin-dbg
>
> python-dolfin
>
> Version: 1.4.0+dfsg-2~ppa3~trusty1
>
> python-ffc
>
> Version: 1.4.0-2~ppa1~trusty1
>
> python-instant
>
> Version: 1.4.0-2~ppa1~trusty1
>
> sfc

This looks like the latest versions from the FEniCS PPA.

> 4) I tried using
>
> git clone https://bitbucket.org/fenics-project/dorsal.git dorsal.git
>
> and the git checkout command worked in dorsal.git
>
> The build and install succeeded and the CBC.block demos now work.

Ok, good!

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

Reply via email to