Skip to content

Commit 8779e6c

Browse files
committed
ompi/dpm: fix opal_show_help() message
This message was originally part of ORTE/ESS, but has since moved to PRTE. So replicate (and adapt) the help message to help-dpm.txt. Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
1 parent 96775ef commit 8779e6c

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

ompi/dpm/dpm.c

Lines changed: 2 additions & 2 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) 2007-2020 Cisco Systems, Inc. All rights reserved.
13+
* Copyright (c) 2007-2022 Cisco Systems, Inc. All rights reserved.
1414
* Copyright (c) 2006-2009 University of Houston. All rights reserved.
1515
* Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved.
1616
* Copyright (c) 2011-2015 Los Alamos National Security, LLC. All rights
@@ -2069,7 +2069,7 @@ static int start_dvm(char **hostfiles, char **dash_host)
20692069
execv(cmd, args);
20702070

20712071
/* if I get here, the execv failed! */
2072-
opal_show_help("help-ess-base.txt", "ess-base:execv-error",
2072+
opal_show_help("help-dpm.txt", "execv-error",
20732073
true, cmd, strerror(errno));
20742074
exit(1);
20752075

ompi/dpm/help-dpm.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# -*- text -*-
22
#
33
# Copyright (c) 2020 Intel, Inc. All rights reserved.
4+
# Copyright (c) 2022 Cisco Systems, Inc. All rights reserved.
45
# $COPYRIGHT$
56
#
67
# Additional copyrights may follow
@@ -44,3 +45,20 @@ the number of procs for each resource and the type of resource to be used.
4445
Specified value: %s
4546

4647
We are not able to proceed. Please correct your application.
48+
#
49+
[execv-error]
50+
51+
The singleton application was not able to find an executabe in your
52+
PATH or in the directory where PRTE was initially installed, and
53+
therefore cannot continue.
54+
55+
For reference, we tried the following command:
56+
57+
%s
58+
59+
and got the error %s.
60+
61+
This could mean that your PATH or executable name is wrong, or that
62+
you do not have the necessary permissions. Please ensure that the
63+
executable is able to be found and executed as it is required for
64+
singleton operations.

0 commit comments

Comments
 (0)