From: morovia m. <jal...@go...> - 2009-11-27 05:11:03
|
Dear Dominique, > Could you show us the variables you changed in setup.py? Basically for > ATLAS support you need to link with libatlas, libf77blas and libcblas. > Those libraries must also be in your LD_LIBRARY_PATH. > > We really need to be using the Numpy Distutils in Pysparse ! > > Thanks for your reply. I have my atlas libraries installed in $HOME/bin/lib where the libraries, libf77blas.a, libcblas.a, libatlas.a are present. My .bashrc contains : export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/bin/lib:$HOME/bin/lib/ATLAS/ I have modified the following lines in the setup.py of pysparse, library_dirs_list= ['','/home/viswanath/bin/lib/ATLAS','/usr/lib'] libraries_list = ['atlas','lapack', 'blas'] superlu_defs = [('USE_VENDOR_BLAS',1)],('USE_VENDOR_ATLAS',1)] umfpack_defs = [('DINT', 1), ('CBLAS', 1), ('ATLAS',1)] # with atlas c-blas (http://math-atlas.sf.net) else: umfpack_include_dirs = ['/home/viswanath/bin/lib/ATLAS','amd', 'umfpack'] umfpack_library_dirs = ['','/home/viswanath/bin/lib/ATLAS'] umfpack_libraries = ['atlas', 'cblas', 'm'] Thanks Best regards Viswanath. |