Merge pull request #3152 from rhc54/topic/setup
Update launchers to get correct regex
Этот коммит содержится в:
Коммит
e4a35f2dbf
@ -243,7 +243,6 @@ static void launch_daemons(int fd, short args, void *cbdata)
|
||||
*/
|
||||
opal_argv_append(&nodelist_argc, &nodelist_argv, node->name);
|
||||
}
|
||||
nodelist = opal_argv_join(nodelist_argv, ',');
|
||||
|
||||
/*
|
||||
* start building argv array
|
||||
@ -258,16 +257,12 @@ static void launch_daemons(int fd, short args, void *cbdata)
|
||||
/* add the daemon command (as specified by user) */
|
||||
orte_plm_base_setup_orted_cmd(&argc, &argv);
|
||||
|
||||
/* if we have static ports, we need to ensure that mpirun is
|
||||
* on the list. Since lsf won't be launching a daemon on it,
|
||||
* it won't have been placed on the list, so create a new
|
||||
* version here that includes it */
|
||||
if (orte_static_ports) {
|
||||
char *ltmp;
|
||||
asprintf(<mp, "%s,%s", orte_process_info.nodename, nodelist);
|
||||
free(nodelist);
|
||||
nodelist = ltmp;
|
||||
}
|
||||
/* we need mpirun to be the first node on this list - since we
|
||||
* aren't launching mpirun via TM, it won't be there now */
|
||||
opal_argv_prepend_nosize(&nodelist_argv, orte_process_info.nodename);
|
||||
nodelist = opal_argv_join(nodelist_argv, ',');
|
||||
opal_argv_free(nodelist_argv);
|
||||
|
||||
|
||||
/* Add basic orted command line options */
|
||||
orte_plm_base_orted_append_basic_args(&argc, &argv,
|
||||
|
@ -323,7 +323,6 @@ static void launch_daemons(int fd, short args, void *cbdata)
|
||||
goto cleanup;
|
||||
}
|
||||
nodelist_flat = opal_argv_join(nodelist_argv, ',');
|
||||
opal_argv_free(nodelist_argv);
|
||||
|
||||
/* if we are using all allocated nodes, then srun doesn't
|
||||
* require any further arguments
|
||||
@ -354,16 +353,12 @@ static void launch_daemons(int fd, short args, void *cbdata)
|
||||
/* add the daemon command (as specified by user) */
|
||||
orte_plm_base_setup_orted_cmd(&argc, &argv);
|
||||
|
||||
/* if we have static ports, we need to ensure that mpirun is
|
||||
* on the list. Since slurm won't be launching a daemon on it,
|
||||
* it won't have been placed on the list, so create a new
|
||||
* version here that includes it */
|
||||
if (orte_static_ports) {
|
||||
char *ltmp;
|
||||
asprintf(<mp, "%s,%s", orte_process_info.nodename, nodelist_flat);
|
||||
free(nodelist_flat);
|
||||
nodelist_flat = ltmp;
|
||||
}
|
||||
/* we need mpirun to be the first node on this list - since we
|
||||
* aren't launching mpirun via srun, it won't be there now */
|
||||
opal_argv_prepend_nosize(&nodelist_argv, orte_process_info.nodename);
|
||||
free(nodelist_flat);
|
||||
nodelist_flat = opal_argv_join(nodelist_argv, ',');
|
||||
opal_argv_free(nodelist_argv);
|
||||
|
||||
/* Add basic orted command line options, including debug flags */
|
||||
orte_plm_base_orted_append_basic_args(&argc, &argv,
|
||||
|
@ -275,19 +275,12 @@ static void launch_daemons(int fd, short args, void *cbdata)
|
||||
/* add to list */
|
||||
opal_argv_append_nosize(&nodeargv, node->name);
|
||||
}
|
||||
/* we need mpirun to be the first node on this list - since we
|
||||
* aren't launching mpirun via TM, it won't be there now */
|
||||
opal_argv_prepend_nosize(&nodeargv, orte_process_info.nodename);
|
||||
nodelist = opal_argv_join(nodeargv, ',');
|
||||
opal_argv_free(nodeargv);
|
||||
|
||||
/* if we have static ports, we need to ensure that mpirun is
|
||||
* on the list. Since Torque won't be launching a daemon on it,
|
||||
* it won't have been placed on the list, so create a new
|
||||
* version here that includes it */
|
||||
if (orte_static_ports) {
|
||||
char *ltmp;
|
||||
asprintf(<mp, "%s,%s", orte_process_info.nodename, nodelist);
|
||||
free(nodelist);
|
||||
nodelist = ltmp;
|
||||
}
|
||||
|
||||
/* Add basic orted command line options */
|
||||
orte_plm_base_orted_append_basic_args(&argc, &argv, "tm",
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user