Restore the "sleep" delay during startup.
Since Jeff and I are going to a branch for T-bird, we have restored the trunk to its prior state to avoid any possibility of disturbing it. This commit was SVN r10774.
Этот коммит содержится в:
родитель
ef8433a60b
Коммит
cef1ce19d6
@ -753,15 +753,13 @@ int mca_oob_tcp_init(void)
|
|||||||
char *tmp, *tmp2, *tmp3;
|
char *tmp, *tmp2, *tmp3;
|
||||||
size_t i, num_tokens;
|
size_t i, num_tokens;
|
||||||
|
|
||||||
/** turn this off for scalability testing */
|
|
||||||
#if 0
|
|
||||||
/* random delay to stagger connections back to seed */
|
/* random delay to stagger connections back to seed */
|
||||||
#if defined(__WINDOWS__)
|
#if defined(__WINDOWS__)
|
||||||
sleep((orte_process_info.my_name->vpid % orte_process_info.num_procs % 1000) * 1000);
|
sleep((orte_process_info.my_name->vpid % orte_process_info.num_procs % 1000) * 1000);
|
||||||
#else
|
#else
|
||||||
usleep((orte_process_info.my_name->vpid % orte_process_info.num_procs % 1000) * 1000);
|
usleep((orte_process_info.my_name->vpid % orte_process_info.num_procs % 1000) * 1000);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
/* get my jobid */
|
/* get my jobid */
|
||||||
if (ORTE_SUCCESS != (rc = orte_ns.get_jobid(&jobid,
|
if (ORTE_SUCCESS != (rc = orte_ns.get_jobid(&jobid,
|
||||||
orte_process_info.my_name))) {
|
orte_process_info.my_name))) {
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user