File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 1212 * Copyright (c) 2006-2013 Los Alamos National Security, LLC.
1313 * All rights reserved.
1414 * Copyright (c) 2009-2016 Cisco Systems, Inc. All rights reserved.
15- * Copyright (c) 2011 Oak Ridge National Labs. All rights reserved.
15+ * Copyright (c) 2011-2017 Oak Ridge National Labs. All rights reserved.
16+ * Copyright (c) 2017 UT-Battelle, LLC. All rights reserved.
1617 * Copyright (c) 2013-2017 Intel, Inc. All rights reserved.
1718 * Copyright (c) 2015 Research Organization for Information Science
1819 * and Technology (RIST). All rights reserved.
@@ -480,6 +481,15 @@ static int define_cli(opal_cmd_line_t *cli)
480481 }
481482 }
482483
484+ /*
485+ * Check if a HNP DVM URI is being passed via environment.
486+ * Note: Place before opal_cmd_line_parse() so that
487+ * if user passes both envvar & cmdln, the cmdln wins.
488+ */
489+ if (NULL != getenv ("ORTE_HNP_DVM_URI" )) {
490+ orte_cmd_options .hnp = strdup (getenv ("ORTE_HNP_DVM_URI" ));
491+ }
492+
483493 /* just add ours to the end */
484494 rc = opal_cmd_line_add (cli , cmd_line_init );
485495 return rc ;
You can’t perform that action at this time.
0 commit comments