octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #59833] compilation fails on sparse qr


From: A.R. Burgers
Subject: [Octave-bug-tracker] [bug #59833] compilation fails on sparse qr
Date: Wed, 6 Jan 2021 09:42:30 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 Edg/87.0.664.66

URL:
  <https://savannah.gnu.org/bugs/?59833>

                 Summary: compilation fails on sparse qr
                 Project: GNU Octave
            Submitted by: arb
            Submitted on: Wed 06 Jan 2021 02:42:28 PM UTC
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

a recent dev version fails to build with QR related errors, whereas the build
was successful up to recently.

cfg output:

  SPQR CPPFLAGS:
  SPQR LDFLAGS:
  SPQR libraries:                -lspqr
  SuiteSparse config libraries:  -lsuitesparseconfig -lrt


more cfg output:

checking suitesparse/cholmod.h usability... yes
checking suitesparse/cholmod.h presence... yes
checking for suitesparse/cholmod.h... yes
checking for cholmod_start in -lcholmod... yes
checking suitesparse/SuiteSparseQR.hpp usability... yes
checking suitesparse/SuiteSparseQR.hpp presence... yes
checking for suitesparse/SuiteSparseQR.hpp... yes
checking for SuiteSparseQR_C in -lspqr... yes
checking suitesparse/cs.h usability... yes
checking suitesparse/cs.h presence... yes
checking for suitesparse/cs.h... yes
checking for cs_di_sqr in -lcxsparse... yes
checking whether CXSparse is version 2.2 or later... yes


This is the first error, involving a mismatch in argument numbers:

  CXX      liboctave/numeric/liboctave_numeric_libnumeric_la-sparse-qr.lo
../octave/liboctave/numeric/sparse-qr.cc: In constructor
'octave::math::sparse_qr<SPARSE_T>::sparse_qr_rep::sparse_qr_rep(const
SPARSE_T&, int) [with SPARSE_T = SparseMatrix]':
../octave/liboctave/numeric/sparse-qr.cc:265:54: error: no matching function
for call to 'SuiteSparseQR<double>(int&, int, const size_t&, cholmod_sparse*,
cholmod_sparse**, octave::suitesparse_integer**, cholmod_sparse**,
octave::suitesparse_integer**, cholmod_dense**, cholmod_common*)'
  265 |                              &m_HPinv, &m_Htau, &m_cc);
      |                                                      ^
In file included from ../octave/liboctave/util/oct-sparse.h:97,
                 from ../octave/liboctave/numeric/sparse-qr.cc:39:
/opt/apps/shared/burgersar/x86_64/include/suitesparse/SuiteSparseQR.hpp:353:44:
note: candidate: 'long int SuiteSparseQR(int, double, long int, int,
cholmod_sparse*, cholmod_sparse*, cholmod_dense*, cholmod_sparse**,
cholmod_dense**, cholmod_sparse**, long int**, cholmod_sparse**, long int**,
cholmod_dense**, cholmod_common*) [with Entry = double; cholmod_sparse =
cholmod_sparse_struct; cholmod_dense = cholmod_dense_struct; cholmod_common =
cholmod_common_struct]'
  353 | template <typename Entry> SuiteSparse_long SuiteSparseQR
      |                                            ^~~~~~~~~~~~~
/opt/apps/shared/burgersar/x86_64/include/suitesparse/SuiteSparseQR.hpp:353:44:
note:   candidate expects 15 arguments, 10 provided
/opt/apps/shared/burgersar/x86_64/include/suitesparse/SuiteSparseQR.hpp:391:42:
note: candidate: 'cholmod_dense* SuiteSparseQR(int, double, cholmod_sparse*,
cholmod_dense*, cholmod_common*) [with Entry = double; cholmod_dense =
cholmod_dense_struct; cholmod_sparse = cholmod_sparse_struct; cholmod_common =
cholmod_common_struct]'
  391 | template <typename Entry> cholmod_dense *SuiteSparseQR
      |                                          ^~~~~~~~~~~~~





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59833>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]