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

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

[Octave-bug-tracker] [bug #55933] Build errors for dev Octave in mxe-oct


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #55933] Build errors for dev Octave in mxe-octave due to dropped suppport for Sundials 2.7.0
Date: Sun, 17 Mar 2019 13:37:26 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

Follow-up Comment #7, bug #55933 (project octave):

I forgot to commit the changes for the stable and release-octave.mk files
before I made the patch. So here an updated patch with these included.

The stable target builds successfully with these changes (I assume that
release would as well).

However for the default-octave target, I see the following in the logs:

checking for N_VNew_Serial in -lsundials_nvecserial... yes
checking ida/ida.h usability... yes
checking ida/ida.h presence... yes
checking for ida/ida.h... yes
checking for IDAInit in -lsundials_ida... yes
checking whether SUNDIALS IDA is configured with double precision realtype...
yes
checking sunlinsol/sunlinsol_dense.h usability... yes
checking sunlinsol/sunlinsol_dense.h presence... yes
checking for sunlinsol/sunlinsol_dense.h... yes
checking whether SUNDIALS IDA includes the SUNLINSOL_DENSE linear solver...
yes
checking sunlinsol/sunlinsol_klu.h usability... no
checking sunlinsol/sunlinsol_klu.h presence... no
checking for sunlinsol/sunlinsol_klu.h... no
configure: WARNING: SUNDIALS IDA library not configured with SUNLINSOL_KLU or
sunlinksol_klu.h is not usable; ode15i and ode15s will not support the sparse
Jacobian feature
checking for IDASetJacFn... yes
checking for IDASetLinearSolver... yes
checking for SUNLinSol_Dense... yes
checking for SUNLinSol_KLU... no
checking ida/ida_direct.h usability... yes
checking ida/ida_direct.h presence... yes
checking for ida/ida_direct.h... yes
checking ida_direct.h usability... no
checking ida_direct.h presence... no
checking for ida_direct.h... no
checking for IDADlsSetJacFn... no
checking for IDADlsSetLinearSolver... no
checking for SUNDenseLinearSolver... yes
checking for SUNKLU... no


sunlinsol_klu.h is present in
~/Documents/Repositories/Octave/mxe-octave-3/usr/x86_64-w64-mingw32/include/sunlinsol

Octave is configured with:

'/home/osboxes/Documents/Repositories/Octave/mxe-octave-3/tmp-default-octave/octave-6.0.0/configure'
CPPFLAGS='-I/home/osboxes/Documents/Repositories/Octave/mxe-octave-3/usr/x86_64-w64-mingw32/include'
LDFLAGS='-L/home/osboxes/Documents/Repositories/Octave/mxe-octave-3/usr/x86_64-w64-mingw32/lib'
--host='x86_64-w64-mingw32' --build='x86_64-pc-linux-gnu'
--prefix=''/home/osboxes/Documents/Repositories/Octave/mxe-octave-3/usr/x86_64-w64-mingw32''
--disable-silent-rules --enable-install-build-logs
FLTK_CONFIG='/home/osboxes/Documents/Repositories/Octave/mxe-octave-3/usr/bin/x86_64-w64-mingw32-fltk-config'
gl_cv_func_gettimeofday_clobber=no gl_cv_func_tzset_clobber=no
--with-blas="-lblas -lxerbla" --enable-64 ax_blas_f77_func_ok=yes
ax_blas_integer_size=4 octave_cv_sizeof_fortran_integer=4
--with-java-includedir="/home/osboxes/Documents/Repositories/Octave/mxe-octave-3/usr/x86_64-w64-mingw32/include/java"
--disable-jit 
MOC_QTVER='/home/osboxes/Documents/Repositories/Octave/mxe-octave-3/usr/bin/x86_64-w64-mingw32-moc'
UIC_QTVER='/home/osboxes/Documents/Repositories/Octave/mxe-octave-3/usr/bin/x86_64-w64-mingw32-uic'
RCC_QTVER='/home/osboxes/Documents/Repositories/Octave/mxe-octave-3/usr/bin/x86_64-w64-mingw32-rcc'
LRELEASE_QTVER='/home/osboxes/Documents/Repositories/Octave/mxe-octave-3/usr/bin/x86_64-w64-mingw32-lrelease'
octave_cv_lib_qscintilla="-lqscintilla2_qt5"
LDFLAGS='-Wl,-rpath-link,/home/osboxes/Documents/Repositories/Octave/mxe-octave-3/usr/x86_64-w64-mingw32/lib
-L/home/osboxes/Documents/Repositories/Octave/mxe-octave-3/usr/x86_64-w64-mingw32/lib
-L/home/osboxes/Documents/Repositories/Octave/mxe-octave-3/usr/x86_64-w64-mingw32/qt5/lib'
--with-x=no --enable-cross-tools
PKG_CONFIG=''/home/osboxes/Documents/Repositories/Octave/mxe-octave-3/usr/bin/pkg-config''
PKG_CONFIG_PATH="/home/osboxes/Documents/Repositories/Octave/mxe-octave-3/usr/x86_64-w64-mingw32/qt5/lib/pkgconfig:/home/osboxes/Documents/Repositories/Octave/mxe-octave-3/usr/x86_64-w64-mingw32/lib/pkgconfig"



CPPFLAGS seems to be correctly pointing to that directory.
Do I have to change some configure flags to get this to work?


In the build logs for sundials-ida 4.10, I see this:

-- Looking for KLU libraries...
-- Checking if KLU works... OK
-- Added NVECTOR_SERIAL module
-- Added SUNMATRIX_BAND module
-- Added SUNMATRIX_DENSE module
-- Added SUNMATRIX_SPARSE module
-- Added SUNLINSOL_BAND module
-- Added SUNLINSOL_DENSE module
-- Added SUNLINSOL_PCG module
-- Added SUNLINSOL_SPBCGS module
-- Added SUNLINSOL_SPFGMR module
-- Added SUNLINSOL_SPGMR module
-- Added SUNLINSOL_SPTFQMR module
-- Added SUNLINSOL_KLU module
-- Added SUNNONLINSOL_NEWTON module
-- Added SUNNONLINSOL_FIXEDPOINT module
-- Added IDA module
-- Configuring done


So I am assuming that sundials is configured with KLU.


(file #46565)
    _______________________________________________________

Additional Item Attachment:

File name: bug55933_sundials_410_v2.patch Size:7 KB
   
<https://savannah.gnu.org/file/bug55933_sundials_410_v2.patch?file_id=46565>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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