File: cli-dvm-hostfile.rst

package info (click to toggle)
openmpi 5.0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 202,312 kB
  • sloc: ansic: 612,441; makefile: 42,495; sh: 11,230; javascript: 9,244; f90: 7,052; java: 6,404; perl: 5,154; python: 1,856; lex: 740; fortran: 61; cpp: 20; tcl: 12
file content (90 lines) | stat: -rw-r--r-- 2,749 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
.. -*- rst -*-

   Copyright (c) 2022-2023 Nanook Consulting.  All rights reserved.
   Copyright (c) 2023 Jeffrey M. Squyres.  All rights reserved.

   $COPYRIGHT$

   Additional copyrights may follow

   $HEADER$

.. The following line is included so that Sphinx won't complain
   about this file not being directly included in some toctree

PRRTE supports several levels of user-specified host lists based on an
established precedence order. Users can specify a default hostfile
that contains a list of nodes to be used by the DVM. Only one default
hostfile can be provided for a given DVM. In addition, users can
specify a hostfile that contains a list of nodes to be used for a DVM,
or can provide a comma-delimited list of nodes to be used for that DVM
via the ``--host`` command line option.

The precedence order applied to these various options depends to some
extent on the local environment. The following table illustrates how
host and hostfile directives work together to define the set of hosts
upon which a DVM will execute in the absence of a resource manager
(RM):

.. list-table::
   :header-rows: 1
   :widths: 10 7 10 32

   * - Default hostfile
     - host
     - hostfile
     - Result

   * - unset
     - unset
     - unset
     - | The DVN will consist solely of the
       | local host where the DVM
       | was started.

   * - unset
     - set
     - unset
     - | Host option defines resource list for the DVM.

   * - unset
     - unset
     - set
     - | Hostfile option defines resource list for the DVM.

   * - unset
     - set
     - set
     - | Hostfile option defines resource list for the DVM,
       | then host filters the list to define the final
       | set of nodes to be used by the DVM

   * - set
     - unset
     - unset
     - | Default hostfile defines resource list for the DVM

   * - set
     - set
     - unset
     - | Default hostfile defines resource list for the DVM,
       | then host filters the list to define the final
       | set of nodes to be used by the DVM

   * - set
     - set
     - set
     - | Default hostfile defines resource list for the DVM,
       | then hostfile filters the list, and then host filters
       | the list to define the final set of nodes to be
       | used by the DVM

This changes somewhat in the presence of an RM as that entity
specifies the initial allocation of nodes. In this case, the default
hostfile, hostfile and host directives are all used to filter the RM's
specification so that a user can utilize different portions of the
allocation for different DVMs. This is done according to the same
precedence order as in the prior table, with the RM providing the
initial pool of nodes.

.. include:: /prrte-rst-content/detail-hostfiles.rst