Frequently Asked Questions about OpenTURNS


Step-by-step introduction

If you are looking for a short introduction, please see QuickStart page.

Need support ?

If you need free of charges support, notice that you can read a dedicated page: GettingHelp.

Who are we ?

Open TURNS is developed by a mixed team of mathematicians and software developers spread over three collaborating companies. For more, see the Authors page.


  • OpenTURNS code is released under the GNU Lesser General Public License (LGPL)
  • OpenTURNS documentation is released under the GNU Free Documentation License (GFDL)


Build & install process failure

Failures during the 'make check' stage

You probably forgot to install rot as described in the HowToInstall page. For example, for OpenTURNS 1.1, the rot_1.4.5.tar.gz file is located in the "utils" directory of openturns-1.1.tar.gz.

Install it with the statement:

R CMD INSTALL utils/rot_1.4.5.tar.gz

If you are using an instance of R installed in the system (ie, as root), you need to get root privileges to perform the rot installation or to install it in a non-standard location. Check your path to know which instance your are using. This instance must be the one you will pass to the configure script.

If you don't have the privileges to perform the installation with the previous command, use this one:

R CMD INSTALL --library=PRIVATE_DIRECTORY utils/rot_1.4.5.tar.gz

where PRIVATE_DIRECTORY is any directory you are allowed to write in (for example, $HOME/Rpackages). Then, set the environment variable R_LIBS to this directory (e.g. export R_LIBS=$HOME/Rpackages) if you use a version of R prior to 2.5.0, else it is better to use the environment variable R_LIBS_USER.

You can then test the installation by invoking R, then trying the following command:

$ R

R : Copyright 2006, The R Foundation for Statistical Computing
Type 'q()' to quit R.

> library(rot)

If everything is ok, the command is executed without any error or warning.

We can also see which version is installed by using the "sessionInfo" function. In the following session, we see that rot_1.4.5 is used.

> sessionInfo()
R version 2.14.1 (2011-12-22)
Platform: x86_64-pc-linux-gnu (64-bit)

 [1] LC_CTYPE=fr_FR.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=fr_FR.UTF-8        LC_COLLATE=fr_FR.UTF-8    
 [7] LC_PAPER=C                 LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] rot_1.4.4

Failures during the 'make check' or 'make installcheck' stage

Your installation of R cannot find gs, the ghostscript interpret. It is a problem related to the packaging of R, you can fix it by installing gs.


Error while loading OpenTURNS python module

If when you load OpenTURNS python module, you have an "No module named openturns" error, like that :

Python 2.5.1 (r251:54863, Oct  5 2007, 13:36:32)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from openturns import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named openturns

You must define the PYTHONPATH environment variable to the directory where is installed your OpenTURNS' python module. On Linux, this module is located in the "prefix/lib/pythonX.Y/site-packages/openturns" directory where :

  • prefix is the directory where OpenTURNS is installed;
  • you use python version X.Y.

For example, on Linux, if have installed OpenTURNS in the "$HOME/openturns" directory and if you use python 2.5 you must run :

$ PYTHONPATH = $HOME/openturns/lib/python2.5/site-packages

before launching python.

Last modified 4 years ago Last modified on 07/31/13 16:56:20