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.