Skip to content

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

@malex984

Description

@malex984

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions