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 12
12
* Copyright (c) 2006-2013 Los Alamos National Security, LLC.
13
13
* All rights reserved.
14
14
* 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.
16
17
* Copyright (c) 2013-2017 Intel, Inc. All rights reserved.
17
18
* Copyright (c) 2015 Research Organization for Information Science
18
19
* and Technology (RIST). All rights reserved.
@@ -480,6 +481,15 @@ static int define_cli(opal_cmd_line_t *cli)
480
481
}
481
482
}
482
483
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
+
483
493
/* just add ours to the end */
484
494
rc = opal_cmd_line_add (cli , cmd_line_init );
485
495
return rc ;
You can’t perform that action at this time.
0 commit comments