octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SUNDIALS with IDAKLU unclear warning message


From: John W. Eaton
Subject: Re: SUNDIALS with IDAKLU unclear warning message
Date: Fri, 6 Jan 2017 17:19:57 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0

On 01/06/2017 05:15 PM, Mike Miller wrote:
On Fri, Jan 06, 2017 at 17:04:44 -0500, John W. Eaton wrote:
Yes, if it is enabled by whoever builds the Debian package.  It seems to be
disabled by default, even when the necessary dependencies are available.

I had to configure sundials-2.7.0 with

  cmake -DKLU_ENABLE=ON -DKLU_INCLUDE_DIR=/usr/include/suitesparse
-DKLU_LIBRARY_DIR=/usr/x86_64-linux-gnu SRCDIR

to make it work on my system.

Ah, thank you. So it has to be both new enough *and* configured with
KLU_ENABLE, got it.

Yes, it seems that just providing the include and library directories is not enough. And, just setting -DKLU_ENABLE=ON is not enough, I guess because sundials doesn't look for suitesparse/foo.h?

I still think it would help to explictly mention the IDAKLU function
name, to help with discovery when this message appears, for those like
me who don't know what's going on.

Yeah, seems fine to fix the message as you suggested.

jwe





reply via email to

[Prev in Thread] Current Thread [Next in Thread]