UMFPACK issues on macOS

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

UMFPACK issues on macOS

Sebastian Schöps
Dear all,

I am trying to compile octave from hg on my Mac but it fails due to umfpack and LONGBLAS incompatibilities. Has anyone experience with the correct settings? I played with Suitesparse , i.e., LONGBLAS="long long" vs. "long" but no success so far.

Thanks,
Sebastian

  CXX      liboctave/array/liboctave_array_libarray_la-dColVector.lo
liboctave/array/CSparse.cc:1117:7: error: no matching function for call to 'umfpack_zl_report_matrix'
      UMFPACK_ZNAME (report_matrix) (nr, nc, Ap, Ai,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./liboctave/util/oct-sparse.h:125:33: note: expanded from macro 'UMFPACK_ZNAME'
#    define UMFPACK_ZNAME(name) umfpack_zl_ ## name
                                ^~~~~~~~~~~~~~~~~~~
<scratch space>:166:1: note: expanded from here
umfpack_zl_report_matrix
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/umfpack_report_matrix.h:43:18: note: candidate function not viable: no known conversion from 'const octave_idx_type *' (aka 'const long long *') to 'const long *' for 3rd argument
SuiteSparse_long umfpack_zl_report_matrix
                 ^
liboctave/array/CSparse.cc:1124:20: error: no matching function for call to 'umfpack_zl_qsymbolic'
      int status = UMFPACK_ZNAME (qsymbolic)
                   ^~~~~~~~~~~~~~~~~~~~~~~~~
./liboctave/util/oct-sparse.h:125:33: note: expanded from macro 'UMFPACK_ZNAME'
#    define UMFPACK_ZNAME(name) umfpack_zl_ ## name
                                ^~~~~~~~~~~~~~~~~~~
<scratch space>:166:1: note: expanded from here
umfpack_zl_qsymbolic
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/umfpack_qsymbolic.h:49:18: note: candidate function not viable: no known conversion from 'const octave_idx_type *' (aka 'const long long *') to 'const long *' for 3rd argument
SuiteSparse_long umfpack_zl_qsymbolic
                 ^
liboctave/array/CSparse.cc:1144:15: error: no matching function for call to 'umfpack_zl_numeric'
            = UMFPACK_ZNAME (numeric) (Ap, Ai,
              ^~~~~~~~~~~~~~~~~~~~~~~
./liboctave/util/oct-sparse.h:125:33: note: expanded from macro 'UMFPACK_ZNAME'
#    define UMFPACK_ZNAME(name) umfpack_zl_ ## name
                                ^~~~~~~~~~~~~~~~~~~
<scratch space>:166:1: note: expanded from here
umfpack_zl_numeric
^~~~~~~~~~~~~~~~~~
/usr/local/include/umfpack_numeric.h:43:18: note: candidate function not viable: no known conversion from 'const octave_idx_type *' (aka 'const long long *') to 'const long *' for 1st argument
SuiteSparse_long umfpack_zl_numeric
                 ^
liboctave/array/CSparse.cc:5550:3: error: no matching function for call to 'umfpack_zl_report_matrix'
  UMFPACK_ZNAME (report_matrix) (nr, nc, Ap, Ai,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./liboctave/util/oct-sparse.h:125:33: note: expanded from macro 'UMFPACK_ZNAME'
#    define UMFPACK_ZNAME(name) umfpack_zl_ ## name
                                ^~~~~~~~~~~~~~~~~~~
<scratch space>:3:1: note: expanded from here
umfpack_zl_report_matrix
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/umfpack_report_matrix.h:43:18: note: candidate function not viable: no known conversion from 'const octave_idx_type *' (aka 'const long long *') to 'const long *' for 3rd argument
SuiteSparse_long umfpack_zl_report_matrix
                 ^
liboctave/array/CSparse.cc:5557:16: error: no matching function for call to 'umfpack_zl_qsymbolic'
  int status = UMFPACK_ZNAME (qsymbolic) (nr, nc, Ap, Ai,
               ^~~~~~~~~~~~~~~~~~~~~~~~~
./liboctave/util/oct-sparse.h:125:33: note: expanded from macro 'UMFPACK_ZNAME'
#    define UMFPACK_ZNAME(name) umfpack_zl_ ## name
                                ^~~~~~~~~~~~~~~~~~~
<scratch space>:3:1: note: expanded from here
umfpack_zl_qsymbolic
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/umfpack_qsymbolic.h:49:18: note: candidate function not viable: no known conversion from 'const octave_idx_type *' (aka 'const long long *') to 'const long *' for 3rd argument
SuiteSparse_long umfpack_zl_qsymbolic
                 ^
liboctave/array/CSparse.cc:5577:16: error: no matching function for call to 'umfpack_zl_numeric'
      status = UMFPACK_ZNAME (numeric) (Ap, Ai,
               ^~~~~~~~~~~~~~~~~~~~~~~
./liboctave/util/oct-sparse.h:125:33: note: expanded from macro 'UMFPACK_ZNAME'
#    define UMFPACK_ZNAME(name) umfpack_zl_ ## name
                                ^~~~~~~~~~~~~~~~~~~
<scratch space>:3:1: note: expanded from here
umfpack_zl_numeric
^~~~~~~~~~~~~~~~~~
/usr/local/include/umfpack_numeric.h:43:18: note: candidate function not viable: no known conversion from 'const octave_idx_type *' (aka 'const long long *') to 'const long *' for 1st argument
SuiteSparse_long umfpack_zl_numeric
                 ^
liboctave/array/CSparse.cc:5826:28: error: no matching function for call to 'umfpack_zl_solve'
                  status = UMFPACK_ZNAME (solve) (UMFPACK_A, Ap,
                           ^~~~~~~~~~~~~~~~~~~~~
./liboctave/util/oct-sparse.h:125:33: note: expanded from macro 'UMFPACK_ZNAME'
#    define UMFPACK_ZNAME(name) umfpack_zl_ ## name
                                ^~~~~~~~~~~~~~~~~~~
<scratch space>:3:1: note: expanded from here
umfpack_zl_solve
^~~~~~~~~~~~~~~~
/usr/local/include/umfpack_solve.h:49:18: note: candidate function not viable: no known conversion from 'const octave_idx_type *' (aka 'const long long *') to 'const long *' for 2nd argument
SuiteSparse_long umfpack_zl_solve
                 ^
liboctave/array/CSparse.cc:6104:28: error: no matching function for call to 'umfpack_zl_solve'
                  status = UMFPACK_ZNAME (solve) (UMFPACK_A, Ap,
                           ^~~~~~~~~~~~~~~~~~~~~
./liboctave/util/oct-sparse.h:125:33: note: expanded from macro 'UMFPACK_ZNAME'
#    define UMFPACK_ZNAME(name) umfpack_zl_ ## name
                                ^~~~~~~~~~~~~~~~~~~
<scratch space>:3:1: note: expanded from here
umfpack_zl_solve
^~~~~~~~~~~~~~~~
/usr/local/include/umfpack_solve.h:49:18: note: candidate function not viable: no known conversion from 'const octave_idx_type *' (aka 'const long long *') to 'const long *' for 2nd argument
SuiteSparse_long umfpack_zl_solve
                 ^
liboctave/array/CSparse.cc:6368:21: error: no matching function for call to 'umfpack_zl_solve'
                    UMFPACK_ZNAME (solve) (UMFPACK_A, Ap, Ai,
                    ^~~~~~~~~~~~~~~~~~~~~
./liboctave/util/oct-sparse.h:125:33: note: expanded from macro 'UMFPACK_ZNAME'
#    define UMFPACK_ZNAME(name) umfpack_zl_ ## name
                                ^~~~~~~~~~~~~~~~~~~
<scratch space>:3:1: note: expanded from here
umfpack_zl_solve
^~~~~~~~~~~~~~~~
/usr/local/include/umfpack_solve.h:49:18: note: candidate function not viable: no known conversion from 'const octave_idx_type *' (aka 'const long long *') to 'const long *' for 2nd argument
SuiteSparse_long umfpack_zl_solve
                 ^
liboctave/array/CSparse.cc:6622:28: error: no matching function for call to 'umfpack_zl_solve'
                  status = UMFPACK_ZNAME (solve) (UMFPACK_A, Ap,
                           ^~~~~~~~~~~~~~~~~~~~~
./liboctave/util/oct-sparse.h:125:33: note: expanded from macro 'UMFPACK_ZNAME'
#    define UMFPACK_ZNAME(name) umfpack_zl_ ## name
                                ^~~~~~~~~~~~~~~~~~~
<scratch space>:3:1: note: expanded from here
umfpack_zl_solve
^~~~~~~~~~~~~~~~
/usr/local/include/umfpack_solve.h:49:18: note: candidate function not viable: no known conversion from 'const octave_idx_type *' (aka 'const long long *') to 'const long *' for 2nd argument
SuiteSparse_long umfpack_zl_solve
                 ^
  CXX      liboctave/array/liboctave_array_libarray_la-dDiagMatrix.lo
10 errors generated.
make[2]: *** [liboctave/array/liboctave_array_libarray_la-CSparse.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Loading...