make the app pointer array blocksize 1 so the the size of the pointer array is the same as the number of apps. This was causing a segfault when trying to launch multiple apps.
This commit was SVN r6368.
Этот коммит содержится в:
родитель
e0c8991a6e
Коммит
5cdf0803d4
@ -691,7 +691,7 @@ static int parse_locals(int argc, char* argv[])
|
||||
temp_argc = 0;
|
||||
temp_argv = NULL;
|
||||
opal_argv_append(&temp_argc, &temp_argv, argv[0]);
|
||||
orte_pointer_array_init(&apps_pa, 1, argc + 1, 2);
|
||||
orte_pointer_array_init(&apps_pa, 1, argc + 1, 1);
|
||||
|
||||
env = NULL;
|
||||
for (app_num = 0, i = 1; i < argc; ++i) {
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user