[firedrake] problem with scripts/firedrake-clean
Florian Rathgeber
florian.rathgeber at imperial.ac.uk
Fri Nov 14 08:46:12 GMT 2014
On 14/11/14 08:40, Eike Mueller wrote:
> Hi Florian,
>
>> This means that at some point you have built NumPy 1.9 as a dependency
>> for either PyOP2, Firedrake or petsc4py and the built petsc4py against
>> NumPy 1.9. However now you seem to be using the system NumPy 1.7.
>>
>> Remove NumPy 1.9 and rebuild petsc4py.
>
> how can I delete numpy 1.9, or even find out where it is installed?
It'll be installed in the same prefix location as whatever package it
was installed as a dependency for. I usually type `pydoc numpy` to find
out which NumPy is picked up and from where.
> Strangely, I seem to have 1.8.0 installed:
>
> eikemueller at 138-38-188-207 $ python
> 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 numpy
>>>> print numpy.__version__
> 1.8.0
Hmm, that's odd. Where is this coming from? Is this the system installed
one? It *might* also be your version of Cython that plays a role because
I *think* numpy.pxd comes with Cython.
> Also, why does it only crash in the firedrake-clean script, but works
> without any problems when I load firedrake or petsc4py?
I suspect there must be a difference in PYTHONPATH for the environment
you run firedrake in and execute the firedrake-clean script?
Florian
> Thanks,
>
> Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2980 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mailman.ic.ac.uk/pipermail/firedrake/attachments/20141114/1a395201/attachment.p7s>
More information about the firedrake
mailing list