bugGNU Octave - Bugs: bug #55927, stable doesn't build with sundials...

 
 

bug #55927: stable doesn't build with sundials 3.2.1 for me

Submitter:  A.R. Burgers <arb>
Submitted:  Fri 15 Mar 2019 08:24:05 AM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 5.1.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 15 Mar 2019 10:01:18 AM UTC, comment #5: 

After removing some stale 2.7.0 includes, stable build again


checking suitesparse/klu.h usability... yes
checking suitesparse/klu.h presence... yes
checking for suitesparse/klu.h... yes
checking for klu_solve in -lklu... yes
checking for UMFPACK separate complex matrix and rhs split... yes
checking nvector/nvector_serial.h usability... yes
checking nvector/nvector_serial.h presence... yes
checking for nvector/nvector_serial.h... yes
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 for ida/ida.h... (cached) yes
checking ida.h usability... no
checking ida.h presence... no
checking for ida.h... no
checking whether SUNDIALS IDA is configured with double precision realtype... yes
checking ida/ida_dense.h usability... no
checking ida/ida_dense.h presence... no
checking for ida/ida_dense.h... no
checking ida_dense.h usability... no
checking ida_dense.h presence... no
checking for ida_dense.h... no
checking whether SUNDIALS IDA includes the IDADENSE linear solver... no
configure: WARNING: SUNDIALS IDA library does not include the IDADENSE linear solver, ode15i and ode15s will be disabled
checking ida/ida_klu.h usability... no
checking ida/ida_klu.h presence... no
checking for ida/ida_klu.h... no
checking ida_klu.h usability... no
checking ida_klu.h presence... no
checking for ida_klu.h... no
checking whether SUNDIALS IDA is configured with IDAKLU enabled... no
configure: WARNING: SUNDIALS IDA library not configured with IDAKLU, ode15i and ode15s will not support the sparse Jacobian feature


A.R. Burgers <arb>
Fri 15 Mar 2019 09:33:35 AM UTC, comment #4: 

I probably have a mix of 2.7.0 and 3.2.1 files installed, need to sort that.

A.R. Burgers <arb>
Fri 15 Mar 2019 09:24:26 AM UTC, comment #3: 

my build attempts to use IDADlsSetDenseJacFn which was indeed declared in the 2.7.0 ida/ida_direct.h source, but not in the 3.2.1 ida/ida_direct.h or anywhere else in the 3.2.1 source.

A.R. Burgers <arb>
Fri 15 Mar 2019 09:04:09 AM UTC, comment #2: 

I removed my build tree, and started from scratch with bootstrap-configure-make, and the error persists.

A.R. Burgers <arb>
Fri 15 Mar 2019 08:38:05 AM UTC, comment #1: 

When you updated to sundials 3.2, did you clear out your build tree for the stable branch and run configure again from scratch? Nothing should have changed on stable, configure should warn that sundials is not compatible and avoid including it. But if you configured a week ago with sundials 2.x and tried to rebuild without running configure again, that might explain this.

Mike Miller <mtmiller>
Group Member
Fri 15 Mar 2019 08:24:05 AM UTC, original submission:  

I had to upgrade to sundials 3.2.1 otherwise dev would not build, but not stable doesn't build:


../octave_50x/libinterp/dldfcn/__ode15__.cc: In member function 'void octave::IDA::set_up()':
../octave_50x/libinterp/dldfcn/__ode15__.cc:344:63: error: 'IDADlsSetDenseJacFn' was not declared in this scope
         if (havejac && IDADlsSetDenseJacFn (mem, IDA::jacdense) != 0)
                                                             ^


The configure part for sundials is:


checking suitesparse/klu.h usability... yes
checking suitesparse/klu.h presence... yes
checking for suitesparse/klu.h... yes
checking for klu_solve in -lklu... yes
checking for UMFPACK separate complex matrix and rhs split... yes
checking nvector/nvector_serial.h usability... yes
checking nvector/nvector_serial.h presence... yes
checking for nvector/nvector_serial.h... yes
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 for ida/ida.h... (cached) yes
checking ida.h usability... no
checking ida.h presence... no
checking for ida.h... no
checking whether SUNDIALS IDA is configured with double precision realtype... yes
checking ida/ida_dense.h usability... yes
checking ida/ida_dense.h presence... yes
checking for ida/ida_dense.h... yes
checking ida_dense.h usability... no
checking ida_dense.h presence... no
checking for ida_dense.h... no
checking whether SUNDIALS IDA includes the IDADENSE linear solver... yes
checking ida/ida_klu.h usability... yes
checking ida/ida_klu.h presence... yes
checking for ida/ida_klu.h... yes
checking ida_klu.h usability... no
checking ida_klu.h presence... no
checking for ida_klu.h... no
checking whether SUNDIALS IDA is configured with IDAKLU enabled... yes


A.R. Burgers <arb>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by arb (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-15 mtmiller StatusNeed Info Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2019-03-15 mtmiller CategoryLibraries Configuration and Build System
        StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code