Re: cvodes error in MCSim

[email protected] Wed, 11 Mar 2020 08:04:17 +0100 (CET)
Newsgroups gmane.comp.gnu.mcsim.bugs
Message-ID <1772115788.4639209.1583910257009.JavaMail.root@zimbra62-e11.priv.proxad.net>
It is most probably that the declaration of a function we are using in sim.=
c was in the cvodes_band.h include file and has been moved to another inclu=
de file. So, you could find in which file it is now and change the name acc=
ordingly. Sundials should tell somewhere that the cvodes_band.h file has be=
en renamed or split or something like that...

----- Mail original -----
De: "Nan-Hung Hsieh" <[email protected]>
=C3=80: [email protected]
Cc: [email protected]
Envoy=C3=A9: Mercredi 11 Mars 2020 00:50:55
Objet: RE: cvodes error in MCSim

Gotcha. I had manually remove the related cvodes file that are located in /=
usr/local/lib and /usr/local/include. Problem solved after remove them. But=
 still have no idea how to change the MCSim source code to fix it.=20


From: [email protected]=20
Sent: Tuesday, March 10, 2020 9:57 AM=20
To: Hsieh, Nan-Hung=20
Cc: [email protected]=20
Subject: Re: cvodes error in MCSim=20


Yes, this is a real problem with Sundials. They keep changing the mere stru=
cture of the code. If we keep changing the code and keep compatibility with=
 the previous version, it will be Hell. I thing that we have to distribute =
the version that works with MCSim at a given version and tell people that t=
hey should not update Sundials after that. They can have different concurre=
nt versions though. I think we can make ensure that a specific version of t=
he Sundials library is called. If users need to update they should ask us o=
r be ready to get their hands dirty in the code.=20
Meanwhile, you should either disable Sundials for you and work with Lsode, =
or reinstall the previous Sundials version, or change the code manually.=20

----- Mail original -----=20
De: "Nan-Hung Hsieh"=20
Envoy=C3=A9: Mardi 10 Mars 2020 01:35:30=20
Objet: cvodes error in MCSim=20

There is a bug in mcsim-6.1.0. After installed the sundials-=20
5.1.0, I can not reinstall the MCSim. It shows a error message when=20
'make" the program.=20

-fPIC -DPIC -o .libs/sim.o=20
sim.c:58:10: fatal error: cvodes/cvodes_band.h: No such file or=20
directory=20
#include <cvodes/cvodes_band.h> /* prototype for CVBand */=20
^~~~~~~~~~~~~~~~~~~~~~=20
compilation terminated.=20

I guess the cvodes_band.h had been removed or renamed in the latest=20
version.=20