<?xml version='1.0'?>
<html xmlns='http://www.w3.org/1999/xhtml'
      xmlns:math='http://www.w3.org/1998/Math/MathML'
>
<head>
<title>Download and Install Adolc in Build Directory</title>
<meta name="description" id="description" content="Download and Install Adolc in Build Directory"/>
<meta name="keywords" id="keywords" content=" adolc download and install "/>
<style type='text/css'>
body { color : black }
body { background-color : white }
A:link { color : blue }
A:visited { color : purple }
A:active { color : purple }
</style>
<script type='text/javascript' language='JavaScript' src='_get_adolc.sh_xml.js'>
</script>
</head>
<body>
<table><tr>
<td>
<a href="http://www.coin-or.org/CppAD/" target="_top"><img border="0" src="_image.gif"/></a>
</td>
<td><a href="adolc_prefix.xml" target="_top">Prev</a>
</td><td><a href="colpack_prefix.xml" target="_top">Next</a>
</td><td>
<select onchange='choose_across0(this)'>
<option>Index-&gt;</option>
<option>contents</option>
<option>reference</option>
<option>index</option>
<option>search</option>
<option>external</option>
</select>
</td>
<td>
<select onchange='choose_up0(this)'>
<option>Up-&gt;</option>
<option>CppAD</option>
<option>Install</option>
<option>cmake</option>
<option>adolc_prefix</option>
<option>get_adolc.sh</option>
</select>
</td>
<td>
<select onchange='choose_down3(this)'>
<option>Install-&gt;</option>
<option>download</option>
<option>cmake</option>
<option>cmake_check</option>
<option>pkgconfig</option>
<option>InstallUnix</option>
</select>
</td>
<td>
<select onchange='choose_down2(this)'>
<option>cmake-&gt;</option>
<option>adolc_prefix</option>
<option>colpack_prefix</option>
<option>eigen_prefix</option>
<option>fadbad_prefix</option>
<option>ipopt_prefix</option>
<option>sacado_prefix</option>
<option>cppad_testvector</option>
</select>
</td>
<td>
<select onchange='choose_down1(this)'>
<option>adolc_prefix-&gt;</option>
<option>get_adolc.sh</option>
</select>
</td>
<td>get_adolc.sh</td>
<td>
<select onchange='choose_current0(this)'>
<option>Headings-&gt;</option>
<option>Syntax</option>
<option>Purpose</option>
<option>Requirements</option>
<option>Distribution Directory</option>
<option>External Directory</option>
<option>Prefix Directory</option>
<option>Reuse</option>
</select>
</td>
</tr></table><br/>
 


<center><b><big><big>Download and Install Adolc in Build Directory</big></big></b></center>
<br/>
<b><big><a name="Syntax" id="Syntax">Syntax</a></big></b>

<code><font color="blue"><br/>
bin/get_adolc.sh</font></code>

<br/>
<br/>
<b><big><a name="Purpose" id="Purpose">Purpose</a></big></b>
<br/>
If you are using Unix, this command will download and install 
<a href="https://projects.coin-or.org/ADOL-C" target="_top"><span style='white-space: nowrap'>ADOL-C</span></a>
 in the
CppAD <code><font color="blue">build</font></code> directory.

<br/>
<br/>
<b><big><a name="Requirements" id="Requirements">Requirements</a></big></b>
<br/>
You must first use <a href="get_colpack.sh.xml" target="_top"><span style='white-space: nowrap'>get_colpack.sh</span></a>
 to download and install
<code><font color="blue">ColPack</font></code> (coloring algorithms used for sparse matrix derivatives).

<br/>
<br/>
<b><big><a name="Distribution Directory" id="Distribution Directory">Distribution Directory</a></big></b>
<br/>
This command must be executed in the 
<a href="download.xml#Distribution Directory" target="_top"><span style='white-space: nowrap'>distribution&#xA0;directory</span></a>
.

<br/>
<br/>
<b><big><a name="External Directory" id="External Directory">External Directory</a></big></b>
<br/>
The Adolc source code is downloaded into the sub-directory
<code><font color="blue">build/external</font></code> below the distribution directory.

<br/>
<br/>
<b><big><a name="Prefix Directory" id="Prefix Directory">Prefix Directory</a></big></b>
<br/>
The Adolc include files are installed in the sub-directory
<code><font color="blue">build/prefix/include/adolc</font></code> below the distribution directory.

<br/>
<br/>
<b><big><a name="Reuse" id="Reuse">Reuse</a></big></b>
<br/>
The files 
<code><font color="blue"><span style='white-space: nowrap'>build/external/ADOL-C-</span></font><i><font color="black"><span style='white-space: nowrap'>version</span></font></i><font color="blue"><span style='white-space: nowrap'>.tgz</span></font></code>

and the directory 
<code><font color="blue"><span style='white-space: nowrap'>build/external/ADOL-C-</span></font><i><font color="black"><span style='white-space: nowrap'>version</span></font></i></code>

will be reused if they exist. Delete this file and directory
to get a complete rebuild.


<hr/>Input File: bin/get_adolc.sh

</body>
</html>
