@@ -477,18 +477,18 @@ int orte_submit_init(int argc, char *argv[],
477477 fclose (fp );
478478 input [strlen (input )- 1 ] = '\0' ; /* remove newline */
479479 /* construct the target hnp info */
480- opal_setenv ("OMPI_MCA_orte_hnp_uri " , input , true, & environ );
480+ opal_setenv (OPAL_MCA_PREFIX "orte_hnp_uri " , input , true, & environ );
481481 } else {
482482 /* should just be the uri itself - construct the target hnp info */
483- opal_setenv ("OMPI_MCA_orte_hnp_uri " , orte_cmd_line .hnp , true, & environ );
483+ opal_setenv (OPAL_MCA_PREFIX "orte_hnp_uri " , orte_cmd_line .hnp , true, & environ );
484484 }
485485
486486 /* Setup MCA params */
487487 orte_register_params ();
488488
489489 /* we are never allowed to operate as a distributed tool,
490490 * so insist on the ess/tool component */
491- opal_setenv ("OMPI_MCA_ess " , "tool" , true, & environ );
491+ opal_setenv (OPAL_MCA_PREFIX "ess " , "tool" , true, & environ );
492492
493493 if (orte_cmd_line .debug ) {
494494 orte_devel_level_output = true;
@@ -513,7 +513,7 @@ int orte_submit_init(int argc, char *argv[],
513513
514514 /* clear the ess param from the environment so our children
515515 * don't pick it up */
516- opal_unsetenv ("OMPI_MCA_ess " , & environ );
516+ opal_unsetenv (OPAL_MCA_PREFIX "ess " , & environ );
517517
518518 /* set the info in our contact table */
519519 orte_rml .set_contact_info (orte_process_info .my_hnp_uri );
@@ -1138,7 +1138,7 @@ static int create_app(int argc, char* argv[],
11381138 goto cleanup ;
11391139 }
11401140
1141- /* Grab all OMPI_* environment variables */
1141+ /* Grab all MCA environment variables */
11421142
11431143 app -> env = opal_argv_copy (* app_env );
11441144 if (ORTE_SUCCESS != (rc = orte_schizo .parse_env (orte_cmd_line .personalities ,
0 commit comments