<?php
// Master page variables
$path_to_root  = "../";
$page_subtitle = "Downloads";

// -- $page_content placeholder
ob_start (); ?>
<hr />
<a name="top"></a>
<a href="#runtime">Runtime Architecture</a> &middot;
<a href="#modeling">Modeling Tools for CoSMIC</a>
<hr />
</a>

<!-- begin CUTS runtime architecture -->
<a name="runtime"></a>
<h2 style="text-decoration:underline">CUTS Runtime Architecture</h2>

<h3>System Requirements</h3>

<p>The following are the miminal system requirements for installing the
CUTS building and installing the CUTS runtime architecture.</p>

<ul>
  <li><a href="http://www.dre.vanderbilt.edu/TAO">ACE + TAO</a></li>
</ul>

<!-- div style="font-weight:bold">Note to Linux Users</div>
If you are building and installing the database features of CUTS in the
Linux/Unix environment, please have the most recent version of
<a href="http://www.unixodbc.org" target="_blank">UnixODBC</a> installed.-->

<h3>Obtaining CUTS</h3>

<p>You can obtain the latest snapshot of the CUTS runtime architecture from the
DOC Group <a href="http://subversion.tigris.org" target="_blank">Subversion</a>
repository:</p>

<code>svn://svn.dre.vanderbilt.edu/DOC/CUTS/trunk</code>

<h3>Building and Installing</h3>

Use the follow steps to build and install the CUTS runtime architecture:

<ol>
  <li><p>Set the environment variable <code>CUTS_ROOT=&lt;path_to_CUTS&gt;</CODE>.</li>

  <li>
    <p><b>non-Windows:</b> set <code>PATH=$PATH:$CUTS_ROOT/bin</code> and set
    <code>LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CUTS_ROOT/lib</code></p>
    <p><b>Windows:</b> set <code>PATH=%PATH%;%CUTS_ROOT%/bin;%CUTS_ROOT/lib</code></p>
  </li>

  <li><p>Determine what features located in <code>$CUTS_ROOT/default.features</code> are
  needed to build your version of CUTS. Under normal circumstances you will not need
  to change any of the settings in <code>default.features</code>. However, if you are
  building CUTS with database support of unixODBC, then you will need to change this
  file.</p></li>

  <li><p>Run the Makefile, Project, Workspace Creator (MPC) utility on
  <code>$CUTS_ROOT/CUTS.mwc</code> using the following command:</p>

  <pre>
  %> $ACE_ROOT/bin/mwc.pl [command-line args] CUTS.mwc
  %> $ACE_ROOT/bin/mwc.pl --help        # for help
  </pre></li>

  <li><p>Build the generated workspace with the target build tool and you
  are ready to go.</p></li>
</ol>

<h3>Verifying the Installation</h3>
<p>Once the build is complete, all shared libraries will be located
in <code>$CUTS_ROOT/lib</code>. The respective binaries for the
shared libraries located in <code>$CUTS_ROOT/lib</code> will be
located in <code>$CUTS_ROOT/bin</code>. Executables specific to CUTS
will be located in <code>$CUTS_ROOT/bin</code>.

<p style="text-align:right">[<a href="#top">Back to Top</a>]</p>
<hr />

<!-- begin CUTS Modeling Tools -->
<a name="modeling"></a>
<h2 style="text-decoration:underline">CUTS Modeling Tools for CoSMIC</h2>

<h3>System Requirements</h3>
<p>The following are the miminal system requirements for installing the
CUTS modeling tools.</p>

<ul>
  <li><a href="http://www.dre.vanderbilt.edu/CoSMIC" title="CoSMIC home page">
    Component Synthesis with Model Integrated Computing (CoSMIC)</a></li>
</ul>

<h3>Installation</h3>
<p>Click the link below to download and install the CUTS modeling tools for CoSMIC.</p>

<table width="100%">
  <tr style="text-decoration:underline; text-align:left">
    <th style="width: 200px">Filename (KB)</th>
    <th style="width: 200px">Last Updated</th>
  </tr>
  <tr>
    <td><a href="CUTS_CoSMIC.msi">CUTS_CoSMIC.msi</a>
    (<?php echo floor (filesize ('CUTS_CoSMIC.msi') / 1024) . ' KB' ?>)</td>
    <td><?php echo date ('D, M j Y, H:i:s', filemtime ('CUTS_CoSMIC.msi')) ?></td>
  </tr>
</table>

<h3>Verifying the Installation</h3>
<p>Once the installation is complete, the CUTS interpreter will apprear as a
scissor icon in the interpreter toolbar for PICML projects.</p>

<p style="text-align:right">[<a href="#top">Back to Top</a>]</p>

<?php
// Fill the content of the page_content placeholder
$page_content = ob_get_clean ();

// Include the master page
require_once ("../cuts.master.php");
?>

