Skip to content

scipy build fails for python 3.5 and 3.6 #8616

@s-sajid-ali

Description

@s-sajid-ali

Expected Result

py-scipy is installed correctly

Actual Result

[sajid@xrmlite ~]$ spack find -ldf /ldoodkc
==> 1 installed packages.
-- linux-centos7-x86_64 / intel@18.0.3 --------------------------
ldoodkc    py-scipy@1.1.0%intel
igylo3k        ^intel-mkl@2018.2.199%intel
zgjk6yk        ^py-numpy@1.14.5%intel
qwym4uc            ^python@3.5.5%intel
akk4pld                ^bzip2@1.0.6%intel
4krmbbu                ^gdbm@1.14.1%intel
c7bu4ts                    ^readline@7.0%intel
rpcqo55                        ^ncurses@6.1%intel
frn5dwp                ^openssl@1.0.2o%intel
vonxam4                    ^zlib@1.2.11%intel
uhrj5qt                ^sqlite@3.23.1%intel

[sajid@xrmlite ~]$ spack load python@3.5.5
[sajid@xrmlite ~]$ python
Python 3.5.5 (default, Jun 29 2018, 11:28:26)
[GCC Intel(R) C++ gcc 7.3 mode] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy.integrate
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/sajid/packages/spack/opt/spack/linux-centos7-x86_64/intel-18.0.3/python-3.5.5-qwym4ucsaweonootprbowof6e54s3a76/lib/python3.5/site-packages/scipy/integrate/__init__.py", line 89, in <module>
    from .quadrature import *
  File "/home/sajid/packages/spack/opt/spack/linux-centos7-x86_64/intel-18.0.3/python-3.5.5-qwym4ucsaweonootprbowof6e54s3a76/lib/python3.5/site-packages/scipy/integrate/quadrature.py", line 10, in <module>
    from scipy.special import roots_legendre
  File "/home/sajid/packages/spack/opt/spack/linux-centos7-x86_64/intel-18.0.3/python-3.5.5-qwym4ucsaweonootprbowof6e54s3a76/lib/python3.5/site-packages/scipy/special/__init__.py", line 640, in <module>
    from ._ufuncs import *
ImportError: /home/sajid/packages/spack/opt/spack/linux-centos7-x86_64/intel-18.0.3/python-3.5.5-qwym4ucsaweonootprbowof6e54s3a76/lib/python3.5/site-packages/scipy/special/_ufuncs.cpython-35m-x86_64-linux-gnu.so: undefined symbol: d_int_val
>>>

This includes:

  1. CentOS7, linux-x86_64
  2. fails for both python 3.5 and 3.6
  3. I have ulimit -s unlimited in my .bashrc
  4. This works find with gcc@7.3.0 so it's an issue with the intel compilers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions