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
Oh, as usual, I had forgotten to also pull from pyOP2. --cjc ________________________________ From: firedrake-bounces@imperial.ac.uk [firedrake-bounces@imperial.ac.uk] on behalf of Cotter, Colin J [colin.cotter@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
...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@imperial.ac.uk [firedrake-bounces@imperial.ac.uk] on behalf of Cotter, Colin J [colin.cotter@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@imperial.ac.uk [firedrake-bounces@imperial.ac.uk] on behalf of Cotter, Colin J [colin.cotter@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
participants (1)
- 
                
                Cotter, Colin J