-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move "big" explanations into the "main" PRRTE RST docs, and have show_help / man pages mainly be listings of CLI options/values. Signed-off-by: Jeff Squyres <[email protected]>
- Loading branch information
Showing
82 changed files
with
598 additions
and
630 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
.. _hosts-cli-label: | ||
|
||
Listing Hosts on the Command Line | ||
================================= | ||
|
||
Many PRRTE commands accept the ``--host`` CLI parameter. | ||
``--host`` accepts a comma-delimited list of tokens of the form: | ||
|
||
.. code:: | ||
host[:slots] | ||
The ``host`` token can be either: | ||
|
||
* A name that resolves to an IP address, or | ||
* An IP address | ||
|
||
.. note:: The names and/or IP addresses of hosts are *only* used for | ||
identifying the target host on which to launch. They are | ||
*not* used for determining which network interfaces are used | ||
by applications (e.g., MPI or other network-based | ||
applications). | ||
|
||
For network-based applications, consult their documentation | ||
for how to specify which network interfaces are used. | ||
|
||
The optional integer ``:slots`` parameter tells PRRTE the maximum | ||
number of slots to use on that host (:ref:`see this section | ||
<placement-definition-of-slot-label>` for a description of what a | ||
"slot" is). | ||
|
||
For example: | ||
|
||
.. code:: | ||
prterun --host node1:10,node2,node3:5 ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
Hostfiles | ||
========= | ||
|
||
Hostfiles (sometimes called "machine files") are a combination of two | ||
things: | ||
|
||
#. A listing of hosts on which to launch processes. | ||
#. Optionally, limit the number of processes which can be launched on | ||
each host. | ||
|
||
Syntax | ||
------ | ||
|
||
Hostfile syntax consists of one node name on each line, optionally | ||
including a designated number of "slots": | ||
|
||
.. code:: sh | ||
# This is a comment line, and will be ignored | ||
node01 slots=10 | ||
node13 slots=5 | ||
node15 | ||
node16 | ||
node17 slots=3 | ||
... | ||
Blank lines and lines beginning with a ``#`` are ignored. | ||
|
||
A "slot" is the PRRTE term for an allocatable unit where we can launch | ||
a process. :ref:`See this section | ||
<placement-definition-of-slot-label>` for a longer description of | ||
slots. | ||
|
||
In the absence of the ``slot`` parameter, PRRTE will assign either the | ||
number of slots to be the number of CPUs detected on the node or the | ||
resource manager-assigned value if operating in the presence of an | ||
RM. | ||
|
||
.. important:: If using a resource manager, the user-specified number | ||
of slots is capped by the RM-assigned value. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Host specification | ||
================== | ||
|
||
PRRTE identifies hosts on which to launch processes by: | ||
|
||
#. A Resource Manager (RM) telling PRRTE which hosts to use | ||
#. The user providing a hostfile (also sometimes called a "machine | ||
file") | ||
#. The user providing a list of hosts on the command line | ||
|
||
The sections below describe each of these in more detail. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
rm | ||
hostfiles | ||
cli | ||
relative-indexing |
3 changes: 3 additions & 0 deletions
3
...ntent/common-schizo-relative-indexing.rst → docs/hosts/relative-indexing.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Resource Manager-Provided Hosts | ||
=============================== | ||
|
||
When launching under a Resource Manager (RM), the RM usually | ||
picks which hosts |mdash| and how many processes can be launched on | ||
each host |mdash| on a per-job basis. | ||
|
||
The RM will communicate this information to PRRTE directly; users can | ||
simply omit specifying hosts or numbers of processes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.