[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

building lapack3 packages with gfortran



In order to help with the transition from g77 to gfortran, I have tried to
build lapack3 libraries. I used the refblas3 libraries built
using -ffloat-store option for this purpose. I am using unstable, gfortran
4.2.1-0 .

case 1) If I build the lapack3 libraries without the -ffloat-store option,
then there is one failure in the test suite.

==> testing/ssvd.out <==
  14: norm( I - (V' P') (P V) )  / ( N ulp )
 M=   40, N=   30, type 10, seed=2365,2219, 454,1129, test( 9)=  41.08    
 SBD:      1 out of   5510 tests failed to pass the threshold

case 2) If I build the lapack3 libraries with the -ffloat-store option, then
there is one failure but at a different place.

==> testing/csep.out <==
 11=Large, evenly spaced eigenvals.      15=Matrix with small random
entries.

 Tests performed:  See cdrvst.f
 Matrix order=   20, type= 9, seed=1139,3868,2100,1985, result 101 is
8.472E+05
 CST drivers:      1 out of  11664 tests failed to pass the threshold

The complete build log for case1, case2 can be found at
http://kamaraju.googlepages.com/build_lapack_log_20070724.txt
http://kamaraju.googlepages.com/build_lapack_log_20070725.txt

The patch used for case1 can be found at
http://kamaraju.googlepages.com/build_lapack_patch_20070724.txt
http://kamaraju.googlepages.com/build_lapack_patch_20070725.txt

I haven't had time to investigate the failure. But since the builds take
considerable amount of time, I thought the logs might be useful for someone
interested in fixing the issues.

$ gfortran -v
Using built-in specs.
Target: i486-linux-gnu
Configured
with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-targets=all --disable-werror --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.1 (Debian 4.2.1-0)


hth
raju



Reply to: