You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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:
I think this has something to do with setuptools and distutils. In hashstack we use distutils to install Cython, but setup.py in Cython will prefer setuptools if it is available. Since you are using host-python on the cluster, setuptools will likely be available and will be used to install Cython.
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
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:
while on the full hashstack installation on the laptop I have the structure
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
The text was updated successfully, but these errors were encountered: