Update tests to flag that these are non-MPI apps
This commit was SVN r18620.
Этот коммит содержится в:
родитель
9613b3176c
Коммит
11692ca98e
@ -28,11 +28,12 @@ int main(int argc, char* argv[])
|
|||||||
for (iter = 0; iter < 1000; ++iter) {
|
for (iter = 0; iter < 1000; ++iter) {
|
||||||
/* setup the job object */
|
/* setup the job object */
|
||||||
jdata = OBJ_NEW(orte_job_t);
|
jdata = OBJ_NEW(orte_job_t);
|
||||||
|
jdata->controls |= ORTE_JOB_CONTROL_NON_ORTE_JOB;
|
||||||
|
|
||||||
/* create an app_context that defines the app to be run */
|
/* create an app_context that defines the app to be run */
|
||||||
app = OBJ_NEW(orte_app_context_t);
|
app = OBJ_NEW(orte_app_context_t);
|
||||||
app->app = strdup("orte_loop_child");
|
app->app = strdup("hostname");
|
||||||
opal_argv_append_nosize(&app->argv, "orte_loop_child");
|
opal_argv_append_nosize(&app->argv, "hostname");
|
||||||
app->num_procs = 1;
|
app->num_procs = 1;
|
||||||
|
|
||||||
getcwd(cwd, sizeof(cwd));
|
getcwd(cwd, sizeof(cwd));
|
||||||
|
@ -37,7 +37,8 @@ int main(int argc, char* argv[])
|
|||||||
|
|
||||||
/* setup the job object */
|
/* setup the job object */
|
||||||
jdata = OBJ_NEW(orte_job_t);
|
jdata = OBJ_NEW(orte_job_t);
|
||||||
|
jdata->controls |= ORTE_JOB_CONTROL_NON_ORTE_JOB;
|
||||||
|
|
||||||
/* create an app_context that defines the app to be run */
|
/* create an app_context that defines the app to be run */
|
||||||
app = OBJ_NEW(orte_app_context_t);
|
app = OBJ_NEW(orte_app_context_t);
|
||||||
app->app = strdup("hostname");
|
app->app = strdup("hostname");
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user