CVODE installationΒΆ

whatis : CVODE solves initial value problems for ordinary differential equation (ODE) systems.

source : https://computation.llnl.gov/casc/sundials/download/download.html

Warning

The version used (cvode 2.7.0) is outdated (2016-09-26), but the more recent versions do not work with the current eBBH cWB library. The cvode library is contained in the sundials distribution.

Installation :

cd $HOME_LIBS/CVODE
1. Download the SUNDIALS/CVODE package version 2.7.0 from

   wget https://computation.llnl.gov/projects/sundials/download/sundials-2.7.0.tar.gz
   or use the package :
   tar xvf $PCKS_REPO/sundials-2.7.0.tar.gz

2. Uncompress it

   tar -xzvf sundials-2.7.0.tar.gz

3. Configure it to produce shared libraries and provide the location
for the installed code ("dist" in this example)

   cd sundials-2.7.0

   mkdir dist
   cd dist
   cmake -DCMAKE_INSTALL_PREFIX:PATH=. ..

4. Make and install it

   make all install

5. You should find in dist/lib the two shared libraries sundials_cvode and sundials_nvecserial.

Note

set _USE_EBBH and HOME_CVODE environment variables in watenv script.