How to install OpenTURNS' development version on Debian 4.0 (Etch)
This guide explains Debian Etch installation of development version of OpenTURNS.
Configure
- Install building tools
aptitude install build-essential automake libtool
- Launch bootstraping
./bootstrap
- Install parsing tools
aptitude install flex bison
- Install XercesC, BOOST, Qt3
aptitude install libxerces27-dev libboost-dev libqt3-mt-dev
- Install python's development files and SWIG (used to build TUI)
aptitude install python-dev
- SWIG 1.3.31 version is required but Debian Etch have SWIG in 1.3.29 version. You need to build SWIG from source :
wget http://downloads.sourceforge.net/swig/swig-1.3.31.tar.gz tar xzvf swig-1.3.31.tar.gz cd swig-1.3.31 ./configure --prefix=/usr make && make install cd ..
- Install mathematical tools (R, LAPACK)
aptitude install r-base lapack3-dev
- Go to OpenTURNS' development files directory (i.e. openturns-trunk)
cd openturns-trunk
- To allow OpenTURNS to communicate with R, you need to install the provided R package named rotRPackage :
cd utils tar xvzf rotRPackage_*.tar.gz R CMD INSTALL rotRPackage cd ..
- Launch configuration script
./bootstrap ./configure --prefix=/usr
Compilation and installation
- Launch compilation
make
- Launch installation
make install
- Help python to find OpenTURNS's module
echo "openturns" > /usr/lib/python2.4/site-packages/openturns.pth
Try it !
You can check if OpenTURNS's TUI is working :
# python Python 2.4.4 (#2, Apr 5 2007, 18:43:10) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from openturns import * >>>
