delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/10/20/17:57:28

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=rZxE5NeCO7smssuBcE+xzUlAz88hH/h5J7/ggv+w7zy
lUra8+E+R1jPTCRH4dTv7ehZJkWJR9C59s8b/6wL7O1s4TWg4Vfd92Jqc2KpmAKh
hE0iHsBwC+tkL4KlN4AVVZbENIvpp0Jhqabd5h1W64eDdF7euU9HwB7YQ71qaPlA
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=M1Nk9dkvbcJaGN1hofQJSfi9IGE=; b=NGoLcaAEWweU/DTyg
g15PIIJ3g0PQKCNhlqO7yw+tlEYD2//jK3r0qhZHsL+EnTKmvalKn36zFpibgRai
7blY1n0qHQ/Bhk6p/c6BxsbhithQu1b7AiSyJ+9KmGTw5LFQSaKXznSc32J8ZiBM
zujqTnTPgn/H3tmIU4Yu46eoOA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-la0-f42.google.com
X-Received: by 10.112.156.138 with SMTP id we10mr6283183lbb.88.1413842223854; Mon, 20 Oct 2014 14:57:03 -0700 (PDT)
Message-ID: <54458524.8010603@gmail.com>
Date: Mon, 20 Oct 2014 23:56:52 +0200
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Tester for openblas needed
References: <54450C0A DOT 6050705 AT gmail DOT com> <BAY169-DS3454FE83B442F8A23182EBA7970 AT phx DOT gbl> <54451D4C DOT 5080604 AT gmail DOT com> <BAY169-DS41999173A807A98C0210C7A7970 AT phx DOT gbl>
In-Reply-To: <BAY169-DS41999173A807A98C0210C7A7970@phx.gbl>
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019