1
1

Ensure that tools init the multicast channel correctly

This commit was SVN r22020.
Этот коммит содержится в:
Ralph Castain 2009-09-28 03:15:51 +00:00
родитель ef0fd8b8d1
Коммит 47c9a5409e

Просмотреть файл

@ -253,12 +253,14 @@ static int init(void)
/* define the starting point for new channels */ /* define the starting point for new channels */
next_channel = ORTE_RMCAST_DYNAMIC_CHANNELS; next_channel = ORTE_RMCAST_DYNAMIC_CHANNELS;
if (ORTE_PROC_IS_HNP || ORTE_PROC_IS_DAEMON) { if (ORTE_PROC_IS_HNP || ORTE_PROC_IS_DAEMON || ORTE_PROC_IS_TOOL) {
channel = ORTE_RMCAST_SYS_ADDR; channel = ORTE_RMCAST_SYS_ADDR;
name = "system"; name = "system";
} else if (ORTE_PROC_IS_APP) { } else if (ORTE_PROC_IS_APP) {
channel = ORTE_RMCAST_APP_PUBLIC_ADDR; channel = ORTE_RMCAST_APP_PUBLIC_ADDR;
name = "app-public"; name = "app-public";
} else {
return ORTE_ERR_NOT_SUPPORTED;
} }
/* create a xmit socket */ /* create a xmit socket */