[SciPy-user] Building Python, Numpy and Scipy with Intel compilers and MKL
Wed Apr 22 21:08:39 CDT 2009
Craig Finch wrote:
> I'm trying to build Python, Numpy, and SciPy on a Red Hat system using the Intel Fortran, C, and C++ compilers, along with the Intel Math Kernel Library. This is proving to be difficult--I've tried everything I could find on the web, and it's still not working (everything works fine if I use GCC). I would really appreciate any suggestions.
> I can get Python and Numpy working correctly after compiling with Intel compilers, but I can't import anything from SciPy without getting an "undefined symbol" error. According to what I've read, this can happen when gfortran is used to compile some library (such as BLAS) while Intel fortran is used to compile SciPy. I don't think this is my problem, because I'm only using the Intel Math Kernel Libraries. Is this correct?
You need to be much more precise than that. You need to give us the
exact missing symbols, and ideally the build log of both numpy and scipy.
> Here's something that bothers me: when I start my Python interpreter which was compiled with icc, this is what I see:
> Python 2.5.4 (r254:67916, Apr 22 2009, 15:52:10)
> [GCC 4.1.1 20070105 (Red Hat 4.1.1-52)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> does the interpreter think it's built with GCC?
Because it almost certainly is. You are not running the python you think
you are running for some reason. You don't need to build python with
intel compiler, BTW.
More information about the SciPy-user