Skip to content

Commit 168a56f

Browse files
authored
Merge pull request #6061 from jsquyres/pr/update-out-of-slots-show-help-message
orte-rmaps-base: update out-of-slots show_help message
2 parents efe72d3 + 430c659 commit 168a56f

File tree

5 files changed

+32
-42
lines changed

5 files changed

+32
-42
lines changed

orte/mca/rmaps/base/help-orte-rmaps-base.txt

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# University of Stuttgart. All rights reserved.
1111
# Copyright (c) 2004-2005 The Regents of the University of California.
1212
# All rights reserved.
13-
# Copyright (c) 2011-2015 Cisco Systems, Inc. All rights reserved.
13+
# Copyright (c) 2011-2018 Cisco Systems, Inc. All rights reserved.
1414
# Copyright (c) 2011 Los Alamos National Security, LLC.
1515
# All rights reserved.
1616
# Copyright (c) 2014-2018 Intel, Inc. All rights reserved.
@@ -23,12 +23,35 @@
2323
# This is the US/English general help file for Open RTE's orterun.
2424
#
2525
[orte-rmaps-base:alloc-error]
26-
There are not enough slots available in the system to satisfy the %d slots
27-
that were requested by the application:
26+
There are not enough slots available in the system to satisfy the %d
27+
slots that were requested by the application:
28+
2829
%s
2930

30-
Either request fewer slots for your application, or make more slots available
31-
for use.
31+
Either request fewer slots for your application, or make more slots
32+
available for use.
33+
34+
A "slot" is the Open MPI term for an allocatable unit where we can
35+
launch a process. The number of slots available are defined by the
36+
environment in which Open MPI processes are run:
37+
38+
1. Hostfile, via "slots=N" clauses (N defaults to number of
39+
processor cores if not provided)
40+
2. The --host:N command line parameter (N defaults to 1 if not
41+
provided)
42+
3. Resource manager (e.g., SLURM, PBS/Torque, LSF, etc.)
43+
4. If neither a hostfile, the --hosts command line parameter, nor an
44+
RM is present, Open MPI defaults to the number of processor
45+
cores
46+
47+
In all the above cases, if you want Open MPI to default to the number
48+
of hardware threads instead of the number of processor cores, use the
49+
--use-hwthread-cpus option.
50+
51+
Alternatively, you can use the --oversubscribe option to ignore the
52+
number of available slots when deciding the number of processes to
53+
launch.
54+
#
3255
[orte-rmaps-base:not-all-mapped-alloc]
3356
Some of the requested hosts are not included in the current allocation for the
3457
application:

orte/mca/rmaps/rank_file/help-rmaps_rank_file.txt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright (c) 2004-2005 The Regents of the University of California.
22
# All rights reserved.
3-
# Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
3+
# Copyright (c) 2011-2018 Cisco Systems, Inc. All rights reserved.
44
# Copyright (c) 2013 Los Alamos National Security, LLC.
55
# All rights reserved.
66
# $COPYRIGHT$
@@ -90,14 +90,6 @@ some systems may require using full hostnames, such as
9090
[bad-index]
9191
Rankfile claimed host %s by index that is bigger than number of allocated hosts.
9292
#
93-
[orte-rmaps-rf:alloc-error]
94-
There are not enough slots available in the system to satisfy the %d slots
95-
that were requested by the application:
96-
%s
97-
98-
Either request fewer slots for your application, or make more slots available
99-
for use.
100-
#
10193
[bad-rankfile]
10294
Error, invalid rank (%d) in the rankfile (%s)
10395
#

orte/mca/rmaps/round_robin/help-orte-rmaps-rr.txt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# Copyright (c) 2004-2005 The Regents of the University of California.
1212
# All rights reserved.
1313
# Copyright (c) 2017 Intel, Inc. All rights reserved.
14+
# Copyright (c) 2018 Cisco Systems, Inc. All rights reserved.
1415
# $COPYRIGHT$
1516
#
1617
# Additional copyrights may follow
@@ -19,15 +20,6 @@
1920
#
2021
# This is the US/English general help file for Open RTE's orterun.
2122
#
22-
[orte-rmaps-rr:alloc-error]
23-
There are not enough slots available in the system to satisfy the %d slots
24-
that were requested:
25-
26-
application: %s
27-
host: %s
28-
29-
Either request fewer slots for your application, or make more slots available
30-
for use.
3123
[orte-rmaps-rr:multi-apps-and-zero-np]
3224
RMAPS found multiple applications to be launched, with
3325
at least one that failed to specify the number of processes to execute.

orte/mca/rmaps/seq/help-orte-rmaps-seq.txt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
# University of Stuttgart. All rights reserved.
1111
# Copyright (c) 2004-2005 The Regents of the University of California.
1212
# All rights reserved.
13+
# Copyright (c) 2018 Cisco Systems, Inc. All rights reserved.
1314
# $COPYRIGHT$
1415
#
1516
# Additional copyrights may follow
@@ -18,19 +19,8 @@
1819
#
1920
# This is the US/English general help file for Open RTE's orterun.
2021
#
21-
[orte-rmaps-seq:alloc-error]
22-
There are not enough slots available in the system to satisfy the %d slots
23-
that were requested by the application:
24-
25-
%s
26-
27-
Either request fewer slots for your application or make more slots
28-
available for use. If oversubscription is intended, add
29-
--oversubscribe to the command line.
30-
#
3122
[orte-rmaps-seq:resource-not-found]
3223
The specified hostfile contained a node (%s) that is not in your
3324
allocation. We therefore cannot map a process rank to it. Please
3425
check your allocation and hostfile to ensure the hostfile only
3526
contains allocated nodes.
36-

orte/mca/rtc/base/help-orte-rtc-base.txt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# University of Stuttgart. All rights reserved.
1111
# Copyright (c) 2004-2005 The Regents of the University of California.
1212
# All rights reserved.
13-
# Copyright (c) 2011-2014 Cisco Systems, Inc. All rights reserved.
13+
# Copyright (c) 2011-2018 Cisco Systems, Inc. All rights reserved.
1414
# Copyright (c) 2011 Los Alamos National Security, LLC.
1515
# All rights reserved.
1616
# Copyright (c) 2014 Intel, Inc. All rights reserved.
@@ -22,13 +22,6 @@
2222
#
2323
# This is the US/English general help file for Open RTE's orterun.
2424
#
25-
[orte-rtc-base:alloc-error]
26-
There are not enough slots available in the system to satisfy the %d slots
27-
that were requested by the application:
28-
%s
29-
30-
Either request fewer slots for your application, or make more slots available
31-
for use.
3225
[orte-rtc-base:not-all-mapped-alloc]
3326
Some of the requested hosts are not included in the current allocation for the
3427
application:

0 commit comments

Comments
 (0)