[Numpy-tickets] [NumPy] #740: numpy setup.py too restrictive, prevents use of fblas with cblas

NumPy numpy-tickets@scipy....
Thu Apr 17 05:03:51 CDT 2008


#740: numpy setup.py too restrictive, prevents use of fblas with cblas
---------------------+------------------------------------------------------
 Reporter:  gnurser  |       Owner:  somebody
     Type:  defect   |      Status:  new     
 Priority:  normal   |   Milestone:  1.0.5   
Component:  Other    |     Version:  none    
 Severity:  normal   |    Keywords:          
---------------------+------------------------------------------------------
 For blas/atlas etc in numpy & scipy on an opteron I use the AMD libraries
 (which only have fblas) from http://developer.amd.com together with cblas
 from  http://www.netlib.org/blas/blast-forum/cblas.tgz. This works very
 well, since the AMD libraries are well optimized.

 Details of how I did it are in the attached file acml2.log

 However numpy from current SVN will not build linked to these libraries.
 The problem is that SVN (v4779) in line 295-296 of numpy/core/setup.py
 has:

            if ('NO_ATLAS_INFO',1) in blas_info.get('define_macros',[]):
                return None # dotblas needs ATLAS, Fortran compiled
 blas will not be sufficient

 'NO_ATLAS_INFO' is set, and so dotblas is not created.

 To get my AMD fblas/cblas approach to work, I have to comment out
 these two lines.

-- 
Ticket URL: <http://www.scipy.org/scipy/numpy/ticket/740>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list