Hi, Google has been bountiful in providing pieces of this puzzle (or
God has been stingy in giving me the brains to put them together), but
I write asking if there exists a coherent and unified document telling
me what to do to get multicore Numpy support in Sage.

On 8-core Xeon, Matlab (which apparently uses Intel MKL-compiled
LAPACK/ATLAS libraries?) can max out "top" at 800% when doing large
eigendecompositions and matrix products. I would very much like this
functionality in the Sage-supplied Numpy.

I have read this discussion (http://www.mail-archive.com/numpy-
[email protected]/msg18267.html) that suggests recompiling LAPACK,
ATLAS, and Numpy to get multithreaded and SSE-enabled Numpy. On sage-
devel I see various errors stemming from ATLAS builds but not much
about enabling multithreading support. I have some experience in
installing Sage spkgs to add support (e.g., just yesterday I
recompiled Python and Matplotlib to gain access to the TkAgg
backend :), so maybe all I have to do is reinstall the ATLAS & Numpy
spkgs?

I've attached my numpy.__config__ output in Listing 1, though I'm not
sure what exactly to make of it, or which bits relate to my lack of
multicore support. Any assistance to this mid-level user would be much
appreciated, thanks! I offer to write up the results on the Sage wiki.

Listing 1: Numpy configuration
--------------------------------------------------------
In [19]: numpy.__config__.show()
atlas_threads_info:
  NOT AVAILABLE

blas_opt_info:
    libraries = ['f77blas', 'cblas', 'atlas']
    library_dirs = ['/space/wstein/farm/sage-4.0.2/local/lib']
    define_macros = [('ATLAS_INFO', '"\\"3.8.3\\""')]
    language = c
    include_dirs = ['/space/wstein/farm/sage-4.0.2/local/include']

atlas_blas_threads_info:
  NOT AVAILABLE

lapack_opt_info:
    libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
    library_dirs = ['/space/wstein/farm/sage-4.0.2/local/lib']
    define_macros = [('ATLAS_INFO', '"\\"3.8.3\\""')]
    language = f77
    include_dirs = ['/space/wstein/farm/sage-4.0.2/local/include']

atlas_info:
    libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
    library_dirs = ['/space/wstein/farm/sage-4.0.2/local/lib']
    language = f77
    include_dirs = ['/space/wstein/farm/sage-4.0.2/local/include']

lapack_mkl_info:
  NOT AVAILABLE

blas_mkl_info:
  NOT AVAILABLE

atlas_blas_info:
    libraries = ['f77blas', 'cblas', 'atlas']
    library_dirs = ['/space/wstein/farm/sage-4.0.2/local/lib']
    language = c
    include_dirs = ['/space/wstein/farm/sage-4.0.2/local/include']

mkl_info:
  NOT AVAILABLE
--------------------------------------------------------
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to