-
Notifications
You must be signed in to change notification settings - Fork 60
Description
Hello,
I'm trying to install fenics on a cluster with intel compilers and host-python 2.7.10. Apparently, h5py can't find the hashstack Cython 0.23.3 installed as its dependency. With the $PYTHONPATH set automatically to
'PYTHONPATH': u'/home/dnolte/.hashdist/bld/cython/zb55xazf5kjr/lib/python2.7/site-packages',
The installation fails immediately with
Traceback (most recent call last):
File "setup.py", line 125, in <module>
raise ValueError("Cython is required to compile h5py in MPI mode")
ValueError: Cython is required to compile h5py in MPI mode
because HAVE_CYTHON == False.
With the same PYTHONPATH set, python -> import Cython fails.
Cython build log: https://gist.github.com/dajuno/103b1fe1068296cee092
I noticed that the cython site-packages folder is different from that on my laptop (almost standard fenics.yaml-installation on Arch w/o host packages). On the cluster I got:
site-packages/
Cython-0.23.3-py2.7-linux-x86_64.egg/
Cython/
cython.py
cython.pyc
EGG-INFO/
pyximport/
while on the full hashstack installation on the laptop I have the structure
site-packages/
Cython/
Cython-0.23.3-py2.7.egg-info
cython.py
cython.pyc
pyximport/
In the first case, when $PYTHONPATH is set on the correct cython site-packages directory, the Cython module can't be found within the egg folder.
Any thoughts?
Cheers, David