@@ -1148,7 +1148,7 @@ int ompi_dpm_spawn(int count, const char *array_of_commands[],
11481148#endif
11491149
11501150 /* check for 'ompi_prefix' (OMPI-specific -- to effect the same
1151- * behavior as --prefix option to orterun )
1151+ * behavior as --prefix option to prun )
11521152 *
11531153 * This is a job-level key
11541154 */
@@ -1217,7 +1217,6 @@ int ompi_dpm_spawn(int count, const char *array_of_commands[],
12171217 OPAL_LIST_DESTRUCT (& job_info );
12181218 OPAL_LIST_DESTRUCT (& app_info );
12191219 PMIX_APP_FREE (apps , scount );
1220- opal_progress_event_users_decrement ();
12211220 if (NULL != hostfiles ) {
12221221 opal_argv_free (hostfiles );
12231222 }
@@ -1239,7 +1238,6 @@ int ompi_dpm_spawn(int count, const char *array_of_commands[],
12391238 OPAL_LIST_DESTRUCT (& job_info );
12401239 OPAL_LIST_DESTRUCT (& app_info );
12411240 PMIX_APP_FREE (apps , scount );
1242- opal_progress_event_users_decrement ();
12431241 if (NULL != hostfiles ) {
12441242 opal_argv_free (hostfiles );
12451243 }
@@ -1257,7 +1255,6 @@ int ompi_dpm_spawn(int count, const char *array_of_commands[],
12571255 OPAL_LIST_DESTRUCT (& job_info );
12581256 OPAL_LIST_DESTRUCT (& app_info );
12591257 PMIX_APP_FREE (apps , scount );
1260- opal_progress_event_users_decrement ();
12611258 if (NULL != hostfiles ) {
12621259 opal_argv_free (hostfiles );
12631260 }
@@ -1275,7 +1272,6 @@ int ompi_dpm_spawn(int count, const char *array_of_commands[],
12751272 OPAL_LIST_DESTRUCT (& job_info );
12761273 OPAL_LIST_DESTRUCT (& app_info );
12771274 PMIX_APP_FREE (apps , scount );
1278- opal_progress_event_users_decrement ();
12791275 if (NULL != hostfiles ) {
12801276 opal_argv_free (hostfiles );
12811277 }
@@ -1291,7 +1287,6 @@ int ompi_dpm_spawn(int count, const char *array_of_commands[],
12911287 OPAL_LIST_DESTRUCT (& job_info );
12921288 OPAL_LIST_DESTRUCT (& app_info );
12931289 PMIX_APP_FREE (apps , scount );
1294- opal_progress_event_users_decrement ();
12951290 if (NULL != hostfiles ) {
12961291 opal_argv_free (hostfiles );
12971292 }
@@ -1307,7 +1302,6 @@ int ompi_dpm_spawn(int count, const char *array_of_commands[],
13071302 OPAL_LIST_DESTRUCT (& job_info );
13081303 OPAL_LIST_DESTRUCT (& app_info );
13091304 PMIX_APP_FREE (apps , scount );
1310- opal_progress_event_users_decrement ();
13111305 if (NULL != hostfiles ) {
13121306 opal_argv_free (hostfiles );
13131307 }
@@ -1327,7 +1321,6 @@ int ompi_dpm_spawn(int count, const char *array_of_commands[],
13271321 OPAL_LIST_DESTRUCT (& job_info );
13281322 OPAL_LIST_DESTRUCT (& app_info );
13291323 PMIX_APP_FREE (apps , scount );
1330- opal_progress_event_users_decrement ();
13311324 if (NULL != hostfiles ) {
13321325 opal_argv_free (hostfiles );
13331326 }
@@ -1364,7 +1357,6 @@ int ompi_dpm_spawn(int count, const char *array_of_commands[],
13641357 OPAL_LIST_DESTRUCT (& job_info );
13651358 OPAL_LIST_DESTRUCT (& app_info );
13661359 PMIX_APP_FREE (apps , scount );
1367- opal_progress_event_users_decrement ();
13681360 return MPI_ERR_SPAWN ;
13691361 }
13701362 }
@@ -1395,7 +1387,6 @@ int ompi_dpm_spawn(int count, const char *array_of_commands[],
13951387 OPAL_LIST_DESTRUCT (& job_info );
13961388 OPAL_LIST_DESTRUCT (& app_info );
13971389 PMIX_APP_FREE (apps , scount );
1398- opal_progress_event_users_decrement ();
13991390 return MPI_ERR_SPAWN ;
14001391 }
14011392 }
@@ -1472,7 +1463,7 @@ int ompi_dpm_spawn(int count, const char *array_of_commands[],
14721463 }
14731464#endif
14741465
1475- /* see if this is a non-mpi job - if so, then set the flag so ORTE
1466+ /* see if this is a non-mpi job - if so, then set the flag so PRTE
14761467 * knows what to do - job-level key
14771468 */
14781469 ompi_info_get_bool (array_of_info [i ], "ompi_non_mpi" , & non_mpi , & flag );
@@ -1551,7 +1542,6 @@ int ompi_dpm_spawn(int count, const char *array_of_commands[],
15511542 if (OMPI_SUCCESS != (rc = opal_getcwd (cwd , OPAL_PATH_MAX ))) {
15521543 OMPI_ERROR_LOG (rc );
15531544 PMIX_APP_FREE (apps , (size_t )count );
1554- opal_progress_event_users_decrement ();
15551545 if (NULL != hostfiles ) {
15561546 opal_argv_free (hostfiles );
15571547 }
@@ -1608,7 +1598,6 @@ int ompi_dpm_spawn(int count, const char *array_of_commands[],
16081598 PMIX_INFO_FREE (pinfo , ninfo );
16091599 }
16101600 PMIX_APP_FREE (apps , scount );
1611- opal_progress_event_users_decrement ();
16121601 if (NULL != hostfiles ) {
16131602 opal_argv_free (hostfiles );
16141603 }
@@ -1633,7 +1622,6 @@ int ompi_dpm_spawn(int count, const char *array_of_commands[],
16331622 PMIX_APP_FREE (apps , scount );
16341623
16351624 if (OPAL_SUCCESS != rc ) {
1636- opal_progress_event_users_decrement ();
16371625 return MPI_ERR_SPAWN ;
16381626 }
16391627
@@ -2057,7 +2045,7 @@ static int start_dvm(char **hostfiles, char **dash_host)
20572045 will) reset them. If we don't do this, the event
20582046 library may have left some set that, at least on some
20592047 OS's, don't get reset via fork() or exec(). Hence, the
2060- orted could be unkillable (for example). */
2048+ prted could be unkillable (for example). */
20612049 set_handler_default (SIGTERM );
20622050 set_handler_default (SIGINT );
20632051 set_handler_default (SIGHUP );
@@ -2067,9 +2055,9 @@ static int start_dvm(char **hostfiles, char **dash_host)
20672055 /* Unblock all signals, for many of the same reasons that
20682056 we set the default handlers, above. This is noticable
20692057 on Linux where the event library blocks SIGTERM, but we
2070- don't want that blocked by the orted (or, more
2058+ don't want that blocked by the prted (or, more
20712059 specifically, we don't want it to be blocked by the
2072- orted and then inherited by the ORTE processes that it
2060+ prted and then inherited by the PRTE processes that it
20732061 forks, making them unkillable by SIGTERM). */
20742062 sigprocmask (0 , 0 , & sigs );
20752063 sigprocmask (SIG_UNBLOCK , & sigs , 0 );
@@ -2130,7 +2118,6 @@ static int start_dvm(char **hostfiles, char **dash_host)
21302118 pret = PMIx_Init (NULL , & info , 1 );
21312119 rc = opal_pmix_convert_status (pret );
21322120 if (OPAL_SUCCESS != rc ) {
2133- opal_progress_event_users_decrement ();
21342121 return MPI_ERR_SPAWN ;
21352122 }
21362123 /* decrement the PMIx init refcount */
0 commit comments