Skip to content
Snippets Groups Projects
Commit e371f429 authored by Moe Jette's avatar Moe Jette
Browse files

Update the slurm/cray web page with respect to front-end system configuration

parent 410f22c3
No related branches found
No related tags found
No related merge requests found
......@@ -48,10 +48,14 @@ BATCH.</p>
<h3>SLURM configuration</h3>
<p>Three variables must be defined in the <i>config.h</i> file:
<p>Four variables must be defined in the <i>config.h</i> file:
<i>APBASIL_LOC</i> (location of the <i>apbasil</i> command),
<i>HAVE_FRONT_END</i>, <i>HAVE_CRAY_XT</i> and <i>HAVE_3D</i>.
This can be accomplished in several different ways depending upon how
SLURM is being built.
The <i>apbasil</i> command should automatically be found.
If that is not the case, please notify us of its location on your system
and we will add that to the search paths tested at configure time.
The other variable definitions can be initiated in several different
ways depending upon how SLURM is being built.
<ol>
<li>Execute the <i>configure</i> command with the option
<i>--enable-cray-xt</i> <b>OR</b></li>
......@@ -60,6 +64,15 @@ SLURM is being built.
<li>Add <i>%with_cray_xt 1</i> to your <i>~/.rpmmacros</i> file.</li>
</ol></p>
<p>One <i>slurmd</i> will be used to run all of the batch jobs on
the system. It is from here that users will execute <i>aprun</i>
commands to launch tasks.
This is specified in the <i>slurm.conf</i> file by using the
<i>NodeName</i> field to identify the compute nodes and both the
<i>NodeAddr</i> and <i>NodeHostname</i> fields to identify the
computer when <i>slurmd</i> runs (normally some sort of front-end node)
as seen in the examples below.</p>
<p>Next you need to select from two options for the resource selection
plugin (the <i>SelectType</i> option in SLURM's <i>slurm.conf</i> configuration
file):
......@@ -98,7 +111,7 @@ Two examples of SLURM configuration files are shown below:</p>
# Parameters removed here
SelectType=select/linear
NodeName=DEFAULT Procs=8 RealMemory=2048 State=Unknown
NodeName=tux[000x333]
NodeName=tux[000x333] NodeAddr=front_end NodeHostname=front_end
PartitionName=debug Nodes=tux[000x333] Default=Yes State=UP
</pre>
......@@ -107,14 +120,14 @@ PartitionName=debug Nodes=tux[000x333] Default=Yes State=UP
# Parameters removed here
SelectType=select/linear
NodeName=DEFAULT Procs=8 RealMemory=2048 State=Unknown
NodeName=tux000
NodeName=tux100
NodeName=tux110
NodeName=tux010
NodeName=tux011
NodeName=tux111
NodeName=tux101
NodeName=tux001
NodeName=tux000 NodeAddr=front_end NodeHostname=front_end
NodeName=tux100 NodeAddr=front_end NodeHostname=front_end
NodeName=tux110 NodeAddr=front_end NodeHostname=front_end
NodeName=tux010 NodeAddr=front_end NodeHostname=front_end
NodeName=tux011 NodeAddr=front_end NodeHostname=front_end
NodeName=tux111 NodeAddr=front_end NodeHostname=front_end
NodeName=tux101 NodeAddr=front_end NodeHostname=front_end
NodeName=tux001 NodeAddr=front_end NodeHostname=front_end
PartitionName=debug Nodes=tux[000x111] Default=Yes State=UP
</pre>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment