bugGNU Octave - Bugs: bug #59985, WARNING: SUNDIALS NVECTOR serial...

 
 

bug #59985: WARNING: SUNDIALS NVECTOR serial library not found. The solvers ode15i and ode15s will be disabled.

Submitter:  David Laxer <dbl001>
Submitted:  Mon 01 Feb 2021 07:41:26 PM UTC
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Invalid Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Mac OS
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

( Jump to the original submission )

Fri 12 Feb 2021 03:17:23 PM UTC, comment #6: 

No more information since last week.
Assuming that this error was caused by trying to link incompatible libraries.

Closing as invalid.

If it should turn out that there is an issue in Octave's build system that is causing this, we can re-open the report.

Markus Mützel <mmuetzel>
Project Member
Fri 05 Feb 2021 03:33:03 PM UTC, comment #5: 

It is very likely that your self-compiled SUNDIALS library is incompatible with how you compile Octave (standard libraries again?).
But if you don't show your config.log, we can only guess.

I only see warnings and no errors in the parts of the configure output you show in comment #4. Did compilation fail?

Markus Mützel <mmuetzel>
Project Member
Thu 04 Feb 2021 05:34:30 PM UTC, comment #4: 

When I tried to build with the MacPort version, I got these errors:

$ port list sundials
sundials                       @3.1.2          math/sundials

 ./configure  LD_LIBRARY_PATH="-L/Users/davidlaxer/SuiteSparse/lib/ -L/opt/local/lib  -L/opt/local/libexec/qt5/lib" LDFLAGS="-L/Users/davidlaxer/SuiteSparse/lib/ -L/opt/local/lib -L/opt/local/libexec/qt5/lib" CPPFLAGS="-I/Users/davidlaxer/SuiteSparse/include -I/opt/local/include" --with-libiconv-prefix=/opt/local/lib
...
checking whether SUNDIALS API provides the necessary functions... no
configure: WARNING: SUNDIALS libraries do not provide an API that is compatible with Octave.  The solvers ode15i and ode15s will be disabled.
...
configure: WARNING: SUNDIALS libraries do not provide an API that is compatible with Octave.  The solvers ode15i and ode15s will be disabled.

So, I tried building SUNDIALS from source ...

David Laxer <dbl001>
Thu 04 Feb 2021 04:44:58 PM UTC, comment #3: 

In my previous comment, I meant to include a link to the following page:

https://wiki.octave.org/Octave_for_macOS

John W. Eaton <jwe>
Project Administrator
Thu 04 Feb 2021 04:43:45 PM UTC, comment #2: 

How are you trying to build Octave and its dependencies?  I don't have an OS X system, but my understanding is that most people build Octave for OS X by using Homebrew or MacPorts, which I believe provide all the required dependencies.

John W. Eaton <jwe>
Project Administrator
Tue 02 Feb 2021 12:01:03 PM UTC, comment #1: 

Could you please attach the `config.log` file of that configure run?

Markus Mützel <mmuetzel>
Project Member
Mon 01 Feb 2021 07:41:26 PM UTC, original submission:  

OS X 10.15.7
Xcode 12.4

checking nvector/nvector_serial.h usability... no
checking nvector/nvector_serial.h presence... yes
configure: WARNING: nvector/nvector_serial.h: present but cannot be compiled
configure: WARNING: nvector/nvector_serial.h:     check for missing prerequisite headers?
configure: WARNING: nvector/nvector_serial.h: see the Autoconf documentation
configure: WARNING: nvector/nvector_serial.h:     section "Present But Cannot Be Compiled"
configure: WARNING: nvector/nvector_serial.h: proceeding with the compiler's result
configure: WARNING:     ## ------------------------------------------- ##
configure: WARNING:     ## Report this to https://octave.org/bugs.html ##
configure: WARNING:     ## ------------------------------------------- ##
checking for nvector/nvector_serial.h... no
checking nvector_serial.h usability... no
checking nvector_serial.h presence... yes
configure: WARNING: nvector_serial.h: present but cannot be compiled
configure: WARNING: nvector_serial.h:     check for missing prerequisite headers?
configure: WARNING: nvector_serial.h: see the Autoconf documentation
configure: WARNING: nvector_serial.h:     section "Present But Cannot Be Compiled"
configure: WARNING: nvector_serial.h: proceeding with the compiler's result
configure: WARNING:     ## ------------------------------------------- ##
configure: WARNING:     ## Report this to https://octave.org/bugs.html ##
configure: WARNING:     ## ------------------------------------------- ##
checking for nvector_serial.h... no
configure: WARNING: SUNDIALS NVECTOR serial library not found.  The solvers ode15i and ode15s will be disabled.

David Laxer <dbl001>

 

(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 jwe (Posted a comment)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by dbl001 (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 project members can vote.

     

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-02-12 mmuetzel StatusNone Invalid
        Open/ClosedOpen Closed
    2021-02-04 jwe CategoryLibraries Configuration and Build System

    Back to the top

    Powered by Savane 3.9