\(\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}} }\)
get_optional.sh¶
View page sourceDownload 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
MacOS with Homebrew¶
If you are using MacOS with homebrew, get_optional requires
the gnu versions of grep and sed; i.e., ggrep
and gsed
.
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¶
Name |
Title |
---|---|
get_adolc.sh |
|
get_cppadcg.sh |
|
get_colpack.sh |
|
get_fadbad.sh |
|
get_ipopt.sh |
|
get_sacado.sh |