[firedrake] PyOP2 installation

Cotter, Colin J colin.cotter at imperial.ac.uk
Sat Feb 1 15:35:34 GMT 2014


There was, because I already had a root installation of ffc and it was being found before the local ffc. Don't know why.

Another numpty question: how do I check out my branch "colins_tests" onto another computer?

cheers
--cjc

________________________________
From: firedrake-bounces at imperial.ac.uk [firedrake-bounces at imperial.ac.uk] on behalf of Lawrence Mitchell [lawrence.mitchell at imperial.ac.uk]
Sent: 01 February 2014 15:24
To: firedrake
Subject: Re: [firedrake] PyOP2 installation

On 1 Feb 2014, at 14:44, "Cotter, Colin J" <colin.cotter at imperial.ac.uk<mailto:colin.cotter at imperial.ac.uk>> wrote:

Dear all,
  I just installed the forked FFC/UFL/etc. on my laptop using pip install --user. I presume that I need to add these to my pythonpath, what is not clear is which actual directory needs to be added? Is it .local/lib/site-packages?


There should be no need to futz with pythonpath. Pip should have out things where they are already found. To see which ffc is being imported:

import ffc
print ffc.__file__

If you have the correct ffc then

from ffc import constants
print constants.PYOP2_VERSION

should exist and show, I think 0.5.0.

Lawrence
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 5019 bytes
Desc: not available
URL: <http://mailman.ic.ac.uk/pipermail/firedrake/attachments/20140201/4fc972e1/attachment.bin>


More information about the firedrake mailing list