From 5ecc5cf3e387858938c482d97ab3f89b4ad2cacb Mon Sep 17 00:00:00 2001
From: Morris Jette <jette@schedmd.com>
Date: Mon, 11 Jul 2011 09:41:48 -0700
Subject: [PATCH] Update to Cray docs

---
 doc/html/cray.shtml            | 40 +---------------------------------
 doc/html/gang_scheduling.shtml |  3 +--
 doc/man/man5/slurm.conf.5      |  4 ++++
 3 files changed, 6 insertions(+), 41 deletions(-)

diff --git a/doc/html/cray.shtml b/doc/html/cray.shtml
index 5584d5b6f92..4c3390dd58a 100644
--- a/doc/html/cray.shtml
+++ b/doc/html/cray.shtml
@@ -489,46 +489,8 @@ ulimit -t unlimited	# max amount of CPU time in seconds
 ulimit -d unlimited	# max size of a process's data segment in KB
 </pre>
 
-<a name="gang"><h3>Gang Scheduling</h3></a>
-
-<p>SLURM version 2.3.0-pre7 (or higher) can be used with BASIL version 1.2 or
-higher to gang schedule (time-slice) parallell jobs. Review SLURM's
-<a href="gang_scheduling.html">Gang Scheduling</a> guide for general
-information about gang scheduling. Be certain to configure approriate values
-for default and/or maximum memory limits (e.g. <b>DefMemPerNode</b> and
-<b>MaxMemPerNode</b>), enable enforcement of memory limits (e.g.
-<b>SelectTypeParameters=CR_Memory</b>), set an appropriate multi-programming
-level in each partition (e.g. <b>Shared=FORCE:2</b>), and enable gang
-scheduling (e.g. <b>PreemptMode=GANG</b>).</p>
-<pre>
-# Excerpt of slurm.conf
-DefMemPerNode=8000
-MaxMemPerNode=8000
-SelectType=select/cray
-SelectTypeParameters=CR_Memeory
-PreemptMode=GANG
-FrontEndName=frontend[00-03]
-NodeName=nid[00000-00511] Memory=32000 CPUs=6
-PartitionName=batch Nodes=nid[00000-00511] Shared=FORCE:4
-</pre>
-
-<p>ALPS' configuration file, <i>alps.conf</i>, also requires some modifcations
-in order to support gang scheduling. A sample configuration is shown below.
-Of particular note, <b>slice</b> is the time slice interval and should be set
-equal to zero in order for an entity external to ALPS (i.e. SLURM) to control
-when jobs are suspended and resumed. <b>loadLimit</b> indicates the maximum
-number of jobs per node and should be set to 2 for a Gemini interconnect and
-up to 4 otherwise.</p>
-<pre>
-# Excerpt of alps.conf
-nodeShare  share  # over-subscribe nodes
-sliceArch  xt
-slice      0
-loadLimit  4      # set to 2 for Gemini
-</pre>
-
 <p class="footer"><a href="#top">top</a></p>
 
-<p style="text-align:center;">Last modified 28 June 2011</p></td>
+<p style="text-align:center;">Last modified 11 July 2011</p></td>
 
 <!--#include virtual="footer.txt"-->
diff --git a/doc/html/gang_scheduling.shtml b/doc/html/gang_scheduling.shtml
index d28126cf034..bda5ef24634 100644
--- a/doc/html/gang_scheduling.shtml
+++ b/doc/html/gang_scheduling.shtml
@@ -48,8 +48,7 @@ gang scheduling:
 <LI>
 <B>SelectType</B>: The SLURM gang scheduler supports nodes
 allocated by the <I>select/linear</I> plugin and socket/core/CPU resources
-allocated by the <I>select/cons_res</I> plugin. The <I>select/cray</I> is
-also supported for Cray computers running BASIL version 1.2 or higher.
+allocated by the <I>select/cons_res</I> plugin.
 </LI>
 <LI>
 <B>SelectTypeParameter</B>: Since resources will be getting overallocated
diff --git a/doc/man/man5/slurm.conf.5 b/doc/man/man5/slurm.conf.5
index 03a5f443863..766e307cee5 100644
--- a/doc/man/man5/slurm.conf.5
+++ b/doc/man/man5/slurm.conf.5
@@ -1472,6 +1472,10 @@ See the partition \fBShared\fR parameter for more information.
 \fBselect/bluegene\fR
 for a three\-dimensional BlueGene system.
 The default value is "select/bluegene" for BlueGene systems.
+.TP
+\fBselect/cray\fR
+for a Cray system.
+The default value is "select/cray" for all Cray systems.
 .RE
 
 .TP
-- 
GitLab