Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Linking against MKL but still slow?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Christoph Dann  
View profile  
 More options Mar 26 2012, 7:37 am
From: Christoph Dann <ch.ro.d...@googlemail.com>
Date: Mon, 26 Mar 2012 13:37:04 +0200
Local: Mon, Mar 26 2012 7:37 am
Subject: [Numpy-discussion] Linking against MKL but still slow?
Dear list,

so far I used Enthoughts Python Distribution which contains a compiled
version of numpy linked against MKL. Now, I want to implement my own
extensions to numpy, so I need my build numpy on my own. So, I
installed Intel Parallel studio including MKL and the C / Fortran
compilers.

I linked against the same libraries as Enthought:

In [2]: np.show_config()
lapack_opt_info:
    libraries = ['mkl_lapack95_lp64', 'iomp5', 'mkl_def',
'mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'pthread']
    library_dirs = ['/opt/intel/lib/intel64', '/opt/intel/mkl/lib/intel64']
    define_macros = [('SCIPY_MKL_H', None)]
    include_dirs = ['/opt/intel/include/']
blas_opt_info:
    libraries = ['iomp5', 'mkl_def', 'mkl_intel_lp64',
'mkl_intel_thread', 'mkl_core', 'pthread']
    library_dirs = ['/opt/intel/lib/intel64', '/opt/intel/mkl/lib/intel64']
    define_macros = [('SCIPY_MKL_H', None)]
    include_dirs = ['/opt/intel/include/']
lapack_mkl_info:
    libraries = ['mkl_lapack95_lp64', 'iomp5', 'mkl_def',
'mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'pthread']
    library_dirs = ['/opt/intel/lib/intel64', '/opt/intel/mkl/lib/intel64']
    define_macros = [('SCIPY_MKL_H', None)]
    include_dirs = ['/opt/intel/include/']
blas_mkl_info:
    libraries = ['iomp5', 'mkl_def', 'mkl_intel_lp64',
'mkl_intel_thread', 'mkl_core', 'pthread']
    library_dirs = ['/opt/intel/lib/intel64', '/opt/intel/mkl/lib/intel64']
    define_macros = [('SCIPY_MKL_H', None)]
    include_dirs = ['/opt/intel/include/']
mkl_info:
    libraries = ['iomp5', 'mkl_def', 'mkl_intel_lp64',
'mkl_intel_thread', 'mkl_core', 'pthread']
    library_dirs = ['/opt/intel/lib/intel64', '/opt/intel/mkl/lib/intel64']
    define_macros = [('SCIPY_MKL_H', None)]
    include_dirs = ['/opt/intel/include/']

and used the intel compilers to build numpy. I have an Intel i7
processor and compile including AVX instructions. Yet, EPD is double
as fast as my own build executing the simple benchmark from:
http://dpinte.wordpress.com/2010/01/15/numpy-performance-improvement-...
I expected at least comparable performance. How is such a decrease
possible? Did I miss a significant part to make numpy really fast?

Thanks
Christoph
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discuss...@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic