delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/03/08:36:51

X-Spam-Check-By: sourceware.org
Date: Fri, 3 Aug 2007 14:36:24 +0200
From: Cezary Sliwa <sliwa AT cft DOT edu DOT pl>
To: cygwin AT cygwin DOT com
Subject: Re: building lapack with cygwin
Message-ID: <20070803123624.GA25525@cft.edu.pl>
Reply-To: Cezary Sliwa <sliwa AT ifpan DOT edu DOT pl>
References: <20070801224616 DOT GA15541 AT cft DOT edu DOT pl>
Mime-Version: 1.0
In-Reply-To: <20070801224616.GA15541@cft.edu.pl>
User-Agent: Mutt/1.4.1i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Thu, Aug 02, 2007 at 12:46:16AM +0200, Cezary Sliwa wrote:
> 
> Hello,
> 
> I tried to build Lapack 3.1.1 using cygwin. Compilation works fine, but
> testing reports failures. The g77 flags were -O3 -funroll-all-loops.
> 
> For gcc 3.3.3 failures are reported by CEV, CVX, CGV, DGV, SGV, ZGV.
> 
> For gcc 3.4.4 failures are reported by CGV, DGV, SGV, ZGV.

The failures with gcc 3.4.4 may be due to the extra precision of x87.

> 
> 
> As far as the prebuilt binary (lapack 3.0-5)is concerned, I tried to run the
> Lapack-3.0 tester against it. The result is:
> 
> $ make blas_testing
> ( cd BLAS/TESTING; make -f Makeblat1 )
> make[1]: Entering directory /home/Weronika/LAPACK/BLAS/TESTING'
> make[1]: Nothing to be done for all'.
> make[1]: Leaving directory /home/Weronika/LAPACK/BLAS/TESTING'
> ( cd BLAS; ./xblat1s > sblat1.out; \
>                    ./xblat1d > dblat1.out; \
>                    ./xblat1c > cblat1.out; \
>                    ./xblat1z > zblat1.out )
>    3656 [main] xblat1c 2808 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
> /bin/sh: line 3:  2808 Segmentation fault      (core dumped) ./xblat1c > cblat1.out
>       7 [main] xblat1z 3096 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
> /bin/sh: line 3:  3096 Segmentation fault      (core dumped) ./xblat1z > zblat1.out
> make: *** [blas_testing] Error 139
> 
> 
> When lapack test is run, I get
> 
>       8 [main] xeigtstc 3376 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
>       6 [main] xeigtstz 964 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
> 

The segfaults are probably due to the -fno-f2c flag used to compile lapack.
Please do not use this flag and update the lapack package to 3.1.1.

Best regards,
Cezary Sliwa


> 
> Failures are reported by DGV, ZGV.
> 
> 
> Best regards,
> Cezary Sliwa
> 

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

- Raw text -


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