The former (at least that's what I do), with -U --no-deps, I think (check
the website instructions)
You might get away with just updating petsc4py (obtaining the proper petsc
repository takes unpleasantly long)
On 11 April 2014 23:28, Cotter, Colin J <colin.cotter(a)imperial.ac.uk> wrote:
> Do I just do that via "pip install" again or is there an "update"?
>
> --cjc
> ------------------------------
> *From:* firedrake-bounces(a)imperial.ac.uk [firedrake-bounces(a)imperial.ac.uk]
> on behalf of Andrew McRae [a.mcrae12(a)imperial.ac.uk]
> *Sent:* 11 April 2014 23:27
>
> *To:* firedrake
> *Subject:* Re: [firedrake] ObjectCached
>
> If your PETSc is more than 3 hours old, you might need to update it.
>
> ^^^ the rule I've been following recently
>
>
> On 11 April 2014 23:25, Cotter, Colin J <colin.cotter(a)imperial.ac.uk>wrote:
>
>> ...ah, but now a different problem:
>>
>>
>> ---------------------------------------------------------------------------
>> TypeError Traceback (most recent call
>> last)
>> /home/cjc1/firedrake/firedrake/<ipython-input-2-9db8ddc4ad8d> in
>> <module>()
>> ----> 1 mesh = UnitSquareMesh(5,5)
>>
>> /home/cjc1/firedrake/firedrake/firedrake/mesh.pyc in __init__(self, nx,
>> ny)
>> 134 dmplex.setLabelValue("boundary_ids", face, 4)
>> 135
>> --> 136 super(UnitSquareMesh, self).__init__(self.name,
>> plex=dmplex)
>> 137
>> 138
>>
>> /home/cjc1/firedrake/firedrake/firedrake/core_types.so in
>> firedrake.core_types.Mesh.__init__ (firedrake/core_types.c:8571)()
>>
>> /home/cjc1/firedrake/firedrake/firedrake/core_types.so in
>> firedrake.core_types.Mesh._from_dmplex (firedrake/core_types.c:9978)()
>>
>> /usr/local/lib/python2.7/dist-packages/petsc4py/lib/PETSc.so in
>> petsc4py.PETSc.DMPlex.createSection (src/petsc4py.PETSc.c:196190)()
>>
>> TypeError: createSection() got an unexpected keyword argument 'perm'
>>
>> ------------------------------
>> *From:* firedrake-bounces(a)imperial.ac.uk [
>> firedrake-bounces(a)imperial.ac.uk] on behalf of Cotter, Colin J [
>> colin.cotter(a)imperial.ac.uk]
>> *Sent:* 11 April 2014 23:22
>> *To:* firedrake
>> *Subject:* Re: [firedrake] ObjectCached
>>
>> Oh, as usual, I had forgotten to also pull from pyOP2.
>>
>> --cjc
>> ------------------------------
>> *From:* firedrake-bounces(a)imperial.ac.uk [
>> firedrake-bounces(a)imperial.ac.uk] on behalf of Cotter, Colin J [
>> colin.cotter(a)imperial.ac.uk]
>> *Sent:* 11 April 2014 23:18
>> *To:* firedrake
>> *Subject:* [firedrake] ObjectCached
>>
>> Dear firedrakers,
>> I just pulled from master, and now get the following. What do I have to
>> do?
>>
>> --cjc
>>
>> File "/home/cjc1/firedrake/firedrake/firedrake/__init__.py", line 2, in
>> <module>
>> from core_types import *
>> File "core_types.pyx", line 17, in init firedrake.core_types
>> (firedrake/core_types.c:36280)
>> ImportError: cannot import name ObjectCached
>> cjc1@richardson:~/mercurial/vertical-tests$ firedrake
>> cjc1@richardson:~/mercurial/vertical-tests$ python hydrostatic_bendy.py
>> Traceback (most recent call last):
>> File "hydrostatic_bendy.py", line 1, in <module>
>> from firedrake import *
>> File "/home/cjc1/firedrake/firedrake/firedrake/__init__.py", line 2, in
>> <module>
>> from core_types import *
>> File "core_types.pyx", line 17, in init firedrake.core_types
>> (firedrake/core_types.c:36280)
>> ImportError: cannot import name ObjectCached
>>
>>
>