[Swift-commit] r8466 - www/Swift-T
wozniak at ci.uchicago.edu
wozniak at ci.uchicago.edu
Fri Jul 17 13:25:37 CDT 2015
Author: wozniak
Date: 2015-07-17 13:25:37 -0500 (Fri, 17 Jul 2015)
New Revision: 8466
Modified:
www/Swift-T/turbine-sites.html
Log:
Update Midway notes
Modified: www/Swift-T/turbine-sites.html
===================================================================
--- www/Swift-T/turbine-sites.html 2015-06-17 22:07:39 UTC (rev 8465)
+++ www/Swift-T/turbine-sites.html 2015-07-17 18:25:37 UTC (rev 8466)
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.9" />
+<meta name="generator" content="AsciiDoc 8.6.8" />
<title>Turbine Sites Guide</title>
<style type="text/css">
/* Shared CSS for AsciiDoc xhtml11 and html5 backends */
@@ -94,10 +94,8 @@
padding: 0;
margin: 0;
}
-pre {
- white-space: pre-wrap;
-}
+
#author {
color: #527bbd;
font-weight: bold;
@@ -225,7 +223,7 @@
}
div.imageblock div.content { padding-left: 0; }
-span.image img { border-style: none; vertical-align: text-bottom; }
+span.image img { border-style: none; }
a.image:visited { color: white; }
dl {
@@ -536,7 +534,7 @@
-/* SWIFT/T GUIDE CUSTOMIZATIONS */
+/* Swift/T guide customizations */
a:visited {
color: gray;
@@ -544,7 +542,6 @@
h5 {
font-size: 0.8em;
}
-
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -757,30 +754,17 @@
<div class="sect1">
<h2 id="_how_to_use_this_guide">How to use this guide</h2>
<div class="sectionbody">
-<div class="paragraph"><p>This manual provides a reference on how to run Swift/T Turbine
+<div class="paragraph"><p>This manual provides a reference on how to run Swift/Turbine
programs on a variety of systems. It also contains an index of sites
maintained by the Swift/T team for use by Turbine.</p></div>
<div class="paragraph"><p>For each machine, a <strong>public installation</strong> and/or a <strong>build procedure</strong> will
-be provided. The user need only follow one set of directions.</p></div>
+be provided. The user need follow only one set of directions.</p></div>
<div class="paragraph" id="login_node"><p>A <strong>login node installation</strong> may be available on certain systems. This
will run Swift/T on the login node of that system. This only
acceptable for short debugging runs of 1 minute or less. If you do
this, you should run <code>swift-t</code> or <code>turbine</code> under the <code>nice</code> command.
It will affect other users so please be cautious when using this mode
for debugging.</p></div>
-<div class="admonitionblock">
-<table><tr>
-<td class="icon">
-<div class="title">Tip</div>
-</td>
-<td class="content">When running on a big HPC machine, it may be difficult to get STC
-(a Java-based program) running. STC output (<code>program.tic</code>) is
-platform-independent. You may run STC to develop and debug your
-script on your local workstation, then simply copy <code>program.tic</code> to
-the big machine for execution. Just make sure that the STC and
-Turbine versions are compatible (the same release number).</td>
-</tr></table>
-</div>
<div class="sect2">
<h3 id="_public_installations">Public installations</h3>
<div class="paragraph"><p>These are maintained by the Swift/T team. Because they may become out
@@ -836,6 +820,23 @@
</div>
</div>
<div class="sect1">
+<h2 id="_swift_turbine_compilation">Swift-Turbine compilation</h2>
+<div class="sectionbody">
+<div class="paragraph"><p>Swift/T usage starts with developing and testing a Swift/T script.
+See the main <a href="guide.html">Swift/T usage guide</a> for more
+information.</p></div>
+<div class="paragraph"><p>In short, you use STC to compile the Swift script into a format that
+the runtime, Turbine, can run. You may compile and run in one step
+with <code>swift-t</code> or run <code>stc</code> and <code>turbine</code> separately.</p></div>
+<div class="paragraph"><p>When running on a big HPC machine, it may be difficult to get STC
+(a Java-based program) running. STC output (<code>program.tic</code>) is
+platform-independent. You may run STC to develop and debug your
+script on your local workstation, then simply copy <code>program.tic</code> to
+the big machine for execution. Just make sure that the STC and
+Turbine versions are compatible (the same release number).</p></div>
+</div>
+</div>
+<div class="sect1">
<h2 id="_turbine_as_mpi_program">Turbine as MPI program</h2>
<div class="sectionbody">
<div class="paragraph"><p>Turbine is a moderately complex MPI program. It is essentially a Tcl
@@ -922,17 +923,28 @@
</dd>
</dl></div>
<div class="paragraph"><p>Each script accepts input via environment variables and command-line options.</p></div>
-<div class="paragraph"><p>A typical invocation is:</p></div>
+<div class="paragraph"><p>The <code>swift-t</code> and <code>turbine</code> programs have a <code>-m</code> option that accepts
+<code>pbs</code>, <code>cobalt</code>, <code>cray</code>, or <code>slurm</code>.</p></div>
+<div class="paragraph"><p>A typical invocation is (one step compile-and-run):</p></div>
<div class="listingblock">
<div class="content">
<pre><code>swift-t -m pbs -n 96 -s settings.sh program.swift</code></pre>
</div></div>
-<div class="paragraph"><p>or:</p></div>
+<div class="paragraph"><p>or (just compile):</p></div>
<div class="listingblock">
<div class="content">
-<pre><code>stc program.swift
-turbine-pbs-run.zsh -n 96 -s settings.sh program.tic</code></pre>
+<pre><code>stc program.swift</code></pre>
</div></div>
+<div class="paragraph"><p>or (just run):</p></div>
+<div class="listingblock">
+<div class="content">
+<pre><code>turbine -m pbs -n 96 -s settings.sh program.tic</code></pre>
+</div></div>
+<div class="paragraph"><p>or (just run):</p></div>
+<div class="listingblock">
+<div class="content">
+<pre><code>turbine-pbs-run.zsh -n 96 -s settings.sh program.tic</code></pre>
+</div></div>
<div class="paragraph"><p>which are equivalent.</p></div>
<div class="paragraph"><p><code>program.tic</code> is the output of STC and <code>settings.sh</code> contains:</p></div>
<div class="listingblock">
@@ -1250,18 +1262,23 @@
<div class="paragraph"><p>Midway is a mid-sized SLURM cluster at the University of Chicago</p></div>
<div class="sect3">
<h4 id="_public_installation_2">Public installation</h4>
-<div class="paragraph"><p><strong>As of:</strong> 0.2.1 - 02/11/2013</p></div>
+<div class="paragraph"><p><strong>As of:</strong> master - 07/17/2015</p></div>
<div class="ulist"><ul>
<li>
<p>
-STC: <code>~wozniak/Public/stc-0.0.3/bin/stc</code>
+STC: <code>~wozniak/Public/sfw/compute/gcc/stc/bin</code>
</p>
</li>
+<li>
+<p>
+Turbine: <code>~wozniak/Public/sfw/compute/gcc/turbine/bin</code>
+</p>
+</li>
</ul></div>
<div class="paragraph"><p>To run:</p></div>
<div class="listingblock">
<div class="content">
-<pre><code>srun ~wozniak/Public/turbine-0.1.1/scripts/submit/slurm/turbine-slurm.sh -n 3 ~/program.tic</code></pre>
+<pre><code>swift-t -m slurm -n 2 program.swift</code></pre>
</div></div>
</div>
<div class="sect3">
@@ -1631,34 +1648,43 @@
<div class="paragraph"><p>The normal Turbine environment variables are honored, plus the
<a href="#variables">Turbine scheduler variables</a>.</p></div>
<div class="sect4">
-<h5 id="_public_installation_vesta">Public installation: Vesta</h5>
-<div class="paragraph"><p><strong>As of:</strong> 0.7.0 - 12/16/2014</p></div>
+<h5 id="_public_installation_mira_cetus">Public installation: Mira/Cetus</h5>
+<div class="paragraph"><p><strong>As of:</strong> 0.8.0 - 5/26/2015</p></div>
<div class="ulist"><ul>
<li>
<p>
-STC: <code>~wozniak/Public/sfw/stc/bin/stc</code>
+Swift/T: <code>/soft/workflows/swift/T/stc/bin/swift-t</code>
</p>
</li>
<li>
<p>
-Turbine: <code>~wozniak/Public/sfw/turbine/scripts/submit/cobalt/turbine-cobalt-run.zsh</code>
+STC: <code>/soft/workflows/swift/T/stc/bin/swift-t</code>
</p>
</li>
+<li>
+<p>
+Turbine: <code>/soft/workflows/swift/T/turbine/bin/turbine</code>
+</p>
+</li>
+<li>
+<p>
+Turbine/Cobalt: <code>/soft/workflows/swift/T/turbine/scripts/submit/cobalt/turbine-cobalt-run.zsh</code>
+</p>
+</li>
</ul></div>
</div>
<div class="sect4">
-<h5 id="_public_installation_mira_cetus">Public installation: Mira/Cetus</h5>
-<div class="paragraph"><p><strong>As of:</strong> 0.5.0 - 4/4/2014</p></div>
+<h5 id="_public_installation_vesta">Public installation: Vesta</h5>
+<div class="paragraph"><p><strong>As of:</strong> 0.7.0 - 12/16/2014</p></div>
<div class="ulist"><ul>
<li>
<p>
-STC: <code>~wozniak/Public/ppc64/stc/bin/stc</code>
+STC: <code>~wozniak/Public/sfw/stc/bin/stc</code>
</p>
</li>
<li>
<p>
-Turbine:
-<code>~wozniak/Public/ppc64/turbine/scripts/submit/cobalt/turbine-cobalt-run.zsh</code>
+Turbine: <code>~wozniak/Public/sfw/turbine/scripts/submit/cobalt/turbine-cobalt-run.zsh</code>
</p>
</li>
</ul></div>
@@ -2670,7 +2696,7 @@
<div id="footer">
<div id="footer-text">
Version 0.8.0<br />
-Last updated 2015-05-04 13:53:16 CDT
+Last updated 2015-07-17 12:02:24 CDT
</div>
</div>
</body>
More information about the Swift-commit
mailing list