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]

Re: building lapack with cygwin


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/


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