RE: cvodes error in MCSim
"Hsieh, Nan-Hung" <[email protected]> Tue, 10 Mar 2020 23:50:55 +0000
| Newsgroups | gmane.comp.gnu.mcsim.bugs |
|---|---|
| Message-ID | <[email protected]> |
--_000_947faa3e155a48cfb462eaea0b2ecc66cvmtamuedu_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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: [email protected]<mailto:[email protected]> Sent: Tuesday, March 10, 2020 9:57 AM To: Hsieh, Nan-Hung<mailto:[email protected]> Cc: [email protected]<mailto:[email protected]> Subject: Re: cvodes error in MCSim 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. 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=E9: 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. --_000_947faa3e155a48cfb462eaea0b2ecc66cvmtamuedu_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 1"> <meta name=3D"Generator" content=3D"Microsoft Exchange Server"> <!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; pad= ding-left: 4pt; border-left: #800000 2px solid; } --></style> </head> <body> <meta name=3D"x_Generator" content=3D"Microsoft Word 15 (filtered medium)"> <style> <!-- p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri",sans-serif} a:x_link, span.x_MsoHyperlink {color:blue; text-decoration:underline} .x_MsoChpDefault {} div.x_WordSection1 {} --> </style> <div lang=3D"EN-US" link=3D"blue" vlink=3D"#954F72"> <div class=3D"x_WordSection1"> <p class=3D"x_MsoNormal">Gotcha. I had manually remove the related cvodes f= ile that are located in /usr/local/lib and /usr/local/include. Problem solv= ed after remove them. But still have no idea how to change the MCSim source= code to fix it.</p> <p class=3D"x_MsoNormal"> </p> <div style=3D"border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0i= n 0in 0in"> <p class=3D"x_MsoNormal" style=3D"border:none; padding:0in"><b>From: </b><a= href=3D"mailto:[email protected]">[email protected]</a><br> <b>Sent: </b>Tuesday, March 10, 2020 9:57 AM<br> <b>To: </b><a href=3D"mailto:[email protected]">Hsieh, Nan-Hung</a><br> <b>Cc: </b><a href=3D"mailto:[email protected]">[email protected]</a><br> <b>Subject: </b>Re: cvodes error in MCSim</p> </div> <p class=3D"x_MsoNormal"> </p> </div> </div> <font size=3D"2"><span style=3D"font-size:10pt;"> <div class=3D"PlainText">Yes, this is a real problem with Sundials. They ke= ep changing the mere structure of the code. If we keep changing the code an= d keep compatibility with the previous version, it will be Hell. I thing th= at 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 c= ode.<br> Meanwhile, you should either disable Sundials for you and work with Lsode, = or reinstall the previous Sundials version, or change the code manually. <br> <br> ----- Mail original -----<br> De: "Nan-Hung Hsieh"<br> Envoy=E9: Mardi 10 Mars 2020 01:35:30<br> Objet: cvodes error in MCSim<br> <br> There is a bug in mcsim-6.1.0. After installed the sundials-<br> 5.1.0, I can not reinstall the MCSim. It shows a error message when<br> 'make" the program.<br> <br> -fPIC -DPIC -o .libs/sim.o<br> sim.c:58:10: fatal error: cvodes/cvodes_band.h: No such file or<br> directory<br> #include <cvodes/cvodes_band.h> /= * prototype for CVBand */<br> ^~~~~~~~~~~~~~~~~~~~= ~~<br> compilation terminated.<br> <br> I guess the cvodes_band.h had been removed or renamed in the latest<br> version.<br> <br> <br> </div> </span></font> </body> </html> --_000_947faa3e155a48cfb462eaea0b2ecc66cvmtamuedu_--