Labels

Friday, December 11, 2020

A simple guide to Install scikit ODES

Here is a simple guid to install scikit-odes. Odes is a scikit toolkit for scipy to add extra ode solvers. Specifically it interfaces the Sundials solvers cvode, cvodes, ida and idas.


a) Install BLAS and LAPACK

>sudo apt-get install libopenblas-dev liblapack-dev


b) Install Sundials 5.1.0

>wget https://computing.llnl.gov/projects/sundials/download/sundials-5.1.0.tar.gz

>tar xvf sundials-5.1.0.tar.gz 

>mkdir builder 

>cd builder 

>cmake ../../sundials-5.1.0/ -DLAPACK_ENABLE=ON 

>make 

>sudo make install

c) Install scikits odes

add export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/bin to .bashrc 

>source ~/.bashrc 

>sudo pip install scikits.odes


Reference:

https://scikits-odes.readthedocs.io/en/latest/installation.html

No comments:

Post a Comment