Dear Johannes,
On Tue, 25 Nov 2014 03:40:02 PM Johannes Ring wrote:
> On Tue, Nov 25, 2014 at 3:16 PM, Paul C. Leopardi
> 
> <[email protected]> wrote:
> > I am trying to build FEniCS on Kubuntu 14.04 using Dorsal, in order to try
> > out the CBC.block demos. The build apparently worked, but I then
> > discovered
> > that various components are not properly configured. In particular:
> > 
> > 1) Epetra is "found" but not "available".
> 
> The Epetra backend has been removed from DOLFIN in the development
> version (after 1.4.0).
> 
> > 2) petsc4py is disabled because of an apparent incompatibility between
> > 
> > PETSc version 3.5.2 and petsc4py version 3.4.
> 
> This was fixed recently, see here:
> 
> https://bitbucket.org/fenics-project/dorsal/issue/22
> 
> > How do I fix these? I have tried to include all relevant details below.
> 
> If you need Epetra, then you must build the stable version of DOLFIN.
> To do this, you will have set STABLE_BUILD=true and rollback Dorsal to
> before the upgrade to PETSc 3.5.2:
> 
>   git checkout 19472e
> 
> in the Dorsal directory.

Thanks for your detailed reply. Dorsal now creates a version of FEniCS that is 
usable by 
CBC.block. Details below.
All the best, Paul

Details

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.

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?

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:
$ 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

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.

----------  Forwarded Message  ----------

Subject: Re: [FEniCS-support] installation on ubuntu
Date: Tue, 25 Nov 2014, 06:02:21 PM
From: Johannes Ring <[email protected]>
To: Victor Synnes <[email protected]>
CC: [email protected] <[email protected]>

It looks like you have a mix of 1.4.0 (FFC and FIAT) and 1.3.0
(instant) packages. Can you make sure you have the latest packages and
an up-to-date system by running the commands listed on the webpage:

http://fenicsproject.org/download/ubuntu_details.html#ubuntu-ppa

-- 
Paul Leopardi
http://www.maths.anu.edu.au/~leopardi
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to