Hi,

I just tried it again, when I attempt to pull the local-par_loop branch I get:

eikemueller@138-38-166-201 $ git pull
Your configuration specifies to merge with the ref 'local-par_loop'
from the remote, but no such ref was fetched.

so maybe the remote branch has been deleted?

I would also like to add the changes re. linking to additional libraries (LAPACK, BLAS) during the JIT compilation to PyOP2 (so far only a local patch). Can I go ahead and create a branch based on master and then put in a pull request?

I now use the PyOP2 master. However, I get the following error when loading firedrake:

Python 2.7.8 (default, Jul 13 2014, 17:11:32) 
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import firedrake
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/eikemueller/PostDocBath/EllipticSolvers/firedrake/firedrake/__init__.py", line 25, in <module>
    from pyop2.logger import set_log_level, info_red, info_green, info_blue, log  # noqa
  File "/Users/eikemueller/PostDocBath/EllipticSolvers/PyOP2/pyop2/__init__.py", line 9, in <module>
    from op2 import *
  File "/Users/eikemueller/PostDocBath/EllipticSolvers/PyOP2/pyop2/op2.py", line 39, in <module>
    import base
  File "/Users/eikemueller/PostDocBath/EllipticSolvers/PyOP2/pyop2/base.py", line 57, in <module>
    from coffee.base import Node
ImportError: No module named base

If I try to import the problematic module, I get:

>>> import base
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/eikemueller/PostDocBath/EllipticSolvers/PyOP2/pyop2/base.py", line 45, in <module>
    from configuration import configuration
  File "/Users/eikemueller/PostDocBath/EllipticSolvers/PyOP2/pyop2/configuration.py", line 40, in <module>
    from exceptions import ConfigurationError
ImportError: cannot import name ConfigurationError

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 15 Dec 2014, at 23:03, Andrew McRae <a.mcrae12@imperial.ac.uk> wrote:

On 15 December 2014 at 23:00, Eike Mueller <e.mueller@bath.ac.uk> wrote:
Hi Lawrence,

actually, it looks like that patch has already been integrated into the petsc branch you recommend below. Building petsc and petsc4py works fine with that branch.
Which pyop2 branch do I want to use? Still local-par_loop? I guess I have to update ffc, ufl etc. at the moment I haven't got firedrake to work yet, it says the pyop2 and firedrake versions are not compatible.

Thanks,

Eike

PS: Are there actually any instructions on the web on obtaining and building coffee? I lost Fabio's email, I googled and figured it out myself now, but the repository is a bit hidden...

It's buried in the PyOP2 installation page, on the Firedrake website.  Quite obvious from the table of contents, somewhat less obvious once you scroll further down.
 

--

Dr Eike Hermann Mueller
Research Associate (PostDoc)

Department of Mathematical Sciences
University of Bath
Bath BA2 7AY, United Kingdom


On 9 Dec 2014, at 09:31, Lawrence Mitchell <lawrence.mitchell@imperial.ac.uk> wrote:



On 9 Dec 2014, at 09:13, Eike Mueller <e.mueller@bath.ac.uk> wrote:

hanks, I will give it a go. Just looking at my petsc, I'm currently using the master and have the applied the patch below (which you sent me on 11 Oct). Do I still need this, or has this been integrated into the petsc branch you mention?

Yes, I think so.

Lawrence
_______________________________________________
firedrake mailing list
firedrake@imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/firedrake
_______________________________________________
firedrake mailing list
firedrake@imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/firedrake