Hi,

We use easybuild with an hierarchical naming scheme.  I have build 
scipy-0.16.1-intel-2015b-Python-2.7.10.eb  (EB 2.6) and when doing a module 
spider I get

-bash-4.2$ module spider scipy/0.16.1-Python-2.7.10

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  scipy: scipy/0.16.1-Python-2.7.10
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    This module can only be loaded through the following modules:

      icc/2015.3.187-GNU-4.9.3-2.25  impi/5.0.3.048
      ifort/2015.3.187-GNU-4.9.3-2.25  impi/5.0.3.048



    Help:
       SciPy is a collection of mathematical algorithms and convenience
       functions built on the Numpy extension for Python. - Homepage: 
http://www.scipy.org

When doing

module load icc/2015.3.187-GNU-4.9.3-2.25  impi/5.0.3.048 
scipy/0.16.1-Python-2.7.10

it will not pull in the ifort.  A user reported that:

-bash-4.2$ python
Python 2.7.10 (default, Jan 25 2016, 13:14:08)
[GCC Intel(R) C++ gcc 4.9 mode] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from scipy.signal import argrelextrema
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File 
"/sw/easybuild/software/MPI/intel/2015.3.187-GNU-4.9.3-2.25/impi/5.0.3.048/scipy/0.16.1-Python-2.7.10/lib/python2.7/site-packages/scipy/signal/__init__.py",
 line 280, in <module>
    from .bsplines import *
  File 
"/sw/easybuild/software/MPI/intel/2015.3.187-GNU-4.9.3-2.25/impi/5.0.3.048/scipy/0.16.1-Python-2.7.10/lib/python2.7/site-packages/scipy/signal/bsplines.py",
 line 12, in <module>
    from scipy.special import comb, gamma
  File 
"/sw/easybuild/software/MPI/intel/2015.3.187-GNU-4.9.3-2.25/impi/5.0.3.048/scipy/0.16.1-Python-2.7.10/lib/python2.7/site-packages/scipy/special/__init__.py",
 line 601, in <module>
    from ._ufuncs import *
ImportError: libifport.so.5: cannot open shared object file: No such file or 
directory



The problem goes away if I load the matching intel toolchain.  I assume some of 
the modules involved should load the relevant iccifort to make sure whether 
loaded via the icc or the ifort route, both modules are present once the scipy 
is loaded.

I am not sure at which level (Python, numpy or scipy) Fortran and C report is 
required and which module should be modified.  I leave that to the experts to 
decide.

Best wishes
  Joachim

Reply via email to