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

BLAS on sparc



Greetings!  To sum, whatever antics I perform, the blas build on
sparc, and now after an apparent compiler fix, hppa, fails in exactly
the same place during the integrity tests.  All other arches pass
without any failures.

The failures are in the level1 C interface testers, and only in those
routines which return a value (e.g. sdot, snrm2, and sasum), as
opposed to operating on a passed vector.  Notably, the only routine
returning an integer quantity, isamax, passes all tests.  And on the
failures, the answers are off by orders of magnitude.  Double
precision analogous tests pass.  So I thought there might be a
floating point alignment problem on the single precision returned
values from fortran.

But alas, my last experiment with -munaligned-doubles:

gcc -I/home/camm/blas-1.1/cblas/src  -g -Wall -mno-app-regs -munaligned-doubles -c c_sblas1.c
g77    -g -Wall -mno-app-regs -munaligned-doubles -c c_sblat1.f
g77   -o xscblat1 c_sblat1.o c_sblas1.o  -L /home/camm/blas-1.1 -lblas 
c_sblat1.o: In function `check0_':
/home/camm/blas-1.1/cblas/testing/c_sblat1.f:131: undefined reference to `srotgtest_'
c_sblat1.o: In function `check1_':
/home/camm/blas-1.1/cblas/testing/c_sblat1.f:214: undefined reference to `snrm2test_'
/home/camm/blas-1.1/cblas/testing/c_sblat1.f:218: undefined reference to `sasumtest_'
/home/camm/blas-1.1/cblas/testing/c_sblat1.f:221: undefined reference to `sscaltest_'
/home/camm/blas-1.1/cblas/testing/c_sblat1.f:228: undefined reference to `isamaxtest_'
c_sblat1.o: In function `check2_':
/home/camm/blas-1.1/cblas/testing/c_sblat1.f:359: undefined reference to `sdottest_'
/home/camm/blas-1.1/cblas/testing/c_sblat1.f:363: undefined reference to `saxpytest_'
/home/camm/blas-1.1/cblas/testing/c_sblat1.f:373: undefined reference to `scopytest_'
/home/camm/blas-1.1/cblas/testing/c_sblat1.f:377: undefined reference to `sswaptest_'
c_sblat1.o: In function `check3_':
/home/camm/blas-1.1/cblas/testing/c_sblat1.f:493: undefined reference to `srottest_'
/home/camm/blas-1.1/cblas/testing/c_sblat1.f:592: undefined reference to `srottest_'
/home/camm/blas-1.1/libblas.so: undefined reference to `F77_zhpr'
/home/camm/blas-1.1/libblas.so: undefined reference to `F77_zgbmv'
/home/camm/blas-1.1/libblas.so: undefined reference to `F77_cgemm'
/home/camm/blas-1.1/libblas.so: undefined reference to `F77_zdotc_sub'
....

The tester doesn't even link!

Help!!!!

Take care,



-- 
Camm Maguire			     			camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah



Reply to: