bug-mcsim
[Top][All Lists]
Advanced

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

Re: cvodes error in MCSim


From: fredomatic
Subject: Re: cvodes error in MCSim
Date: Wed, 11 Mar 2020 08:04:17 +0100 (CET)

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 include 
file. So, you could find in which file it is now and change the name 
accordingly. Sundials should tell somewhere that the cvodes_band.h file has 
been renamed or split or something like that...

----- Mail original -----
De: "Nan-Hung Hsieh" <address@hidden>
À: address@hidden
Cc: address@hidden
Envoyé: 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. 


From: address@hidden 
Sent: Tuesday, March 10, 2020 9:57 AM 
To: Hsieh, Nan-Hung 
Cc: address@hidden 
Subject: Re: cvodes error in MCSim 


Yes, this is a real problem with Sundials. They keep changing the mere 
structure 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 they 
should not update Sundials after that. They can have different concurrent 
versions though. I think we can make ensure that a specific version of the 
Sundials library is called. If users need to update they should ask us or be 
ready to get their hands dirty in the code. 
Meanwhile, you should either disable Sundials for you and work with Lsode, or 
reinstall the previous Sundials version, or change the code manually. 

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

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

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

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





reply via email to

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