lapack tests fail

Post here if you have a question about the installation process

lapack tests fail

Postby jwhite » Tue Jan 14, 2014 6:19 pm

Hello,

Last month I built lapack and the compilation seemed to complete. Today I had problems with using lapack in XHMM compilation and then tested the lapack library. All the tests failed--probably I'm not running them correctly. Can you help? Example below.

Thanks,
Joe White
MEEI

python lapack_testing.py -e -r -p x -t all


---------------- Testing LAPACK Routines ----------------

-- Detailed results are stored in testing_results.txt

------------------------- REAL ------------------------

/bin/sh: ./xeigtsts: No such file or directory
---- TESTING ./xeigtsts... FAILED(./xeigtsts < nep.in > snep.out did not work) !
/bin/sh: ./xeigtsts: No such file or directory
---- TESTING ./xeigtsts... FAILED(./xeigtsts < sep.in > ssep.out did not work) !
/bin/sh: ./xeigtsts: No such file or directory
---- TESTING ./xeigtsts... FAILED(./xeigtsts < svd.in > ssvd.out did not work) !
/bin/sh: ./xeigtsts: No such file or directory
---- TESTING ./xeigtsts... FAILED(./xeigtsts < sec.in > sec.out did not work) !
/bin/sh: ./xeigtsts: No such file or directory
---- TESTING ./xeigtsts... FAILED(./xeigtsts < sed.in > sed.out did not work) !
/bin/sh: ./xeigtsts: No such file or directory
---- TESTING ./xeigtsts... FAILED(./xeigtsts < sgg.in > sgg.out did not work) !
/bin/sh: ./xeigtsts: No such file or directory
---- TESTING ./xeigtsts... FAILED(./xeigtsts < sgd.in > sgd.out did not work) !
/bin/sh: ./xeigtsts: No such file or directory
---- TESTING ./xeigtsts... FAILED(./xeigtsts < ssb.in > ssb.out did not work) !
/bin/sh: ./xeigtsts: No such file or directory
---- TESTING ./xeigtsts... FAILED(./xeigtsts < ssg.in > ssg.out did not work) !
/bin/sh: ./xeigtsts: No such file or directory
---- TESTING ./xeigtsts... FAILED(./xeigtsts < sbb.in > sbb.out did not work) !
/bin/sh: ./xeigtsts: No such file or directory
---- TESTING ./xeigtsts... FAILED(./xeigtsts < glm.in > sglm.out did not work) !
/bin/sh: ./xeigtsts: No such file or directory
---- TESTING ./xeigtsts... FAILED(./xeigtsts < gqr.in > sgqr.out did not work) !
/bin/sh: ./xeigtsts: No such file or directory
---- TESTING ./xeigtsts... FAILED(./xeigtsts < gsv.in > sgsv.out did not work) !
/bin/sh: ./xeigtsts: No such file or directory
---- TESTING ./xeigtsts... FAILED(./xeigtsts < csd.in > scsd.out did not work) !
/bin/sh: ./xeigtsts: No such file or directory
---- TESTING ./xeigtsts... FAILED(./xeigtsts < lse.in > slse.out did not work) !
/bin/sh: ./xlintsts: No such file or directory
---- TESTING ./xlintsts... FAILED(./xlintsts < stest.in > stest.out did not work) !
/bin/sh: ./xlintstrfs: No such file or directory
---- TESTING ./xlintstrfs... FAILED(./xlintstrfs < stest_rfp.in > stest_rfp.out did not work) !

------------------------- DOUBLE PRECISION ------------------------

/bin/sh: ./xeigtstd: No such file or directory
---- TESTING ./xeigtstd... FAILED(./xeigtstd < nep.in > dnep.out did not work) !
/bin/sh: ./xeigtstd: No such file or directory
---- TESTING ./xeigtstd... FAILED(./xeigtstd < sep.in > dsep.out did not work) !
/bin/sh: ./xeigtstd: No such file or directory
---- TESTING ./xeigtstd... FAILED(./xeigtstd < svd.in > dsvd.out did not work) !
/bin/sh: ./xeigtstd: No such file or directory
---- TESTING ./xeigtstd... FAILED(./xeigtstd < dec.in > dec.out did not work) !
/bin/sh: ./xeigtstd: No such file or directory
---- TESTING ./xeigtstd... FAILED(./xeigtstd < ded.in > ded.out did not work) !
/bin/sh: ./xeigtstd: No such file or directory
---- TESTING ./xeigtstd... FAILED(./xeigtstd < dgg.in > dgg.out did not work) !
/bin/sh: ./xeigtstd: No such file or directory
---- TESTING ./xeigtstd... FAILED(./xeigtstd < dgd.in > dgd.out did not work) !
/bin/sh: ./xeigtstd: No such file or directory
---- TESTING ./xeigtstd... FAILED(./xeigtstd < dsb.in > dsb.out did not work) !
/bin/sh: ./xeigtstd: No such file or directory
---- TESTING ./xeigtstd... FAILED(./xeigtstd < dsg.in > dsg.out did not work) !
/bin/sh: ./xeigtstd: No such file or directory
---- TESTING ./xeigtstd... FAILED(./xeigtstd < dbb.in > dbb.out did not work) !
/bin/sh: ./xeigtstd: No such file or directory
---- TESTING ./xeigtstd... FAILED(./xeigtstd < glm.in > dglm.out did not work) !
/bin/sh: ./xeigtstd: No such file or directory
---- TESTING ./xeigtstd... FAILED(./xeigtstd < gqr.in > dgqr.out did not work) !
/bin/sh: ./xeigtstd: No such file or directory
---- TESTING ./xeigtstd... FAILED(./xeigtstd < gsv.in > dgsv.out did not work) !
/bin/sh: ./xeigtstd: No such file or directory
---- TESTING ./xeigtstd... FAILED(./xeigtstd < csd.in > dcsd.out did not work) !
/bin/sh: ./xeigtstd: No such file or directory
---- TESTING ./xeigtstd... FAILED(./xeigtstd < lse.in > dlse.out did not work) !
/bin/sh: ./xlintstd: No such file or directory
---- TESTING ./xlintstd... FAILED(./xlintstd < dtest.in > dtest.out did not work) !
/bin/sh: ./xlintstds: No such file or directory
---- TESTING ./xlintstds... FAILED(./xlintstds < dstest.in > dstest.out did not work) !
/bin/sh: ./xlintstrfd: No such file or directory
---- TESTING ./xlintstrfd... FAILED(./xlintstrfd < dtest_rfp.in > dtest_rfp.out did not work) !

------------------------- COMPLEX ------------------------

/bin/sh: ./xeigtstc: No such file or directory
---- TESTING ./xeigtstc... FAILED(./xeigtstc < nep.in > cnep.out did not work) !
/bin/sh: ./xeigtstc: No such file or directory
---- TESTING ./xeigtstc... FAILED(./xeigtstc < sep.in > csep.out did not work) !
/bin/sh: ./xeigtstc: No such file or directory
---- TESTING ./xeigtstc... FAILED(./xeigtstc < svd.in > csvd.out did not work) !
/bin/sh: ./xeigtstc: No such file or directory
---- TESTING ./xeigtstc... FAILED(./xeigtstc < cec.in > cec.out did not work) !
/bin/sh: ./xeigtstc: No such file or directory
---- TESTING ./xeigtstc... FAILED(./xeigtstc < ced.in > ced.out did not work) !
/bin/sh: ./xeigtstc: No such file or directory
---- TESTING ./xeigtstc... FAILED(./xeigtstc < cgg.in > cgg.out did not work) !
/bin/sh: ./xeigtstc: No such file or directory
---- TESTING ./xeigtstc... FAILED(./xeigtstc < cgd.in > cgd.out did not work) !
/bin/sh: ./xeigtstc: No such file or directory
---- TESTING ./xeigtstc... FAILED(./xeigtstc < csb.in > csb.out did not work) !
/bin/sh: ./xeigtstc: No such file or directory
---- TESTING ./xeigtstc... FAILED(./xeigtstc < csg.in > csg.out did not work) !
/bin/sh: ./xeigtstc: No such file or directory
---- TESTING ./xeigtstc... FAILED(./xeigtstc < cbb.in > cbb.out did not work) !
/bin/sh: ./xeigtstc: No such file or directory
---- TESTING ./xeigtstc... FAILED(./xeigtstc < glm.in > cglm.out did not work) !
/bin/sh: ./xeigtstc: No such file or directory
---- TESTING ./xeigtstc... FAILED(./xeigtstc < gqr.in > cgqr.out did not work) !
/bin/sh: ./xeigtstc: No such file or directory
---- TESTING ./xeigtstc... FAILED(./xeigtstc < gsv.in > cgsv.out did not work) !
/bin/sh: ./xeigtstc: No such file or directory
---- TESTING ./xeigtstc... FAILED(./xeigtstc < csd.in > ccsd.out did not work) !
/bin/sh: ./xeigtstc: No such file or directory
---- TESTING ./xeigtstc... FAILED(./xeigtstc < lse.in > clse.out did not work) !
/bin/sh: ./xlintstc: No such file or directory
---- TESTING ./xlintstc... FAILED(./xlintstc < ctest.in > ctest.out did not work) !
/bin/sh: ./xlintstrfc: No such file or directory
---- TESTING ./xlintstrfc... FAILED(./xlintstrfc < ctest_rfp.in > ctest_rfp.out did not work) !

------------------------- COMPLEX16 ------------------------

/bin/sh: ./xeigtstz: No such file or directory
---- TESTING ./xeigtstz... FAILED(./xeigtstz < nep.in > znep.out did not work) !
/bin/sh: ./xeigtstz: No such file or directory
---- TESTING ./xeigtstz... FAILED(./xeigtstz < sep.in > zsep.out did not work) !
/bin/sh: ./xeigtstz: No such file or directory
---- TESTING ./xeigtstz... FAILED(./xeigtstz < svd.in > zsvd.out did not work) !
/bin/sh: ./xeigtstz: No such file or directory
---- TESTING ./xeigtstz... FAILED(./xeigtstz < zec.in > zec.out did not work) !
/bin/sh: ./xeigtstz: No such file or directory
---- TESTING ./xeigtstz... FAILED(./xeigtstz < zed.in > zed.out did not work) !
/bin/sh: ./xeigtstz: No such file or directory
---- TESTING ./xeigtstz... FAILED(./xeigtstz < zgg.in > zgg.out did not work) !
/bin/sh: ./xeigtstz: No such file or directory
---- TESTING ./xeigtstz... FAILED(./xeigtstz < zgd.in > zgd.out did not work) !
/bin/sh: ./xeigtstz: No such file or directory
---- TESTING ./xeigtstz... FAILED(./xeigtstz < zsb.in > zsb.out did not work) !
/bin/sh: ./xeigtstz: No such file or directory
---- TESTING ./xeigtstz... FAILED(./xeigtstz < zsg.in > zsg.out did not work) !
/bin/sh: ./xeigtstz: No such file or directory
---- TESTING ./xeigtstz... FAILED(./xeigtstz < zbb.in > zbb.out did not work) !
/bin/sh: ./xeigtstz: No such file or directory
---- TESTING ./xeigtstz... FAILED(./xeigtstz < glm.in > zglm.out did not work) !
/bin/sh: ./xeigtstz: No such file or directory
---- TESTING ./xeigtstz... FAILED(./xeigtstz < gqr.in > zgqr.out did not work) !
/bin/sh: ./xeigtstz: No such file or directory
---- TESTING ./xeigtstz... FAILED(./xeigtstz < gsv.in > zgsv.out did not work) !
/bin/sh: ./xeigtstz: No such file or directory
---- TESTING ./xeigtstz... FAILED(./xeigtstz < csd.in > zcsd.out did not work) !
/bin/sh: ./xeigtstz: No such file or directory
---- TESTING ./xeigtstz... FAILED(./xeigtstz < lse.in > zlse.out did not work) !
/bin/sh: ./xlintstz: No such file or directory
---- TESTING ./xlintstz... FAILED(./xlintstz < ztest.in > ztest.out did not work) !
/bin/sh: ./xlintstzc: No such file or directory
---- TESTING ./xlintstzc... FAILED(./xlintstzc < zctest.in > zctest.out did not work) !
/bin/sh: ./xlintstrfz: No such file or directory
---- TESTING ./xlintstrfz... FAILED(./xlintstrfz < ztest_rfp.in > ztest_rfp.out did not work) !

--> LAPACK TESTING SUMMARY <--
SUMMARY nb test run numerical error other error
================ =========== ================= ================
REAL 0 0 (0.000%) 0 (0.000%)
DOUBLE PRECISION 0 0 (0.000%) 0 (0.000%)
COMPLEX 0 0 (0.000%) 0 (0.000%)
COMPLEX16 0 0 (0.000%) 0 (0.000%)

--> ALL PRECISIONS 0 0 (0.000%) 0 (0.000%)

NO TESTS WERE ANALYZED, please use the -r option to run the LAPACK TESTING
jwhite
 
Posts: 6
Joined: Tue Dec 17, 2013 3:59 pm

Re: lapack tests fail

Postby Julien Langou » Wed Jan 15, 2014 1:09 am

The error message:
Code: Select all
/bin/sh: ./xlintstrfz: No such file or directory

indicates that the executable has been removed. Please retype "make". This should recreate the missing executables, and then run the test suite for you.
Julien.
Julien Langou
 
Posts: 824
Joined: Thu Dec 09, 2004 12:32 pm
Location: Denver, CO, USA

Re: lapack tests fail

Postby jwhite » Wed Jan 15, 2014 11:17 am

Hi Julien,

Re-running 'make' in the lapack package directory produces extensive output, the last few lines of which are shown here (a longer, still incomplete, fragment is further below).

[...]
fortran -O2 -frecursive -c stbt03.f -o stbt03.o
gfortran -O2 -frecursive -c stbt05.f -o stbt05.o
stbt05.f: In function ‘stbt05’:
stbt05.f:189: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[2]: *** [stbt05.o] Error 1
make[2]: Leaving directory `/downloads/lapack-3.5.0/TESTING/LIN'
make[1]: *** [xlintsts] Error 2
make[1]: Leaving directory `/downloads/lapack-3.5.0/TESTING'
make: *** [lapack_testing] Error 2

Where should I post a bug report? I have seen this bug before, but don't recall the remedy.
Can you help me successfully compile lapack for our RedHat environment? We need this for another package.
Thanks,

Joe White
MEEI


## more extensive output (if needed):

make[1]: Leaving directory `/downloads/lapack-3.5.0/TESTING/MATGEN'
( cd BLAS/TESTING; make -f Makeblat1 )
make[1]: Entering directory `/downloads/lapack-3.5.0/BLAS/TESTING'
gfortran -O2 -frecursive -c sblat1.f -o sblat1.o
gfortran sblat1.o \
../../libblas.a -o ../xblat1s
gfortran -O2 -frecursive -c dblat1.f -o dblat1.o
gfortran dblat1.o \
../../libblas.a -o ../xblat1d
gfortran -O2 -frecursive -c cblat1.f -o cblat1.o
gfortran cblat1.o \
../../libblas.a -o ../xblat1c
gfortran -O2 -frecursive -c zblat1.f -o zblat1.o
gfortran zblat1.o \
../../libblas.a -o ../xblat1z
make[1]: Leaving directory `/downloads/lapack-3.5.0/BLAS/TESTING'
( cd BLAS; ./xblat1s > sblat1.out ; \
./xblat1d > dblat1.out ; \
./xblat1c > cblat1.out ; \
./xblat1z > zblat1.out )
( cd BLAS/TESTING; make -f Makeblat2 )
make[1]: Entering directory `/downloads/lapack-3.5.0/BLAS/TESTING'
gfortran -O2 -frecursive -c sblat2.f -o sblat2.o
gfortran sblat2.o \
../../libblas.a -o ../xblat2s
gfortran -O2 -frecursive -c dblat2.f -o dblat2.o
gfortran dblat2.o \
../../libblas.a -o ../xblat2d
gfortran -O2 -frecursive -c cblat2.f -o cblat2.o
gfortran cblat2.o \
../../libblas.a -o ../xblat2c
gfortran -O2 -frecursive -c zblat2.f -o zblat2.o
gfortran zblat2.o \
../../libblas.a -o ../xblat2z
make[1]: Leaving directory `/downloads/lapack-3.5.0/BLAS/TESTING'
( cd BLAS; ./xblat2s < sblat2.in ; \
./xblat2d < dblat2.in ; \
./xblat2c < cblat2.in ; \
./xblat2z < zblat2.in )
( cd BLAS/TESTING; make -f Makeblat3 )
make[1]: Entering directory `/downloads/lapack-3.5.0/BLAS/TESTING'
gfortran -O2 -frecursive -c sblat3.f -o sblat3.o
gfortran sblat3.o \
../../libblas.a -o ../xblat3s
gfortran -O2 -frecursive -c dblat3.f -o dblat3.o
gfortran dblat3.o \
../../libblas.a -o ../xblat3d
gfortran -O2 -frecursive -c cblat3.f -o cblat3.o
gfortran cblat3.o \
../../libblas.a -o ../xblat3c
gfortran -O2 -frecursive -c zblat3.f -o zblat3.o
gfortran zblat3.o \
../../libblas.a -o ../xblat3z
make[1]: Leaving directory `/downloads/lapack-3.5.0/BLAS/TESTING'
( cd BLAS; ./xblat3s < sblat3.in ; \
./xblat3d < dblat3.in ; \
./xblat3c < cblat3.in ; \
./xblat3z < zblat3.in )
( cd TESTING ; make )
make[1]: Entering directory `/downloads/lapack-3.5.0/TESTING'
cd LIN ; make single
make[2]: Entering directory `/downloads/lapack-3.5.0/TESTING/LIN'
gfortran -O2 -frecursive -c aladhd.f -o aladhd.o
gfortran -O2 -frecursive -c alaerh.f -o alaerh.o
gfortran -O2 -frecursive -c alaesm.f -o alaesm.o
gfortran -O2 -frecursive -c alahd.f -o alahd.o
gfortran -O2 -frecursive -c alareq.f -o alareq.o
gfortran -O2 -frecursive -c alasum.f -o alasum.o
gfortran -O2 -frecursive -c alasvm.f -o alasvm.o
gfortran -O2 -frecursive -c chkxer.f -o chkxer.o
gfortran -O2 -frecursive -c icopy.f -o icopy.o
gfortran -O2 -frecursive -c ilaenv.f -o ilaenv.o
gfortran -O2 -frecursive -c xlaenv.f -o xlaenv.o
gfortran -O2 -frecursive -c xerbla.f -o xerbla.o
gfortran -O2 -frecursive -c schkaa.f -o schkaa.o
gfortran -O2 -frecursive -c schkeq.f -o schkeq.o
gfortran -O2 -frecursive -c schkgb.f -o schkgb.o
gfortran -O2 -frecursive -c schkge.f -o schkge.o
gfortran -O2 -frecursive -c schkgt.f -o schkgt.o
gfortran -O2 -frecursive -c schklq.f -o schklq.o
gfortran -O2 -frecursive -c schkpb.f -o schkpb.o
gfortran -O2 -frecursive -c schkpo.f -o schkpo.o
gfortran -O2 -frecursive -c schkps.f -o schkps.o
gfortran -O2 -frecursive -c schkpp.f -o schkpp.o
gfortran -O2 -frecursive -c schkpt.f -o schkpt.o
gfortran -O2 -frecursive -c schkq3.f -o schkq3.o
gfortran -O2 -frecursive -c schkql.f -o schkql.o
gfortran -O2 -frecursive -c schkqp.f -o schkqp.o
gfortran -O2 -frecursive -c schkqr.f -o schkqr.o
gfortran -O2 -frecursive -c schkrq.f -o schkrq.o
gfortran -O2 -frecursive -c schksp.f -o schksp.o
gfortran -O2 -frecursive -c schksy.f -o schksy.o
gfortran -O2 -frecursive -c schksy_rook.f -o schksy_rook.o
gfortran -O2 -frecursive -c schktb.f -o schktb.o
gfortran -O2 -frecursive -c schktp.f -o schktp.o
gfortran -O2 -frecursive -c schktr.f -o schktr.o
gfortran -O2 -frecursive -c schktz.f -o schktz.o
gfortran -O2 -frecursive -c sdrvgt.f -o sdrvgt.o
gfortran -O2 -frecursive -c sdrvls.f -o sdrvls.o
gfortran -O2 -frecursive -c sdrvpb.f -o sdrvpb.o
gfortran -O2 -frecursive -c sdrvpp.f -o sdrvpp.o
gfortran -O2 -frecursive -c sdrvpt.f -o sdrvpt.o
gfortran -O2 -frecursive -c sdrvsp.f -o sdrvsp.o
gfortran -O2 -frecursive -c sdrvsy_rook.f -o sdrvsy_rook.o
gfortran -O2 -frecursive -c serrgt.f -o serrgt.o
gfortran -O2 -frecursive -c serrlq.f -o serrlq.o
gfortran -O2 -frecursive -c serrls.f -o serrls.o
gfortran -O2 -frecursive -c serrps.f -o serrps.o
gfortran -O2 -frecursive -c serrql.f -o serrql.o
gfortran -O2 -frecursive -c serrqp.f -o serrqp.o
gfortran -O2 -frecursive -c serrqr.f -o serrqr.o
gfortran -O2 -frecursive -c serrrq.f -o serrrq.o
gfortran -O2 -frecursive -c serrtr.f -o serrtr.o
gfortran -O2 -frecursive -c serrtz.f -o serrtz.o
gfortran -O2 -frecursive -c sgbt01.f -o sgbt01.o
gfortran -O2 -frecursive -c sgbt02.f -o sgbt02.o
gfortran -O2 -frecursive -c sgbt05.f -o sgbt05.o
gfortran -O2 -frecursive -c sgelqs.f -o sgelqs.o
gfortran -O2 -frecursive -c sgeqls.f -o sgeqls.o
gfortran -O2 -frecursive -c sgeqrs.f -o sgeqrs.o
gfortran -O2 -frecursive -c sgerqs.f -o sgerqs.o
gfortran -O2 -frecursive -c sget01.f -o sget01.o
gfortran -O2 -frecursive -c sget02.f -o sget02.o
gfortran -O2 -frecursive -c sget03.f -o sget03.o
gfortran -O2 -frecursive -c sget04.f -o sget04.o
gfortran -O2 -frecursive -c sget06.f -o sget06.o
gfortran -O2 -frecursive -c sget07.f -o sget07.o
gfortran -O2 -frecursive -c sgtt01.f -o sgtt01.o
gfortran -O2 -frecursive -c sgtt02.f -o sgtt02.o
gfortran -O2 -frecursive -c sgtt05.f -o sgtt05.o
gfortran -O2 -frecursive -c slaptm.f -o slaptm.o
gfortran -O2 -frecursive -c slarhs.f -o slarhs.o
gfortran -O2 -frecursive -c slatb4.f -o slatb4.o
gfortran -O2 -frecursive -c slatb5.f -o slatb5.o
gfortran -O2 -frecursive -c slattb.f -o slattb.o
gfortran -O2 -frecursive -c slattp.f -o slattp.o
gfortran -O2 -frecursive -c slattr.f -o slattr.o
gfortran -O2 -frecursive -c slavsp.f -o slavsp.o
gfortran -O2 -frecursive -c slavsy.f -o slavsy.o
gfortran -O2 -frecursive -c slavsy_rook.f -o slavsy_rook.o
gfortran -O2 -frecursive -c slqt01.f -o slqt01.o
gfortran -O2 -frecursive -c slqt02.f -o slqt02.o
gfortran -O2 -frecursive -c slqt03.f -o slqt03.o
gfortran -O2 -frecursive -c spbt01.f -o spbt01.o
gfortran -O2 -frecursive -c spbt02.f -o spbt02.o
gfortran -O2 -frecursive -c spbt05.f -o spbt05.o
gfortran -O2 -frecursive -c spot01.f -o spot01.o
gfortran -O2 -frecursive -c spot02.f -o spot02.o
gfortran -O2 -frecursive -c spot03.f -o spot03.o
gfortran -O2 -frecursive -c spot05.f -o spot05.o
gfortran -O2 -frecursive -c spst01.f -o spst01.o
gfortran -O2 -frecursive -c sppt01.f -o sppt01.o
gfortran -O2 -frecursive -c sppt02.f -o sppt02.o
gfortran -O2 -frecursive -c sppt03.f -o sppt03.o
gfortran -O2 -frecursive -c sppt05.f -o sppt05.o
gfortran -O2 -frecursive -c sptt01.f -o sptt01.o
gfortran -O2 -frecursive -c sptt02.f -o sptt02.o
gfortran -O2 -frecursive -c sptt05.f -o sptt05.o
gfortran -O2 -frecursive -c sqlt01.f -o sqlt01.o
gfortran -O2 -frecursive -c sqlt02.f -o sqlt02.o
gfortran -O2 -frecursive -c sqlt03.f -o sqlt03.o
gfortran -O2 -frecursive -c sqpt01.f -o sqpt01.o
gfortran -O2 -frecursive -c sqrt01.f -o sqrt01.o
gfortran -O2 -frecursive -c sqrt01p.f -o sqrt01p.o
gfortran -O2 -frecursive -c sqrt02.f -o sqrt02.o
gfortran -O2 -frecursive -c sqrt03.f -o sqrt03.o
gfortran -O2 -frecursive -c sqrt11.f -o sqrt11.o
gfortran -O2 -frecursive -c sqrt12.f -o sqrt12.o
gfortran -O2 -frecursive -c sqrt13.f -o sqrt13.o
gfortran -O2 -frecursive -c sqrt14.f -o sqrt14.o
gfortran -O2 -frecursive -c sqrt15.f -o sqrt15.o
gfortran -O2 -frecursive -c sqrt16.f -o sqrt16.o
gfortran -O2 -frecursive -c sqrt17.f -o sqrt17.o
gfortran -O2 -frecursive -c srqt01.f -o srqt01.o
gfortran -O2 -frecursive -c srqt02.f -o srqt02.o
gfortran -O2 -frecursive -c srqt03.f -o srqt03.o
gfortran -O2 -frecursive -c srzt01.f -o srzt01.o
gfortran -O2 -frecursive -c srzt02.f -o srzt02.o
gfortran -O2 -frecursive -c sspt01.f -o sspt01.o
gfortran -O2 -frecursive -c ssyt01.f -o ssyt01.o
gfortran -O2 -frecursive -c ssyt01_rook.f -o ssyt01_rook.o
gfortran -O2 -frecursive -c stbt02.f -o stbt02.o
gfortran -O2 -frecursive -c stbt03.f -o stbt03.o
gfortran -O2 -frecursive -c stbt05.f -o stbt05.o
stbt05.f: In function ‘stbt05’:
stbt05.f:189: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[2]: *** [stbt05.o] Error 1
make[2]: Leaving directory `/downloads/lapack-3.5.0/TESTING/LIN'
make[1]: *** [xlintsts] Error 2
make[1]: Leaving directory `/downloads/lapack-3.5.0/TESTING'
make: *** [lapack_testing] Error 2
jwhite
 
Posts: 6
Joined: Tue Dec 17, 2013 3:59 pm

Re: lapack tests fail

Postby Julien Langou » Wed Jan 15, 2014 1:50 pm

I think this is a bug in gfortran. (1) The bug was corrected by the gfortran community so, if you update your gfortran compiler, and then try compiling again and that should work. I have no idea what this specific routine was doing that gfortran did not like. (2) I think the bugged gfortran compiler (so the one you have) was OK with the -O3 flag, so if you want to go fast and not reinstalled gfortran, type: "gfortran -O3 -frecursive -c stbt05.f -o stbt05.o", (in TESTING/LIN), then retype "make" on the top directory, and this should work. (3) Note that you are experiencing some problems while building the test suite for the LAPACK library. So far you should have a correct LAPACK library already built and ready to use. (The only problem is that it is not tested.) Cheers, Julien.
Julien Langou
 
Posts: 824
Joined: Thu Dec 09, 2004 12:32 pm
Location: Denver, CO, USA

Re: lapack tests fail

Postby jwhite » Wed Jan 15, 2014 3:00 pm

Julien Langou wrote:I think this is a bug in gfortran. (1) The bug was corrected by the gfortran community so, if you update your gfortran compiler, and then try compiling again and that should work. I have no idea what this specific routine was doing that gfortran did not like. (2) I think the bugged gfortran compiler (so the one you have) was OK with the -O3 flag, so if you want to go fast and not reinstalled gfortran, type: "gfortran -O3 -frecursive -c stbt05.f -o stbt05.o", (in TESTING/LIN), then retype "make" on the top directory, and this should work. (3) Note that you are experiencing some problems while building the test suite for the LAPACK library. So far you should have a correct LAPACK library already built and ready to use. (The only problem is that it is not tested.) Cheers, Julien.


Hi Julien,

We came to the same concluse after compiling lapack on a differnt 64-bit system (based on Debian). The build ran to completion and the tests all passed.
Is it reasonable to use this build in our RedHat environment?

You are correct; we had a liblapack.a file in the package directory when the bug occured. I tried to use that build in a build of a software package called 'XHMM', but this package build failed its tests, with errors such as:

[...]
dlasd8.f:(.text+0x2bf): undefined reference to `dcopy_'
{...}

Seems to me to say the lapack library is at fault, ie 'undefined reference', but the lapack tests passed, so that's not the case. I'll bring it up with the XHMM authors.

Thanks for your help.
Cheers,
Joe Whtite
MEEI
jwhite
 
Posts: 6
Joined: Tue Dec 17, 2013 3:59 pm

Re: lapack tests fail

Postby Julien Langou » Wed Jan 15, 2014 3:35 pm

Code: Select all
dlasd8.f:(.text+0x2bf): undefined reference to `dcopy_'
This is because you are missing the BLAS beneath LAPACK. LAPACK needs a BLAS library. The BLAS library should be librefblas.a and should be there. If not, type "make blaslib", then when linking with LAPACK, do something like: "liblapack.a librefblas.a". Cheers, Julien.
Julien Langou
 
Posts: 824
Joined: Thu Dec 09, 2004 12:32 pm
Location: Denver, CO, USA

Re: lapack tests fail

Postby EmilieB » Fri Jan 17, 2014 11:26 am

Hello to all,

I've just installed Lapack 3.5.0 and run "./lapack_testing.py -e -p x -t all" .
I have two questions:

- First of all, is this test are enough to validate my installation?
- I have these errors below, I'm just a sys admin so i really don't know about Lapack functionnement, i would like to know if these errors are "normal", please.

I run the installation on a IBM Power 710.

Also, i found these examples of lapack on the forum: viewtopic.php?f=2&t=146 but i really don't know how to exploit them.

---------------- Testing LAPACK Routines ----------------

-- Detailed results are stored in testing_results.txt

------------------------- REAL ------------------------

--> Testing REAL Nonsymmetric Eigenvalue Problem [ snep.out ]

--> Testing REAL Symmetric Eigenvalue Problem [ ssep.out ]

--> Testing REAL Singular Value Decomposition [ ssvd.out ]

--> Testing REAL Eigen Condition [ sec.out ]

--> Testing REAL Nonsymmetric Eigenvalue [ sed.out ]

--> Testing REAL Nonsymmetric Generalized Eigenvalue Problem [ sgg.out ]

--> Testing REAL Nonsymmetric Generalized Eigenvalue Problem driver [ sgd.out ]

--> Testing REAL Symmetric Eigenvalue Problem [ ssb.out ]

--> Testing REAL Symmetric Eigenvalue Generalized Problem [ ssg.out ]

--> Testing REAL Banded Singular Value Decomposition routines [ sbb.out ]

--> Testing REAL Generalized Linear Regression Model routines [ sglm.out ]

--> Testing REAL Generalized QR and RQ factorization routines [ sgqr.out ]

--> Testing REAL Generalized Singular Value Decomposition routines [ sgsv.out ]

--> Testing REAL CS Decomposition routines [ scsd.out ]

--> Testing REAL Constrained Linear Least Squares routines [ slse.out ]

--> Testing REAL Linear Equation routines [ stest.out ]
SSY: 18 out of 1846 tests failed to pass the threshold
SSY drivers: 6 out of 1072 tests failed to pass the threshold
SSP: 18 out of 1404 tests failed to pass the threshold
SSP drivers: 6 out of 1072 tests failed to pass the threshold
--> Tests passed: 314984
--> Tests failing to pass the threshold: 48

--> Testing REAL RFP linear equation routines [ stest_rfp.out ]


------------------------- DOUBLE PRECISION ------------------------

--> Testing DOUBLE PRECISION Nonsymmetric Eigenvalue Problem [ dnep.out ]

--> Testing DOUBLE PRECISION Symmetric Eigenvalue Problem [ dsep.out ]

--> Testing DOUBLE PRECISION Singular Value Decomposition [ dsvd.out ]

--> Testing DOUBLE PRECISION Eigen Condition [ dec.out ]

--> Testing DOUBLE PRECISION Nonsymmetric Eigenvalue [ ded.out ]

--> Testing DOUBLE PRECISION Nonsymmetric Generalized Eigenvalue Problem [ dgg.out ]

--> Testing DOUBLE PRECISION Nonsymmetric Generalized Eigenvalue Problem driver [ dgd.out ]

--> Testing DOUBLE PRECISION Symmetric Eigenvalue Problem [ dsb.out ]

--> Testing DOUBLE PRECISION Symmetric Eigenvalue Generalized Problem [ dsg.out ]

--> Testing DOUBLE PRECISION Banded Singular Value Decomposition routines [ dbb.out ]

--> Testing DOUBLE PRECISION Generalized Linear Regression Model routines [ dglm.out ]

--> Testing DOUBLE PRECISION Generalized QR and RQ factorization routines [ dgqr.out ]

--> Testing DOUBLE PRECISION Generalized Singular Value Decomposition routines [ dgsv.out ]

--> Testing DOUBLE PRECISION CS Decomposition routines [ dcsd.out ]

--> Testing DOUBLE PRECISION Constrained Linear Least Squares routines [ dlse.out ]

--> Testing DOUBLE PRECISION Linear Equation routines [ dtest.out ]

--> Testing DOUBLE PRECISION Mixed Precision linear equation routines [ dstest.out ]

--> Testing DOUBLE PRECISION RFP linear equation routines [ dtest_rfp.out ]


------------------------- COMPLEX ------------------------

--> Testing COMPLEX Nonsymmetric Eigenvalue Problem [ cnep.out ]

--> Testing COMPLEX Symmetric Eigenvalue Problem [ csep.out ]

--> Testing COMPLEX Singular Value Decomposition [ csvd.out ]

--> Testing COMPLEX Eigen Condition [ cec.out ]

--> Testing COMPLEX Nonsymmetric Eigenvalue [ ced.out ]

--> Testing COMPLEX Nonsymmetric Generalized Eigenvalue Problem [ cgg.out ]

--> Testing COMPLEX Nonsymmetric Generalized Eigenvalue Problem driver [ cgd.out ]

--> Testing COMPLEX Symmetric Eigenvalue Problem [ csb.out ]

--> Testing COMPLEX Symmetric Eigenvalue Generalized Problem [ csg.out ]

--> Testing COMPLEX Banded Singular Value Decomposition routines [ cbb.out ]

--> Testing COMPLEX Generalized Linear Regression Model routines [ cglm.out ]

--> Testing COMPLEX Generalized QR and RQ factorization routines [ cgqr.out ]

--> Testing COMPLEX Generalized Singular Value Decomposition routines [ cgsv.out ]

--> Testing COMPLEX CS Decomposition routines [ ccsd.out ]

--> Testing COMPLEX Constrained Linear Least Squares routines [ clse.out ]

--> Testing COMPLEX Linear Equation routines [ ctest.out ]

--> Testing COMPLEX RFP linear equation routines [ ctest_rfp.out ]


------------------------- COMPLEX16 ------------------------

--> Testing COMPLEX16 Nonsymmetric Eigenvalue Problem [ znep.out ]

--> Testing COMPLEX16 Symmetric Eigenvalue Problem [ zsep.out ]

--> Testing COMPLEX16 Singular Value Decomposition [ zsvd.out ]

--> Testing COMPLEX16 Eigen Condition [ zec.out ]

--> Testing COMPLEX16 Nonsymmetric Eigenvalue [ zed.out ]

--> Testing COMPLEX16 Nonsymmetric Generalized Eigenvalue Problem [ zgg.out ]

--> Testing COMPLEX16 Nonsymmetric Generalized Eigenvalue Problem driver [ zgd.out ]

--> Testing COMPLEX16 Symmetric Eigenvalue Problem [ zsb.out ]

--> Testing COMPLEX16 Symmetric Eigenvalue Generalized Problem [ zsg.out ]

--> Testing COMPLEX16 Banded Singular Value Decomposition routines [ zbb.out ]

--> Testing COMPLEX16 Generalized Linear Regression Model routines [ zglm.out ]

--> Testing COMPLEX16 Generalized QR and RQ factorization routines [ zgqr.out ]

--> Testing COMPLEX16 Generalized Singular Value Decomposition routines [ zgsv.out ]

--> Testing COMPLEX16 CS Decomposition routines [ zcsd.out ]

--> Testing COMPLEX16 Constrained Linear Least Squares routines [ zlse.out ]

--> Testing COMPLEX16 Linear Equation routines [ ztest.out ]

--> Testing COMPLEX16 Mixed Precision linear equation routines [ zctest.out ]

--> Testing COMPLEX16 RFP linear equation routines [ ztest_rfp.out ]


--> LAPACK TESTING SUMMARY <--
Processing LAPACK Testing output found in the TESTING direcory
SUMMARY nb test run numerical error other error
================ =========== ================= ================
REAL 314984 48 (0.015%) 0 (0.000%)
DOUBLE PRECISION 0 0 (0.000%) 0 (0.000%)
COMPLEX 0 0 (0.000%) 0 (0.000%)
COMPLEX16 0 0 (0.000%) 0 (0.000%)

--> ALL PRECISIONS 314984 48 (0.015%) 0 (0.000%)


I hope someone could answer me, thank you very much by advance!

PS: sorry for my terrible english, it's not my native language.
EmilieB
 
Posts: 2
Joined: Fri Jan 17, 2014 11:11 am

Re: lapack tests fail

Postby admin » Mon Jan 20, 2014 11:38 pm

Bonjour Emilie,
You are good to go.
Your errors seems to be related to numerical accuracy of a very minor series of tests (48 on the 314984 tests tun)
We do not have such machine as the IBM Power 710 to try on our own and try to replicate those actual testing failures.
If you could send me your stest.out I can double check. But once again, this looks good.
Julie
admin
Site Admin
 
Posts: 609
Joined: Wed Dec 08, 2004 7:07 pm

Re: lapack tests fail

Postby EmilieB » Tue Jan 21, 2014 5:54 am

Hello Julie,

Thank you very much for your answer. I had to recompile my lapack because my make.inc has an error for the blas lib.
So this is my new results :
lapack_testing_results.txt
lapack testing results
(8.29 KiB) Downloaded 110 times

and my stest.out:
stest-out.txt
stest.out
(4.71 KiB) Downloaded 66 times


I finally found some example in fortran using lapack and it seems to be good, but i would like to be sure, so thank you in advance for your confirmation.

Emilie
EmilieB
 
Posts: 2
Joined: Fri Jan 17, 2014 11:11 am


Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest