Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

lela-0.1.0/_build/tests/../../lela/blas/level1-cblas.h:190: undefined reference to `cblas_daxpy' #8

Open
malex984 opened this issue Jul 28, 2011 · 1 comment

Comments

@malex984
Copy link
Member

make distcheck DISTCHECK_CONFIGURE_FLAGS="--with-libpolys=/GITHUB/w/LINBOX --without-blas"

fails for me with the following:

test-blas-cblas-module.o: In function LELA::DenseMatrix<float>& LELA::BLAS3::_gemm<LELA::TypeWrapperRing<float>, LELA::BLASModule<float>::Tag>::gemm_impl<LELA::BLASModule<float>, LELA::DenseMatrix<float>, LELA::DenseMatrix<float>, LELA::DenseMatrix<float> >(LELA::TypeWrapperRing<float> const&, LELA::BLASModule<float>&, float, LELA::DenseMatrix<float> const&, LELA::DenseMatrix<float> const&, float, LELA::DenseMatrix<float>&, LELA::MatrixStorageTypes::Dense, LELA::MatrixStorageTypes::Dense, LELA::MatrixStorageTypes::Dense)': /mnt/DATA/GITHUB/w/Linbox-F4/lela-0.1.0/_build/tests/../../lela/blas/level3-cblas.h:52: undefined reference tocblas_sgemm'
test-blas-cblas-module.o: In function LELA::DenseMatrix<float>& LELA::BLAS3::_gemm<LELA::TypeWrapperRing<float>, LELA::BLASModule<float>::Tag>::gemm_impl<LELA::BLASModule<float>, LELA::TransposeMatrix<LELA::DenseMatrix<float>, LELA::MatrixIteratorTypes::RowCol>, LELA::DenseMatrix<float>, LELA::DenseMatrix<float> >(LELA::TypeWrapperRing<float> const&, LELA::BLASModule<float>&, float, LELA::TransposeMatrix<LELA::DenseMatrix<float>, LELA::MatrixIteratorTypes::RowCol> const&, LELA::DenseMatrix<float> const&, float, LELA::DenseMatrix<float>&, LELA::MatrixStorageTypes::DenseTranspose, LELA::MatrixStorageTypes::Dense, LELA::MatrixStorageTypes::Dense)': /mnt/DATA/GITHUB/w/Linbox-F4/lela-0.1.0/_build/tests/../../lela/blas/level3-cblas.h:67: undefined reference tocblas_sgemm'
test-blas-cblas-module.o: In function LELA::DenseMatrix<float>& LELA::BLAS3::_gemm<LELA::TypeWrapperRing<float>, LELA::BLASModule<float>::Tag>::gemm_impl<LELA::BLASModule<float>, LELA::TransposeMatrix<LELA::DenseMatrix<float>, LELA::MatrixIteratorTypes::RowCol>, LELA::TransposeMatrix<LELA::DenseMatrix<float>, LELA::MatrixIteratorTypes::RowCol>, LELA::DenseMatrix<float> >(LELA::TypeWrapperRing<float> const&, LELA::BLASModule<float>&, float, LELA::TransposeMatrix<LELA::DenseMatrix<float>, LELA::MatrixIteratorTypes::RowCol> const&, LELA::TransposeMatrix<LELA::DenseMatrix<float>, LELA::MatrixIteratorTypes::RowCol> const&, float, LELA::DenseMatrix<float>&, LELA::MatrixStorageTypes::DenseTranspose, LELA::MatrixStorageTypes::DenseTranspose, LELA::MatrixStorageTypes::Dense)': /mnt/DATA/GITHUB/w/Linbox-F4/lela-0.1.0/_build/tests/../../lela/blas/level3-cblas.h:97: undefined reference tocblas_sgemm'
test-blas-cblas-module.o: In function LELA::DenseMatrix<float>& LELA::BLAS3::_gemm<LELA::TypeWrapperRing<float>, LELA::BLASModule<float>::Tag>::gemm_impl<LELA::BLASModule<float>, LELA::DenseMatrix<float>, LELA::TransposeMatrix<LELA::DenseMatrix<float>, LELA::MatrixIteratorTypes::RowCol>, LELA::DenseMatrix<float> >(LELA::TypeWrapperRing<float> const&, LELA::BLASModule<float>&, float, LELA::DenseMatrix<float> const&, LELA::TransposeMatrix<LELA::DenseMatrix<float>, LELA::MatrixIteratorTypes::RowCol> const&, float, LELA::DenseMatrix<float>&, LELA::MatrixStorageTypes::Dense, LELA::MatrixStorageTypes::DenseTranspose, LELA::MatrixStorageTypes::Dense)': /mnt/DATA/GITHUB/w/Linbox-F4/lela-0.1.0/_build/tests/../../lela/blas/level3-cblas.h:82: undefined reference tocblas_sgemm'
test-blas-cblas-module.o: In function LELA::DenseMatrix<double>& LELA::BLAS3::_gemm<LELA::TypeWrapperRing<double>, LELA::BLASModule<double>::Tag>::gemm_impl<LELA::BLASModule<double>, LELA::DenseMatrix<double>, LELA::DenseMatrix<double>, LELA::DenseMatrix<double> >(LELA::TypeWrapperRing<double> const&, LELA::BLASModule<double>&, double, LELA::DenseMatrix<double> const&, LELA::DenseMatrix<double> const&, double, LELA::DenseMatrix<double>&, LELA::MatrixStorageTypes::Dense, LELA::MatrixStorageTypes::Dense, LELA::MatrixStorageTypes::Dense)': /mnt/DATA/GITHUB/w/Linbox-F4/lela-0.1.0/_build/tests/../../lela/blas/level3-cblas.h:203: undefined reference tocblas_dgemm'
test-blas-cblas-module.o: In function LELA::DenseMatrix<double>& LELA::BLAS3::_gemm<LELA::TypeWrapperRing<double>, LELA::BLASModule<double>::Tag>::gemm_impl<LELA::BLASModule<double>, LELA::TransposeMatrix<LELA::DenseMatrix<double>, LELA::MatrixIteratorTypes::RowCol>, LELA::DenseMatrix<double>, LELA::DenseMatrix<double> >(LELA::TypeWrapperRing<double> const&, LELA::BLASModule<double>&, double, LELA::TransposeMatrix<LELA::DenseMatrix<double>, LELA::MatrixIteratorTypes::RowCol> const&, LELA::DenseMatrix<double> const&, double, LELA::DenseMatrix<double>&, LELA::MatrixStorageTypes::DenseTranspose, LELA::MatrixStorageTypes::Dense, LELA::MatrixStorageTypes::Dense)': /mnt/DATA/GITHUB/w/Linbox-F4/lela-0.1.0/_build/tests/../../lela/blas/level3-cblas.h:215: undefined reference tocblas_dgemm'
test-blas-cblas-module.o: In function LELA::DenseMatrix<double>& LELA::BLAS3::_gemm<LELA::TypeWrapperRing<double>, LELA::BLASModule<double>::Tag>::gemm_impl<LELA::BLASModule<double>, LELA::TransposeMatrix<LELA::DenseMatrix<double>, LELA::MatrixIteratorTypes::RowCol>, LELA::TransposeMatrix<LELA::DenseMatrix<double>, LELA::MatrixIteratorTypes::RowCol>, LELA::DenseMatrix<double> >(LELA::TypeWrapperRing<double> const&, LELA::BLASModule<double>&, double, LELA::TransposeMatrix<LELA::DenseMatrix<double>, LELA::MatrixIteratorTypes::RowCol> const&, LELA::TransposeMatrix<LELA::DenseMatrix<double>, LELA::MatrixIteratorTypes::RowCol> const&, double, LELA::DenseMatrix<double>&, LELA::MatrixStorageTypes::DenseTranspose, LELA::MatrixStorageTypes::DenseTranspose, LELA::MatrixStorageTypes::Dense)': /mnt/DATA/GITHUB/w/Linbox-F4/lela-0.1.0/_build/tests/../../lela/blas/level3-cblas.h:239: undefined reference tocblas_dgemm'
test-blas-cblas-module.o: In function LELA::DenseMatrix<double>& LELA::BLAS3::_gemm<LELA::TypeWrapperRing<double>, LELA::BLASModule<double>::Tag>::gemm_impl<LELA::BLASModule<double>, LELA::DenseMatrix<double>, LELA::TransposeMatrix<LELA::DenseMatrix<double>, LELA::MatrixIteratorTypes::RowCol>, LELA::DenseMatrix<double> >(LELA::TypeWrapperRing<double> const&, LELA::BLASModule<double>&, double, LELA::DenseMatrix<double> const&, LELA::TransposeMatrix<LELA::DenseMatrix<double>, LELA::MatrixIteratorTypes::RowCol> const&, double, LELA::DenseMatrix<double>&, LELA::MatrixStorageTypes::Dense, LELA::MatrixStorageTypes::DenseTranspose, LELA::MatrixStorageTypes::Dense)': /mnt/DATA/GITHUB/w/Linbox-F4/lela-0.1.0/_build/tests/../../lela/blas/level3-cblas.h:227: undefined reference tocblas_dgemm'
test-blas-cblas-module.o: In function LELA::Subvector<__gnu_cxx::__normal_iterator<float*, std::vector<float, std::allocator<float> > >, __gnu_cxx::__normal_iterator<float const*, std::vector<float, std::allocator<float> > > >& LELA::BLAS1::_axpy<LELA::TypeWrapperRing<float>, LELA::BLASModule<float>::Tag>::axpy_impl<LELA::BLASModule<float>, LELA::Subvector<__gnu_cxx::__normal_iterator<float const*, std::vector<float, std::allocator<float> > >, __gnu_cxx::__normal_iterator<float const*, std::vector<float, std::allocator<float> > > >, LELA::Subvector<__gnu_cxx::__normal_iterator<float*, std::vector<float, std::allocator<float> > >, __gnu_cxx::__normal_iterator<float const*, std::vector<float, std::allocator<float> > > > >(LELA::TypeWrapperRing<float> const&, LELA::BLASModule<float>&, float, LELA::Subvector<__gnu_cxx::__normal_iterator<float const*, std::vector<float, std::allocator<float> > >, __gnu_cxx::__normal_iterator<float const*, std::vector<float, std::allocator<float> > > > const&, LELA::Subvector<__gnu_cxx::__normal_iterator<float*, std::vector<float, std::allocator<float> > >, __gnu_cxx::__normal_iterator<float const*, std::vector<float, std::allocator<float> > > >&, LELA::VectorRepresentationTypes::Dense, LELA::VectorStorageTypes::Real, LELA::VectorRepresentationTypes::Dense, LELA::VectorStorageTypes::Real)': /mnt/DATA/GITHUB/w/Linbox-F4/lela-0.1.0/_build/tests/../../lela/blas/level1-cblas.h:163: undefined reference tocblas_saxpy'
test-blas-cblas-module.o: In function LELA::Subvector<__gnu_cxx::__normal_iterator<float*, std::vector<float, std::allocator<float> > >, __gnu_cxx::__normal_iterator<float const*, std::vector<float, std::allocator<float> > > >& LELA::BLAS1::_axpy<LELA::TypeWrapperRing<float>, LELA::BLASModule<float>::Tag>::axpy_impl<LELA::BLASModule<float>, LELA::Subvector<LELA::Subiterator<__gnu_cxx::__normal_iterator<float const*, std::vector<float, std::allocator<float> > > >, LELA::Subiterator<__gnu_cxx::__normal_iterator<float const*, std::vector<float, std::allocator<float> > > > >, LELA::Subvector<__gnu_cxx::__normal_iterator<float*, std::vector<float, std::allocator<float> > >, __gnu_cxx::__normal_iterator<float const*, std::vector<float, std::allocator<float> > > > >(LELA::TypeWrapperRing<float> const&, LELA::BLASModule<float>&, float, LELA::Subvector<LELA::Subiterator<__gnu_cxx::__normal_iterator<float const*, std::vector<float, std::allocator<float> > > >, LELA::Subiterator<__gnu_cxx::__normal_iterator<float const*, std::vector<float, std::allocator<float> > > > > const&, LELA::Subvector<__gnu_cxx::__normal_iterator<float*, std::vector<float, std::allocator<float> > >, __gnu_cxx::__normal_iterator<float const*, std::vector<float, std::allocator<float> > > >&, LELA::VectorRepresentationTypes::Dense, LELA::VectorStorageTypes::Real, LELA::VectorRepresentationTypes::Dense, LELA::VectorStorageTypes::Real)': /mnt/DATA/GITHUB/w/Linbox-F4/lela-0.1.0/_build/tests/../../lela/blas/level1-cblas.h:163: undefined reference tocblas_saxpy'
test-blas-cblas-module.o: In function LELA::Subvector<__gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator<double> > >, __gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator<double> > > >& LELA::BLAS1::_axpy<LELA::TypeWrapperRing<double>, LELA::BLASModule<double>::Tag>::axpy_impl<LELA::BLASModule<double>, LELA::Subvector<__gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator<double> > >, __gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator<double> > > >, LELA::Subvector<__gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator<double> > >, __gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator<double> > > > >(LELA::TypeWrapperRing<double> const&, LELA::BLASModule<double>&, double, LELA::Subvector<__gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator<double> > >, __gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator<double> > > > const&, LELA::Subvector<__gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator<double> > >, __gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator<double> > > >&, LELA::VectorRepresentationTypes::Dense, LELA::VectorStorageTypes::Real, LELA::VectorRepresentationTypes::Dense, LELA::VectorStorageTypes::Real)': /mnt/DATA/GITHUB/w/Linbox-F4/lela-0.1.0/_build/tests/../../lela/blas/level1-cblas.h:190: undefined reference tocblas_daxpy'
test-blas-cblas-module.o: In function LELA::Subvector<__gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator<double> > >, __gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator<double> > > >& LELA::BLAS1::_axpy<LELA::TypeWrapperRing<double>, LELA::BLASModule<double>::Tag>::axpy_impl<LELA::BLASModule<double>, LELA::Subvector<LELA::Subiterator<__gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator<double> > > >, LELA::Subiterator<__gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator<double> > > > >, LELA::Subvector<__gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator<double> > >, __gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator<double> > > > >(LELA::TypeWrapperRing<double> const&, LELA::BLASModule<double>&, double, LELA::Subvector<LELA::Subiterator<__gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator<double> > > >, LELA::Subiterator<__gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator<double> > > > > const&, LELA::Subvector<__gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator<double> > >, __gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator<double> > > >&, LELA::VectorRepresentationTypes::Dense, LELA::VectorStorageTypes::Real, LELA::VectorRepresentationTypes::Dense, LELA::VectorStorageTypes::Real)': /mnt/DATA/GITHUB/w/Linbox-F4/lela-0.1.0/_build/tests/../../lela/blas/level1-cblas.h:190: undefined reference tocblas_daxpy'
collect2: ld returned 1 exit status
make[4]: *** [test-blas-cblas-module] Error 1

configure said:

checking for C interface to BLAS... not found
checking for other BLAS... not found

@hovinen
Copy link
Member

hovinen commented Jul 28, 2011

I'm unable to duplicate this when I configure using --without-blas. Could you check that you are fully up to date and, if so, send me your lela/lela-config.h file? Thank you.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants