Windows environment are not supported, unless you are a Windows guru developper. We do not provide any help for Windows users.
We assume you are familiar with the Linux or MacOS development environment for compiling Fortran and C programs. The training session requires the following tools : a terminal window, gcc, gfortran, ghostview (optional), make, java, tapenade.
We describe here all the steps and tools that are needed to use TAPENADE. All these steps require an UNIX terminal and a basic knowledge of an Unix shell such as bash. To open an UNIX terminal window, click on the "Terminal" icon from the Applications menu or toolbar. The location of the icon depends on your environment. An UNIX Terminal window will then appear with a % prompt, waiting for you to start entering commands.
Verify you have all the needed commands :
% gcc --version
% gfortran --version
% ghostview --version
% make --version
If some of these commands are not found, install them on your computer.
If your Java Environment is not up-to-date, you can download and install the latest Java Runtime Environment (Java SE 8) from the java.sun.com site or from the Apple site.
Read the TAPENADE license and download tapenade3.9.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 tapenade3.9.tar
Add the following shell variable into your shell environment :
% TAPENADE_HOME="install_dir"/tapenade3.9
Moreover 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_HOME/bin/tapenade -?
You may add the tapenade command in your PATH environment by using :
% PATH=$TAPENADE_HOME/bin/:$PATH
Test your installation with the following command :
% $TAPENADE_HOME/bin/tapenade -version
You may get "kernel too old" error message if your Linux distribution is not up-to-date. Reinstall a newer Linux distribution on your computer.
You may get "java.lang.UnsupportedClassVersionError" error message if your Java Environment is not up-to-date. Reinstall a newer Java Environment.