Hi Lawrence, ok, adding import sys sys.path.remove('/work/y07/y07/fdrake/ffc/lib/python2.7/site-packages/FFC-1.4.0_-py2.7-linux-x86_64.egg') at the top of firedrake/__init__.py seems to fix it for me. Thanks, Eike On 29/01/15 10:37, Lawrence Mitchell wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 29/01/15 10:23, Eike Mueller wrote:
Dear firedrakers,
I need to install my own version of FFC, since the one already installed in /work/y07/y07/fdrake appears not to be compatible with the firedrake version I use:
RuntimeError: Incompatible Firedrake version 0.12.0 and FFC version unknown.
So I installed FFC locally and added it to PYTHONPATH:
/work/n02/n02/eike//git_workspace//firedrake-helmholtzsolver/source:/work/n02/n02/eike//git_workspace//firedrake-bench:/work/n02/n02/eike//git_workspace//pybench:/work/n02/n02/eike//git_workspace//firedrake:/work/n02/n02/eike//git_workspace//PyOP2:/work/n02/n02/eike//git_workspace//petsc4py/cray-gnu-shared/lib/python2.7/site-packages/:/work/n02/n02/eike//git_workspace//COFFEE/build/lib:/work/n02/n02/eike//git_workspace//ffc/build/lib.linux-x86_64-2.7/:/work/n02/n02/eike//Library:/work/y07/y07/fdrake/ufl/lib/python2.7/site-packages:/work/y07/y07/fdrake/scientificpython/lib/python2.7/site-packages:/work/y07/y07/fdrake/psutil/lib/python2.7/site-packages:/work/y07/y07/fdrake/mpi4py/lib/python2.7/site-packages:/work/y07/y07/fdrake/instant/lib/python2.7/site-packages:/work/y07/y07/fdrake/fiat/lib/python2.7/site-packages:/work/y07/y07/fdrake/ffc/lib/python2.7/site-packages:/work/y07/y07/fdrake/decorator-3.4.0/lib/python2.7/site-packages:/work/y07/y07/fdrake/petsc/arch-linux2-cxx-opt/lib/p y th
on2.7/site-packages:/work/y07/y07/cse/anaconda/1.9.2/lib/python2.7/site-packages:/work/y07/y07/cse/anaconda/1.9.2/lib/python2.7:/usr/local/packages/cse/bolt/0.6/modules
However, in python, the /work/y07/y07/fdrake version comes *first*, so it always picked up when I import ffc and I keep getting the error message above:
This looks like the standard easy_install disaster. I never know how to fix this unfortunately.
Lawrence -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEcBAEBAgAGBQJUyg1oAAoJECOc1kQ8PEYvb9AIAM+5I1kkqWoEqyToKc/hv5tc pxTZ76N+0/oIAy+L0c7BDefn10ws8X/zC3dH6fuAaNeT+YPSXwGrapAp/atG0+I/ tbxULZnJgxaPRiwWz58Lz7j0nv9mvIatcQSSWaW4SjWU3uH2lsRegPiJHyy3wkZL 3jcCICx8Wj/0jyKGDkdkk8QXlYMJLp2m848oUDdZUy55tsmU7tWc6chsS5NdBVHw /Z6cY0RuG1fzL67RWU7O3pxuj8bmqyWBjc1NmWLikDR7eslykx2wjmHFRO+uHMtE E68Kfs5tw3nEdQbAO6hXNPs9HEzjbjKkoVLu855QPNg5JmIGiRFnFfNRA4ZMrVg= =+7qF -----END PGP SIGNATURE-----
_______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake