Skip to content

Commit d3907de

Browse files
author
Ralph Castain
committed
Make master continue the -host behavior of prior releases: use of -host <foo> specifies a single slot. Requests to run more than one process will require either specifying slots using the "-host foo:N" syntax, or adding --oversubscribe to the cmd line.
Signed-off-by: Ralph Castain <[email protected]>
1 parent c6595c2 commit d3907de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

orte/util/dash_host/dash_host.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Copyright (c) 2004-2005 The Regents of the University of California.
1111
* All rights reserved.
1212
* Copyright (c) 2013 Cisco Systems, Inc. All rights reserved.
13-
* Copyright (c) 2014-2016 Intel, Inc. All rights reserved.
13+
* Copyright (c) 2014-2017 Intel, Inc. All rights reserved.
1414
* Copyright (c) 2015 Research Organization for Information Science
1515
* and Technology (RIST). All rights reserved.
1616
* Copyright (c) 2016 IBM Corporation. All rights reserved.
@@ -259,6 +259,7 @@ int orte_util_add_dash_host_nodes(opal_list_t *nodes,
259259
}
260260
} else {
261261
node->slots = 1;
262+
ORTE_FLAG_SET(node, ORTE_NODE_FLAG_SLOTS_GIVEN);
262263
}
263264
opal_list_append(&adds, &node->super);
264265
}

0 commit comments

Comments
 (0)