wiki:HowToInstall

Version 12 (modified by conty@…, 10 years ago) (diff)

./bootstrap with releases versions is not needed anymore

How to install OpenTURNS

This guide can be very usefull to install OpenTURNS on GNU/Linux.

Download

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

Releases

You can directly download the lastest OpenTURNS' release archive from SourceForge.net in the download section.

Or, you can also use subversion to retrieve a tagged version, in example if you want official version 0.9.1 :

# svn checkout https://svn.openturns.org/lib/tags/openturns-0.9.1-official openturns-0.9.1
Error validating server certificate for 'https://svn.openturns.org:443':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
 - The certificate hostname does not match.
Certificate information:
 - Hostname: Open TURNS
 - Valid: from Feb 22 14:08:51 2007 GMT until Jun  6 14:08:51 2010 GMT
 - Issuer: R&D, EDF, Clamart, Hauts-de-Seine, FR
 - Fingerprint: 4e:fc:00:48:a8:9e:6e:05:a3:ce:a8:4b:d4:0d:8b:ff:26:5c:2c:c1
(R)eject, accept (t)emporarily or accept (p)ermanently? p
[...]
A    openturns-0.9.1/TODO
A    openturns-0.9.1/COPYING.MuParser
A    openturns-0.9.1/INSTALL
A    openturns-0.9.1/COPYING
A    openturns-0.9.1/Makefile.am
A    openturns-0.9.1/etc
A    openturns-0.9.1/etc/Makefile.am
A    openturns-0.9.1/etc/configuration.in
A    openturns-0.9.1/NEWS
A    openturns-0.9.1/bootstrap
 U   openturns-0.9.1
Checked out revision 460.
# 

Development versions

If you know what you are doing, you can also checkout the development's trunk.

# svn checkout https://svn.openturns.org/lib/trunk openturns-trunk

Dependencies

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

  • binutils
  • automake (>=1.9, tested with 1.9, 1.10)
  • autoconf (tested with 2.60, 2.61)
  • libtool (tested with 1.5.22)
  • gcc (tested with 4.1.2)
  • g77 (tested with 3.4.6)
  • python (>= 2.4)
  • R (>= 2.4)
  • XercesC (tested with 2.7.0)
  • SWIG (>=1.3.29, tested with 1.3.29)
  • boost
  • lapack
  • Qt (3.3.x)
  • flex & bison

Specific instructions

If you have GNU/Debian 4.0 (etch) installed on your computer, you can follow the specific How-To for GNU/Debian Etch?.

Generic instructions

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

Configure

Go in sources directory, ie (if you use 0.9.1 version)

cd openturns-0.9.1

If you use a svn version, you must bootstrap the building process :

./bootstrap

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