[Numpy-discussion] building NumPy with Intel CC & MKL (solved!)

Robert Kern robert.kern at gmail.com
Wed Jan 24 19:40:34 EST 2007

rex wrote:

> I've added these lines to .bashrc:
> source /opt/intel/cc/9.1.042/bin/iccvars.sh
> export PYTHONPATH=/usr/local/lib/python2.5/site-packages:/usr/lib/python2.5
> export INCLUDE=/opt/intel/mkl/8.1/include:$INCLUDE
> export LD_LIBRARY_PATH=/usr/local/lib:/opt/intel/mkl/8.1/lib/32:$LD_LIBRARY_PATH
> I don't understand why the 'site-packages' must be included, but without
> it, numpy is loaded from /usr/lib/python/site-packages. Why does in look
> in the subdirectories in one case, but not in the other? Oh, well it works.

Because SuSE did not configure their Python installation to look in

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco

More information about the NumPy-Discussion mailing list