[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS
From: |
Andre da Costa Barros |
Subject: |
[Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0 |
Date: |
Sun, 4 Nov 2018 14:51:05 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0 |
Follow-up Comment #30, bug #52475 (project octave):
Hum, by parts:
1 - I don't know how octave handle it, but on many packages when you set
*FLAGS it means a start point, not a whole substitution (more or less
equivalent to SOMEFLAGS="$SOMEFLAGS --what-you-set-explicitly";
2 - It would be easier if every package generated a pkg-config .pc file to
query where things are located and how to "link" and "include" things. Many
don't, sundials doesn't;
3 - octave could get out of its way to guess where things were located using
ldd and ldconfig on linux but things get really complicated when we use
libraries that are not on cached/standard dirs;
4 - A possible solutions for this would be if octave had an option to, say,
"some-random-lib" in the form of --with-some-random-lib-libs="-L<some_dir>
-ldep1 -ldep2 .. -ldepn" in addtition to what it already use
(--with-some-random-lib=, --with-some-random-lib-libdir= and
--some-random-lib-includedir=);
Of course, the patch can and should be improved but, in may case, octave
would, possibly, have to address (3) and (4) as I link sundials to superlu_mt
and hypre and the standard setting may fail to get the extra linkage (i.e.,
the configure.in would have to check for extra libraries dependencies; not
worth in my opinion as LDFLAGS and CFLAGS are simple and straightforward).
What I described in (4) would be a nice addition, I think (some packages use
this).
_______________________________________________________
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, Andre da Costa Barros, 2018/11/03
- [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0, Carlo de Falco, 2018/11/04
- [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0,
Andre da Costa Barros <=
- [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0, Andre da Costa Barros, 2018/11/04
- [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0, Carlo de Falco, 2018/11/04
- [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0, Andre da Costa Barros, 2018/11/05
- [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0, Carlo de Falco, 2018/11/05
- [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0, Carlo de Falco, 2018/11/05
- [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0, Andrew Janke, 2018/11/09
- [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0, Andre da Costa Barros, 2018/11/09
- [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0, Michael Godfrey, 2018/11/09