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 / [email protected] --------------------------
ldoodkc    [email protected]%intel
igylo3k        ^[email protected]%intel
zgjk6yk        ^[email protected]%intel
qwym4uc            ^[email protected]%intel
akk4pld                ^[email protected]%intel
4krmbbu                ^[email protected]%intel
c7bu4ts                    ^[email protected]%intel
rpcqo55                        ^[email protected]%intel
frn5dwp                ^[email protected]%intel
vonxam4                    ^[email protected]%intel
uhrj5qt                ^[email protected]%intel

[sajid@xrmlite ~]$ spack load [email protected]
[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 [email protected] 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