[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: building single-threaded ATLAS



Le jeudi 24 novembre 2011 à 10:27 +0100, Christoph Groth a écrit :
> Hello,
> 
> when rebuilding libatlas3gf-base (from testing) the debian way, how to
> specify the number of threads to be used?  How to disable threading
> altogether?
Did you try with -t 1 ?

> I found that on my machine (Sandy Bridge CPU) complex matrix-matrix
> product (zgemm) is actually slower for large matrices with a custom
> build ATLAS than with the default one.  I believe the culprit is
> hyperthreading: the default ATLAS uses two threads which corresponds to
> the physical number of cores of my machine, while the custom-build uses
> four threads, which seems not to be optimal in this case.
You should report a bug upstream about that.

Sylvestre



Reply to: