nipy/nipy — pull request #293 by satra (2013-09-16 02:29:02+00:00)
Title: WIP: hack to make nipy compile on linux with mkl

This is a WIP to allow nipy to be compiled under anaconda on linux with mkl support. unfortunately `numpy.get_info()` returns libraries that are not allowed to be distributed with mkl (mkl_lapack95_lp64).

This ideally should be fixed in numpy, but this hack allows nipy to compile.

```
In [3]: np.show_config()
lapack_opt_info:
libraries = ['mkl_lapack95_lp64', 'mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']
library_dirs = ['/software/python/anaconda/envs/resting/lib']
define_macros = [('SCIPY_MKL_H', None)]
include_dirs = ['/software/python/anaconda/envs/resting/include']
blas_opt_info:
libraries = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']
library_dirs = ['/software/python/anaconda/envs/resting/lib']
define_macros = [('SCIPY_MKL_H', None)]
include_dirs = ['/software/python/anaconda/envs/resting/include']
lapack_mkl_info:
libraries = ['mkl_lapack95_lp64', 'mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']
library_dirs = ['/software/python/anaconda/envs/resting/lib']
define_macros = [('SCIPY_MKL_H', None)]
include_dirs = ['/software/python/anaconda/envs/resting/include']
blas_mkl_info:
libraries = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']
library_dirs = ['/software/python/anaconda/envs/resting/lib']
define_macros = [('SCIPY_MKL_H', None)]
include_dirs = ['/software/python/anaconda/envs/resting/include']
mkl_info:
libraries = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']
library_dirs = ['/software/python/anaconda/envs/resting/lib']
define_macros = [('SCIPY_MKL_H', None)]
include_dirs = ['/software/python/anaconda/envs/resting/include']
```