Hi Florian, arrgh! It was the caches again... After running scripts/firedrake-clean it did work. Thanks, Eike -- Dr Eike Hermann Mueller Research Associate (PostDoc) Department of Mathematical Sciences University of Bath Bath BA2 7AY, United Kingdom +44 1225 38 5803 e.mueller@bath.ac.uk http://people.bath.ac.uk/em459/
On 16 Dec 2014, at 10:58, Florian Rathgeber <florian.rathgeber@imperial.ac.uk> wrote:
On 16/12/14 10:52, Eike Mueller wrote:
Hi Florian and Lawrence,
thanks for adding me! I now pushed my changes directly to the columnwise_kernel branch, hope that was ok. But the changes I made still do not work, in particular I can’t access the variable
self._kernel._libs
in host.py (line 714), even though I added it in the same way as _cpp in base.by (line 3630). I have to put in the hack just following line 715 if I want it to work in my case. This is very odd, since I checked that self._kernel is of type pyop2.host.Kernel
(Pdb) print type(self._kernel) <class 'pyop2.host.Kernel’>
which is derived from pyop2.base.Kernel
By "cannot access", do you mean you get an AttributeError? Or not the value you expect? Have you cleared relevant caches?
Florian
Thanks,
Eike
--
Dr Eike Hermann Mueller Research Associate (PostDoc)
Department of Mathematical Sciences University of Bath Bath BA2 7AY, United Kingdom
+44 1225 38 5803 e.mueller@bath.ac.uk <mailto:e.mueller@bath.ac.uk> http://people.bath.ac.uk/em459/
On 16 Dec 2014, at 10:33, Florian Rathgeber <florian.rathgeber@imperial.ac.uk <mailto:florian.rathgeber@imperial.ac.uk>> wrote:
On 16/12/14 10:23, Eike Mueller wrote:
Hi Lawrence,
Please base your changes on the columnwise_kernels branch (which adds support for iterating over the base set of an extruded set: you need this for your columnwise inverses, I think), and then propose it as a pull request.
I created a new branch with the fix, but don’t have permissions to push it:
eikemueller@138-38-166-201 $ git push -u origin link_libraries_in_kernels remote: Permission to OP2/PyOP2.git denied to eikehmueller. fatal: unable to access 'https://github.com/OP2/PyOP2.git/': The requested URL returned error: 403
I've given you access, accept the invite and you should be able to push.
Florian
Please remove the directory
/Users/eikemueller/PostDocBath/EllipticSolvers/PyOP2/pyop2/coffee
and things should work again, I hope.
yes, that fixes it.
Many thanks,
Eike
_______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake