[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS
From: |
Carlo de Falco |
Subject: |
[Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0 |
Date: |
Mon, 4 Mar 2019 07:51:14 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:65.0) Gecko/20100101 Firefox/65.0 |
Follow-up Comment #61, bug #52475 (project octave):
Hi Antonio,
Thanks for testing.
I am really surprised you need to include an extra header,
it should really not be required ...
Are you positive that you are actually using sundials 4.1.0 and you don't have
other versions installed?
Would you mind trying the following test:
1) create a file named "test_sunsparsematrix.cpp" with the following contents
#include <klu.h>
#include <sunlinsol/sunlinsol_klu.h>
int main ()
{
constexpr int num = 10;
auto sunJacMatrix = SUNSparseMatrix (num, num, num*num, CSC_MAT);
return 0;
}
2) compile and link the test code.
I can do it on my system with the command
clang++ -std=gnu++11 -I/opt/local/include -I/opt/sundials/4.1.0/include \
-L/opt/sundials/4.1.0/lib \
-lsundials_sunmatrixsparse \
test_sunsparsematrix.cpp -o test_sunsparsematrix
you may need to change the include and link paths according to your system
configuration
If you get any error messages please post them to this thread.
Thanks again,
c.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?52475>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0,
Carlo de Falco <=
- [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0, Antonio Rojas, 2019/03/04
- [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0, Carlo de Falco, 2019/03/04
- [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0, Antonio Rojas, 2019/03/04
- [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0, Carlo de Falco, 2019/03/05
- [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0, Antonio Rojas, 2019/03/05
- [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0, Mike Miller, 2019/03/06
- [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0, John W. Eaton, 2019/03/09
- [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0, Carlo de Falco, 2019/03/11
- [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0, Carlo de Falco, 2019/03/11
- [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0, Carlo de Falco, 2019/03/11