Add a New Comment (Rich Markup)
Comment Type & Canned Response: None None > Multiple Canned Responses Fixed in development Crash with no stack trace Already fixed in newer version Fixed in stable Bad description Bad description and crash Bad stack trace Obsolete version Duplicate and not fixed Duplicate and needs more info Duplicate and fixed Need info and old
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
I probably have a mix of 2.7.0 and 3.2.1 files installed, need to sort that.
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.
I removed my build tree, and started from scratch with bootstrap-configure-make, and the error persists.
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.
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
(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
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.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 4 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.10