Linking to ATLAS/BLAS in Cython
I've been using GSL's CBLAS for performing "fast" matrix-vector arithmetic in a Cython script but I've been told that ATLAS' CBLAS is faster by a couple of factors. However, I'm having trouble locating the ATLAS libraries and headers in $SAGE_ROOT/local
. Could someone provide tips on how to link to CBLAS in my Cython code? Thanks.
Edit: I found in module_list.py
how different implementations of BLAS are detected. However, I haven't found any example codes that cdef extern
that functionality directly! Anyone have any examples of using Sage's detected version of ATLAS?