|
12 | 12 | * Copyright (c) 2007 Los Alamos National Security, LLC. All rights |
13 | 13 | * reserved. |
14 | 14 | * Copyright (c) 2011 Cisco Systems, Inc. All rights reserved. |
15 | | - * Copyright (c) 2013-2014 Intel, Inc. All rights reserved. |
| 15 | + * Copyright (c) 2013-2017 Intel, Inc. All rights reserved. |
16 | 16 | * Copyright (c) 2015-2017 Research Organization for Information Science |
17 | 17 | * and Technology (RIST). All rights reserved. |
18 | 18 | * Copyright (c) 2016 IBM Corporation. All rights reserved. |
@@ -661,7 +661,6 @@ int orte_util_filter_hostfile_nodes(opal_list_t *nodes, |
661 | 661 | orte_node_t *node = (orte_node_t*)item2; |
662 | 662 | if (0 == strcmp(node_from_file->name, node->name)) { |
663 | 663 | /* match - remove it */ |
664 | | - opal_output(0, "HOST %s ON EXCLUDE LIST - REMOVING", node->name); |
665 | 664 | opal_list_remove_item(&newnodes, item2); |
666 | 665 | OBJ_RELEASE(item2); |
667 | 666 | break; |
@@ -795,7 +794,8 @@ int orte_util_filter_hostfile_nodes(opal_list_t *nodes, |
795 | 794 | * to the specified count - this allows people |
796 | 795 | * to subdivide an allocation |
797 | 796 | */ |
798 | | - if (node_from_file->slots < node_from_list->slots) { |
| 797 | + if (ORTE_FLAG_TEST(node_from_file, ORTE_NODE_FLAG_SLOTS_GIVEN) && |
| 798 | + node_from_file->slots < node_from_list->slots) { |
799 | 799 | node_from_list->slots = node_from_file->slots; |
800 | 800 | } |
801 | 801 | if (remove) { |
|
0 commit comments