Dear all,
actually, on my mac, I need to add the flag ‘-Wa,-q’ to get the code to compile, otherwise I get errors of this type:
[…]
/var/folders/yy/9wfgymp14_1b9zt2x0ycs64m0000gn/T//ccIqsgIb.s:9:no such instruction: `vxorpd %xmm5, %xmm5,%xmm5'
/var/folders/yy/9wfgymp14_1b9zt2x0ycs64m0000gn/T//ccIqsgIb.s:12:no such instruction: `vmovsd LC1(%rip), %xmm2’
[…]
Also, I need to be able to specify additional libraries and their paths (I need LAPACK and BLAS). What I did in the past is this:
(that’s in the columnwise kernel branch, and I think those changes never made it into master).
Looking at the kernel constructor in base.py, I think at the moment I can only pass include directories and headers, but I can’t see how I can pass linker options.
def __init__(self, code, name, opts={}, include_dirs=[], headers=[],
user_code="", cpp=False):
I can go ahead and add functionality for specifying library paths in a branch and create a pull request, but maybe you already solved this differently and I just can’t figure out how to pass in the library paths correctly?
Thanks,
Eike
Ok, that's great, thanks a lot! I will give it a go.
Eike
PS: I will be in London next week, so I arranged with Lawrence to meet on Wednesday (21 Oct). I'll probably come down the day before but will also try arrange some placement visits for the Tuesday afternoon.
Hi Eike,
Lawrence is on holiday so I'm taking a rash executive decision to merge that pull request. If it breaks Firedrake (unlikely) I'll have to pull it again.
Regards,
David
Dear firedrake,
I've got some changes in my code that depend on it (both in the geometric multigrid code and the performance logging branch), so would be great to have support for C++ kernels in the master.
Thanks,
Eike
_______________________________________________
firedrake
mailing list
firedrake@imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/firedrake