wiki:HowToInstall

Version 17 (modified by conty, 10 years ago) (diff)

Add missed link to ubuntu tutorial

How to install OpenTURNS

This guide can be very usefull to install OpenTURNS on GNU/Linux. If you want a development version, please follow instructions which describe How-To install a development version.

Download

If you want to use OpenTURNS, it's highly recommended to pick up the lastest stable release.

Download the lastest OpenTURNS' release archive from SourceForge.net in the download section.

Dependencies

To compile your OpenTURNS platform, you need some additional libraries, headers (development files) and tools. Of course, you can use your favorite package-manager to download and install these requirements.

  • gcc (>= 3.3.6 except 4.0.x series, tested with 4.1.2)
  • g77 (>= 3.3.6 except 4.0.x series, tested with 3.4.6)
  • python (2.4.x)
  • R (2.4.x)
  • XercesC (>= 2.6.0, tested with 2.7.0)
  • boost (>= 1.33.1)
  • lapack (>= 3.1.0)
  • Qt (3.3.x)

Specific instructions

If you have one of theses distributions, you can follow the associated specific HowTo :

Generic instructions

As you can see with dependencies, OpenTURNS project use autotools and gcc suite to configure and build the sources.

Configure

In this example we use version 0.9.1, if you use another version, just substitute version numbers.

Extract files from downloaded archive :

tar xvzf openturns-0.9.1.tar.gz

Go in sources directory,

cd openturns-0.9.1

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 ..

To configure building for all OpenTURNS parts - library, TUI, and GUI -, you can simply do :

./configure

If you want to disable some parts (TUI, GUI, or both), take a look to

./configure --help

Build & install

make
make install