This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

source package for atlas 3.9.16 on cygwin 1-7


Hi All,
I prepared a (very preliminary) source package for 
Automatically Tuned Linear Algebra Software (ATLAS).
It is a fast alternative to the reference BLAS/LAPACK build.
 
ATLAS 3.9.16 packages, source and Core232SSE3 lib, 
for cygwin-1.7 are at  
http://matzeri.altervista.org/cygwin-1.7/atlas/index.html

The source package should allow to build any other 
specific core version, if not please let me know.

Of course you need cygport ;-) and gcc-4 + gfortran

The SciViews  bechmark 
http://www.sciviews.org/benchmark/index.html
was used to compare the blas/lapack reference with Atlas 
one, and the outcome is:

================================================================
Lapack 3.2.1 vs Atlas-3.9.16 with  Core232SSE3 on Cygwin-1.7

   I. Matrix calculation
   ---------------------
700x700 cross-product matrix (b = a' * a)___________ (sec):      0.3564  0.0653

Linear regression over a 600x600 matrix (c = a \\ b')(sec):      0.1269  0.0554

   II. Matrix functions
   --------------------
Determinant of a 650x650 random matrix______________ (sec):      0.1586  0.0643

Cholesky decomposition of a 900x900 matrix__________ (sec):      0.2319  0.0686

Inverse of a 400x400 random matrix__________________ (sec):      0.1030  0.0455

=================================================================
So at least a factor 2 up to a factor 6 improvement.


I am very interested to receive feedback on the source package
and the performance comparison for the various core.

At the end of the build the lib package is called 
libatlas0_RenameWithCore-3.9.16-1.tar.bz2 

and it contains the dll's

$ tar -tjf libatlas0_RenameWithCore-3.9.16-1.tar.bz2 
usr/bin/
usr/bin/cygatlas-0.dll
usr/bin/cygblas-0.dll
usr/bin/cygclapack-0.dll
usr/bin/cyglapack-0.dll

that you can copy on /usr/bin or on usr/local/bin as you prefer

The lapack dll are behind in the path 

$ cygcheck -l liblapack0 
/etc/profile.d/lapack0.csh
/etc/profile.d/lapack0.sh
/usr/lib/lapack/cygblas-0.dll
/usr/lib/lapack/cyglapack-0.dll

so they will be overcome, without being removed.
  
Regards
Marco Atzeri

cygwin package mantainer for lapack




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]