How to install Tapenade

Linux or Mac OS X

Before installing Tapenade, you must check that an up-to-date Java Runtime Environment is installed. Tapenade will not run with older Java Runtime Environment.

  • Read the Tapenade license

  • Download tapenade_3.16.tar into your chosen installation directory “install_dir”

  • Go to your chosen installation directory “install_dir”, and extract Tapenade from the tar file :
    tar xvfz tapenade_3.16.tar

  • On Linux, depending on your distribution, Tapenade may require you to set the shell variable JAVA_HOME to your java installation directory. It is often JAVA_HOME=/usr/java/default.

For more information on the tapenade command and its arguments, type :
tapenade -?

Windows Platform

Before installing Tapenade, you must check that an up-to-date Java Runtime Environment is installed. Tapenade will not run with older Java Runtime Environment.
The Fortran parser of Tapenade uses cygwin.

  • Read the Tapenade license

  • Download tapenade_3.16.zip into your chosen installation directory “install_dir”

  • Go to your chosen installation directory “install_dir”, and extract Tapenade from the zip file.

  • Save a copy of the “install_dir”\tapenade_3.16\bin\tapenade.bat file and modify “install_dir”\tapenade_3.16\bin\tapenade.bat according to your installation parameters:
    replace TAPENADE_HOME=.. by TAPENADE_HOME="install_dir"\tapenade_3.16
    replace JAVA_HOME="C:\Progra~1\Java\jdkXXXX" by your current java directory
    replace BROWSER="C:\Program Files\Internet Explorer\iexplore.exe" by your current browser.

Running Tapenade from a docker container

docker container run --rm -v ${PWD}:/tapdir registry.gitlab.inria.fr/tapenade/tapenade -version

docker container run --rm -v ${PWD}:/tapdir -v /tmp:/tmp registry.gitlab.inria.fr/tapenade/tapenade -O /tmp program.c f.f90

On linux, add -u option: -u $(stat -c "%u:%g" ./)

To download the latest tapenade image:
docker pull registry.gitlab.inria.fr/tapenade/tapenade

Tapenade User Documentation

If you want to be kept informed about new developments and releases of Tapenade, subscribe to the tapenade-users mailing list.
Tapenade User Documentation is available on our web site.
The Tapenade Automatic Differentiation tool: principles, model, and specification is the Tapenade reference article.