Prev Next

@(@\newcommand{\W}[1]{ \; #1 \; } \newcommand{\R}[1]{ {\rm #1} } \newcommand{\B}[1]{ {\bf #1} } \newcommand{\D}[2]{ \frac{\partial #1}{\partial #2} } \newcommand{\DD}[3]{ \frac{\partial^2 #1}{\partial #2 \partial #3} } \newcommand{\Dpow}[2]{ \frac{\partial^{#1}}{\partial {#2}^{#1}} } \newcommand{\dpow}[2]{ \frac{ {\rm d}^{#1}}{{\rm d}\, {#2}^{#1}} }@)@
Download and Install The CppAD Optional Packages

Syntax
bin/get_optional.sh


Purpose
If you are using Unix, this command will download and install all of the optional packages that can be used with CppAD.

Distribution Directory
This command must be executed in the distribution directory .

prefix
This is the prefix for installing the optional packages. It can be changed by editing its setting of prefix below in the file bin/get_optional.sh. Note that there can only be one setting that is not commented out with a # at the start of its line.

Absolute Path
If the first character in the prefix is a /, it is an absolute path; e.g., the following setting:

prefix="$HOME/prefix/cppad"

Relative Path
If the first character in the prefix is not a /, it is a path relative to the distribution directory; e.g., the following setting:

prefix="build/prefix"

Configuration
If you do an install and then change the prefix , you should delete all the files listed by the following command:
  ls external/*.configured

get_optional.log
This file contains the standard out output for each of the optional scripts in the order that they are executed.

get_optional.err
This file contains the standard error output for each of the optional scripts in the order that they are executed.

Contents
get_adolc.shDownload and Install Adolc in Build Directory
get_cppadcg.shDownload and Install CppADCodeGen in Build Directory
get_colpack.shDownload and Install ColPack in Build Directory
get_eigen.shDownload and Install Eigen in Build Directory
get_fadbad.shDownload and Install Fadbad in Build Directory
get_ipopt.shDownload and Install Ipopt in Build Directory
get_sacado.shDownload and Install Sacado in Build Directory

Input File: bin/get_optional.sh