On 10/20/2014 6:16 PM, Tony Kelman wrote:
look in the source package
http://matzeri.altervista.org/x86_64/openblas/
Thanks. I'm a little surprised the cygblas-0.dll (x86_64, 0.2.12-1) does
not appear to be linked to libgfortran. Were you seeing your test
executables using multiple cores? I think you may have to build with
USE_THREAD=1 to enable threading (or USE_OPENMP=1 for openmp)?
openblas is written in C
USE_THREAD=1 and USE_OPENMP=1, can be used dynamically ;
if I am not wrong.
I may be doing this wrong, but I'm getting errors from your openblas
build, but not the reference blas package, when I run the following:
$ curl -O
https://raw.githubusercontent.com/xianyi/OpenBLAS/develop/test/sblat2.f
$ gfortran -o sblat2 sblat2.f -lblas
$ rm -f SBLAT2.SUMM
$ curl
https://raw.githubusercontent.com/xianyi/OpenBLAS/develop/test/sblat2.dat |
./sblat2
This outputs messages like:
** On entry to SGEMV parameter number 1 had an illegal value
and so on for the other single-precision level 2 functions in that test.
This does seem to work okay on Linux or an existing i686-w64-mingw32 build.
It fails also on the netlib blas reference so it is not a specific
openblas issue.
It must be something more general like
http://icl.cs.utk.edu/lapack-forum/archives/lapack/msg01441.html
During the OpenBlas build the test is passed
$ cat SBLAT2.SUMM
------------------------------------------
TESTS OF THE REAL LEVEL 2 BLAS
THE FOLLOWING PARAMETER VALUES WILL BE USED:
FOR N 0 1 2 3 7 31 63
FOR K 0 1 2 4
FOR INCX AND INCY 1 2 -1 -2
FOR ALPHA 0.0 1.0 0.7
FOR BETA 0.0 1.0 0.9
ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 16.00
RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07
SGEMV PASSED THE TESTS OF ERROR-EXITS
SGEMV PASSED THE COMPUTATIONAL TESTS ( 4324 CALLS)
[cut]
SSYR2 PASSED THE TESTS OF ERROR-EXITS
SSYR2 PASSED THE COMPUTATIONAL TESTS ( 577 CALLS)
SSPR2 PASSED THE TESTS OF ERROR-EXITS
SSPR2 PASSED THE COMPUTATIONAL TESTS ( 577 CALLS)
END OF TESTS
-----------------------------------------------------
but the test program is built static, not linked to the dll.
-Tony
--
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