app 626 ompi/dpm/dpm.c opal_pmix_app_t *app; app 673 ompi/dpm/dpm.c app = OBJ_NEW(opal_pmix_app_t); app 674 ompi/dpm/dpm.c if (NULL == app) { app 681 ompi/dpm/dpm.c opal_list_append(&apps, &app->super); app 684 ompi/dpm/dpm.c app->cmd = strdup(array_of_commands[i]); app 685 ompi/dpm/dpm.c opal_argv_append_nosize(&app->argv, app->cmd); app 688 ompi/dpm/dpm.c app->maxprocs = array_of_maxprocs[i]; app 694 ompi/dpm/dpm.c opal_argv_append_nosize(&app->argv, array_of_argv[i][j]); app 701 ompi/dpm/dpm.c opal_setenv("OMPI_PARENT_PORT", port_name, true, &app->env); app 704 ompi/dpm/dpm.c opal_argv_append_nosize(&app->env, environ[j]); app 728 ompi/dpm/dpm.c opal_list_append(&app->info, &info->super); app 737 ompi/dpm/dpm.c opal_list_append(&app->info, &info->super); app 746 ompi/dpm/dpm.c opal_list_append(&app->info, &info->super); app 755 ompi/dpm/dpm.c opal_list_append(&app->info, &info->super); app 763 ompi/dpm/dpm.c opal_argv_append_nosize(&app->env, envars[j]); app 789 ompi/dpm/dpm.c opal_list_append(&app->info, &info->super); app 894 ompi/dpm/dpm.c opal_argv_append_unique_nosize(&app->env, params, true); app 929 ompi/dpm/dpm.c opal_list_append(&app->info, &info->super); app 233 opal/mca/crs/crs.h char **app, app 63 opal/mca/crs/none/crs_none.h char **app, app 175 opal/mca/crs/none/crs_none_module.c char **app, app 86 opal/mca/crs/self/crs_self.h char **app, app 511 opal/mca/crs/self/crs_self_module.c char **app, app 936 opal/mca/pmix/ext1x/pmix1x_client.c opal_pmix_app_t *app; app 952 opal/mca/pmix/ext1x/pmix1x_client.c OPAL_LIST_FOREACH(app, apps, opal_pmix_app_t) { app 953 opal/mca/pmix/ext1x/pmix1x_client.c papps[n].cmd = strdup(app->cmd); app 954 opal/mca/pmix/ext1x/pmix1x_client.c papps[n].argc = opal_argv_count(app->argv); app 955 opal/mca/pmix/ext1x/pmix1x_client.c papps[n].argv = opal_argv_copy(app->argv); app 956 opal/mca/pmix/ext1x/pmix1x_client.c papps[n].env = opal_argv_copy(app->env); app 957 opal/mca/pmix/ext1x/pmix1x_client.c papps[n].maxprocs = app->maxprocs; app 958 opal/mca/pmix/ext1x/pmix1x_client.c if (0 < (papps[n].ninfo = opal_list_get_size(&app->info))) { app 961 opal/mca/pmix/ext1x/pmix1x_client.c OPAL_LIST_FOREACH(info, &app->info, opal_value_t) { app 1032 opal/mca/pmix/ext1x/pmix1x_client.c opal_pmix_app_t *app; app 1052 opal/mca/pmix/ext1x/pmix1x_client.c OPAL_LIST_FOREACH(app, apps, opal_pmix_app_t) { app 1053 opal/mca/pmix/ext1x/pmix1x_client.c op->apps[n].cmd = strdup(app->cmd); app 1054 opal/mca/pmix/ext1x/pmix1x_client.c op->apps[n].argc = opal_argv_count(app->argv); app 1055 opal/mca/pmix/ext1x/pmix1x_client.c op->apps[n].argv = opal_argv_copy(app->argv); app 1056 opal/mca/pmix/ext1x/pmix1x_client.c op->apps[n].env = opal_argv_copy(app->env); app 1057 opal/mca/pmix/ext1x/pmix1x_client.c op->apps[n].maxprocs = app->maxprocs; app 1058 opal/mca/pmix/ext1x/pmix1x_client.c if (0 < (op->apps[n].ninfo = opal_list_get_size(&app->info))) { app 1061 opal/mca/pmix/ext1x/pmix1x_client.c OPAL_LIST_FOREACH(info, &app->info, opal_value_t) { app 554 opal/mca/pmix/ext1x/pmix1x_server_north.c opal_pmix_app_t *app; app 591 opal/mca/pmix/ext1x/pmix1x_server_north.c app = OBJ_NEW(opal_pmix_app_t); app 592 opal/mca/pmix/ext1x/pmix1x_server_north.c opal_list_append(&opalcaddy->apps, &app->super); app 594 opal/mca/pmix/ext1x/pmix1x_server_north.c app->cmd = strdup(apps[n].cmd); app 597 opal/mca/pmix/ext1x/pmix1x_server_north.c app->argv = opal_argv_copy(apps[n].argv); app 600 opal/mca/pmix/ext1x/pmix1x_server_north.c app->env = opal_argv_copy(apps[n].env); app 602 opal/mca/pmix/ext1x/pmix1x_server_north.c app->maxprocs = apps[n].maxprocs; app 605 opal/mca/pmix/ext1x/pmix1x_server_north.c opal_list_append(&app->info, &oinfo->super); app 1140 opal/mca/pmix/ext2x/ext2x_client.c opal_pmix_app_t *app; app 1166 opal/mca/pmix/ext2x/ext2x_client.c OPAL_LIST_FOREACH(app, apps, opal_pmix_app_t) { app 1167 opal/mca/pmix/ext2x/ext2x_client.c papps[n].cmd = strdup(app->cmd); app 1168 opal/mca/pmix/ext2x/ext2x_client.c if (NULL != app->argv) { app 1169 opal/mca/pmix/ext2x/ext2x_client.c papps[n].argv = opal_argv_copy(app->argv); app 1171 opal/mca/pmix/ext2x/ext2x_client.c if (NULL != app->env) { app 1172 opal/mca/pmix/ext2x/ext2x_client.c papps[n].env = opal_argv_copy(app->env); app 1174 opal/mca/pmix/ext2x/ext2x_client.c if (NULL != app->cwd) { app 1175 opal/mca/pmix/ext2x/ext2x_client.c papps[n].cwd = strdup(app->cwd); app 1177 opal/mca/pmix/ext2x/ext2x_client.c papps[n].maxprocs = app->maxprocs; app 1178 opal/mca/pmix/ext2x/ext2x_client.c if (0 < (papps[n].ninfo = opal_list_get_size(&app->info))) { app 1181 opal/mca/pmix/ext2x/ext2x_client.c OPAL_LIST_FOREACH(ival, &app->info, opal_value_t) { app 1255 opal/mca/pmix/ext2x/ext2x_client.c opal_pmix_app_t *app; app 1282 opal/mca/pmix/ext2x/ext2x_client.c OPAL_LIST_FOREACH(app, apps, opal_pmix_app_t) { app 1283 opal/mca/pmix/ext2x/ext2x_client.c op->apps[n].cmd = strdup(app->cmd); app 1284 opal/mca/pmix/ext2x/ext2x_client.c if (NULL != app->argv) { app 1285 opal/mca/pmix/ext2x/ext2x_client.c op->apps[n].argv = opal_argv_copy(app->argv); app 1287 opal/mca/pmix/ext2x/ext2x_client.c if (NULL != app->env) { app 1288 opal/mca/pmix/ext2x/ext2x_client.c op->apps[n].env = opal_argv_copy(app->env); app 1290 opal/mca/pmix/ext2x/ext2x_client.c op->apps[n].maxprocs = app->maxprocs; app 1291 opal/mca/pmix/ext2x/ext2x_client.c if (0 < (op->apps[n].ninfo = opal_list_get_size(&app->info))) { app 1294 opal/mca/pmix/ext2x/ext2x_client.c OPAL_LIST_FOREACH(info, &app->info, opal_value_t) { app 630 opal/mca/pmix/ext2x/ext2x_server_north.c opal_pmix_app_t *app; app 663 opal/mca/pmix/ext2x/ext2x_server_north.c app = OBJ_NEW(opal_pmix_app_t); app 664 opal/mca/pmix/ext2x/ext2x_server_north.c opal_list_append(&opalcaddy->apps, &app->super); app 666 opal/mca/pmix/ext2x/ext2x_server_north.c app->cmd = strdup(apps[n].cmd); app 669 opal/mca/pmix/ext2x/ext2x_server_north.c app->argv = opal_argv_copy(apps[n].argv); app 672 opal/mca/pmix/ext2x/ext2x_server_north.c app->env = opal_argv_copy(apps[n].env); app 675 opal/mca/pmix/ext2x/ext2x_server_north.c app->cwd = strdup(apps[n].cwd); app 677 opal/mca/pmix/ext2x/ext2x_server_north.c app->maxprocs = apps[n].maxprocs; app 680 opal/mca/pmix/ext2x/ext2x_server_north.c opal_list_append(&app->info, &oinfo->super); app 1141 opal/mca/pmix/ext3x/ext3x_client.c opal_pmix_app_t *app; app 1167 opal/mca/pmix/ext3x/ext3x_client.c OPAL_LIST_FOREACH(app, apps, opal_pmix_app_t) { app 1168 opal/mca/pmix/ext3x/ext3x_client.c papps[n].cmd = strdup(app->cmd); app 1169 opal/mca/pmix/ext3x/ext3x_client.c if (NULL != app->argv) { app 1170 opal/mca/pmix/ext3x/ext3x_client.c papps[n].argv = opal_argv_copy(app->argv); app 1172 opal/mca/pmix/ext3x/ext3x_client.c if (NULL != app->env) { app 1173 opal/mca/pmix/ext3x/ext3x_client.c papps[n].env = opal_argv_copy(app->env); app 1175 opal/mca/pmix/ext3x/ext3x_client.c if (NULL != app->cwd) { app 1176 opal/mca/pmix/ext3x/ext3x_client.c papps[n].cwd = strdup(app->cwd); app 1178 opal/mca/pmix/ext3x/ext3x_client.c papps[n].maxprocs = app->maxprocs; app 1179 opal/mca/pmix/ext3x/ext3x_client.c if (0 < (papps[n].ninfo = opal_list_get_size(&app->info))) { app 1182 opal/mca/pmix/ext3x/ext3x_client.c OPAL_LIST_FOREACH(ival, &app->info, opal_value_t) { app 1256 opal/mca/pmix/ext3x/ext3x_client.c opal_pmix_app_t *app; app 1283 opal/mca/pmix/ext3x/ext3x_client.c OPAL_LIST_FOREACH(app, apps, opal_pmix_app_t) { app 1284 opal/mca/pmix/ext3x/ext3x_client.c op->apps[n].cmd = strdup(app->cmd); app 1285 opal/mca/pmix/ext3x/ext3x_client.c if (NULL != app->argv) { app 1286 opal/mca/pmix/ext3x/ext3x_client.c op->apps[n].argv = opal_argv_copy(app->argv); app 1288 opal/mca/pmix/ext3x/ext3x_client.c if (NULL != app->env) { app 1289 opal/mca/pmix/ext3x/ext3x_client.c op->apps[n].env = opal_argv_copy(app->env); app 1291 opal/mca/pmix/ext3x/ext3x_client.c op->apps[n].maxprocs = app->maxprocs; app 1292 opal/mca/pmix/ext3x/ext3x_client.c if (0 < (op->apps[n].ninfo = opal_list_get_size(&app->info))) { app 1295 opal/mca/pmix/ext3x/ext3x_client.c OPAL_LIST_FOREACH(info, &app->info, opal_value_t) { app 645 opal/mca/pmix/ext3x/ext3x_server_north.c opal_pmix_app_t *app; app 678 opal/mca/pmix/ext3x/ext3x_server_north.c app = OBJ_NEW(opal_pmix_app_t); app 679 opal/mca/pmix/ext3x/ext3x_server_north.c opal_list_append(&opalcaddy->apps, &app->super); app 681 opal/mca/pmix/ext3x/ext3x_server_north.c app->cmd = strdup(apps[n].cmd); app 684 opal/mca/pmix/ext3x/ext3x_server_north.c app->argv = opal_argv_copy(apps[n].argv); app 687 opal/mca/pmix/ext3x/ext3x_server_north.c app->env = opal_argv_copy(apps[n].env); app 690 opal/mca/pmix/ext3x/ext3x_server_north.c app->cwd = strdup(apps[n].cwd); app 692 opal/mca/pmix/ext3x/ext3x_server_north.c app->maxprocs = apps[n].maxprocs; app 695 opal/mca/pmix/ext3x/ext3x_server_north.c opal_list_append(&app->info, &oinfo->super); app 233 opal/mca/pmix/pmix4x/pmix/examples/debugger.c pmix_app_t *app; app 385 opal/mca/pmix/pmix4x/pmix/examples/debugger.c PMIX_APP_CREATE(app, napps); app 387 opal/mca/pmix/pmix4x/pmix/examples/debugger.c app[0].cmd = strdup("client"); app 388 opal/mca/pmix/pmix4x/pmix/examples/debugger.c PMIX_ARGV_APPEND(rc, app[0].argv, "./client"); app 390 opal/mca/pmix/pmix4x/pmix/examples/debugger.c app[0].cwd = strdup(cwd); app 391 opal/mca/pmix/pmix4x/pmix/examples/debugger.c app[0].maxprocs = 2; app 406 opal/mca/pmix/pmix4x/pmix/examples/debugger.c fprintf(stderr, "Debugger: spawning %s\n", app[0].cmd); app 407 opal/mca/pmix/pmix4x/pmix/examples/debugger.c if (PMIX_SUCCESS != (rc = PMIx_Spawn(info, ninfo, app, napps, appspace))) { app 412 opal/mca/pmix/pmix4x/pmix/examples/debugger.c PMIX_APP_FREE(app, napps); app 517 opal/mca/pmix/pmix4x/pmix/examples/debugger.c PMIX_APP_CREATE(app, napps); app 519 opal/mca/pmix/pmix4x/pmix/examples/debugger.c app[0].cmd = strdup("debuggerdaemon"); app 520 opal/mca/pmix/pmix4x/pmix/examples/debugger.c app[0].argc = 1; app 521 opal/mca/pmix/pmix4x/pmix/examples/debugger.c app[0].argv = (char**)malloc(2*sizeof(char*)); app 522 opal/mca/pmix/pmix4x/pmix/examples/debugger.c app[0].argv[0] = strdup("debuggerdaemon"); app 523 opal/mca/pmix/pmix4x/pmix/examples/debugger.c app[0].argv[1] = NULL; app 527 opal/mca/pmix/pmix4x/pmix/examples/debugger.c PMIX_INFO_CREATE(app[0].info, ninfo); app 528 opal/mca/pmix/pmix4x/pmix/examples/debugger.c PMIX_INFO_LOAD(&app[0].info[0], PMIX_MAPBY, "ppr:1:node", PMIX_STRING); // instruct the RM to launch one copy of the executable on each node app 529 opal/mca/pmix/pmix4x/pmix/examples/debugger.c PMIX_INFO_LOAD(&app[0].info[1], PMIX_DEBUGGER_DAEMONS, true, PMIX_BOOL); // these are debugger daemons app 530 opal/mca/pmix/pmix4x/pmix/examples/debugger.c PMIX_INFO_LOAD(&app[0].info[2], PMIX_DEBUG_TARGET, nspace, PMIX_STRING); // the "jobid" of the application to be debugged app 533 opal/mca/pmix/pmix4x/pmix/examples/debugger.c PMIx_Spawn(NULL, 0, app, napps, dspace); app 535 opal/mca/pmix/pmix4x/pmix/examples/debugger.c PMIX_APP_FREE(app, napps); app 50 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c pmix_app_t *app; app 93 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c PMIX_APP_CREATE(app, 1); app 94 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c if (0 > asprintf(&app->cmd, "%s/client", dir)) { app 97 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c app->maxprocs = 2; app 98 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c app->argv = (char**)malloc(2 * sizeof(char*)); app 99 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c if (0 > asprintf(&app->argv[0], "%s/client", dir)) { app 102 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c app->argv[1] = NULL; app 103 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c app->env = (char**)malloc(2 * sizeof(char*)); app 104 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c app->env[0] = strdup("PMIX_ENV_VALUE=3"); app 105 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c app->env[1] = NULL; app 106 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c PMIX_INFO_CREATE(app->info, 2); app 107 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c (void)strncpy(app->info[0].key, "DARTH", PMIX_MAX_KEYLEN); app 108 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c app->info[0].value.type = PMIX_INT8; app 109 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c app->info[0].value.data.int8 = 12; app 110 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c (void)strncpy(app->info[1].key, "VADER", PMIX_MAX_KEYLEN); app 111 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c app->info[1].value.type = PMIX_DOUBLE; app 112 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c app->info[1].value.data.dval = 12.34; app 115 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c if (PMIX_SUCCESS != (rc = PMIx_Spawn(NULL, 0, app, 1, nsp2))) { app 119 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c PMIX_APP_FREE(app, 1); app 640 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/base/bfrop_base_pack.c pmix_app_t *app; app 644 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/base/bfrop_base_pack.c app = (pmix_app_t *) src; app 647 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/base/bfrop_base_pack.c PMIX_BFROPS_PACK_TYPE(ret, buffer, &app[i].cmd, 1, PMIX_STRING, app 653 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/base/bfrop_base_pack.c nvals = pmix_argv_count(app[i].argv); app 659 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/base/bfrop_base_pack.c PMIX_BFROPS_PACK_TYPE(ret, buffer, &app[i].argv[j], 1, PMIX_STRING, app 666 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/base/bfrop_base_pack.c nvals = pmix_argv_count(app[i].env); app 672 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/base/bfrop_base_pack.c PMIX_BFROPS_PACK_TYPE(ret, buffer, &app[i].env[j], 1, app 679 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/base/bfrop_base_pack.c PMIX_BFROPS_PACK_TYPE(ret, buffer, &app[i].cwd, 1, PMIX_STRING, regtypes); app 684 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/base/bfrop_base_pack.c PMIX_BFROPS_PACK_TYPE(ret, buffer, &app[i].maxprocs, 1, PMIX_INT, regtypes); app 689 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/base/bfrop_base_pack.c PMIX_BFROPS_PACK_TYPE(ret, buffer, &app[i].ninfo, 1, PMIX_SIZE, regtypes); app 693 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/base/bfrop_base_pack.c if (0 < app[i].ninfo) { app 694 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/base/bfrop_base_pack.c PMIX_BFROPS_PACK_TYPE(ret, buffer, app[i].info, app[i].ninfo, PMIX_INFO, regtypes); app 740 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v12/pack.c pmix_app_t *app; app 745 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v12/pack.c app = (pmix_app_t *) src; app 748 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v12/pack.c if (PMIX_SUCCESS != (ret = pmix12_bfrop_pack_string(regtypes, buffer, &app[i].cmd, 1, PMIX_STRING))) { app 752 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v12/pack.c argc = pmix_argv_count(app[i].argv); app 757 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v12/pack.c if (PMIX_SUCCESS != (ret = pmix12_bfrop_pack_string(regtypes, buffer, &app[i].argv[j], 1, PMIX_STRING))) { app 762 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v12/pack.c nvals = pmix_argv_count(app[i].env); app 767 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v12/pack.c if (PMIX_SUCCESS != (ret = pmix12_bfrop_pack_string(regtypes, buffer, &app[i].env[j], 1, PMIX_STRING))) { app 772 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v12/pack.c if (PMIX_SUCCESS != (ret = pmix12_bfrop_pack_int(regtypes, buffer, &app[i].maxprocs, 1, PMIX_INT))) { app 776 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v12/pack.c if (PMIX_SUCCESS != (ret = pmix12_bfrop_pack_sizet(regtypes, buffer, &app[i].ninfo, 1, PMIX_SIZE))) { app 779 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v12/pack.c if (0 < app[i].ninfo) { app 780 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v12/pack.c if (PMIX_SUCCESS != (ret = pmix12_bfrop_pack_info(regtypes, buffer, app[i].info, app[i].ninfo, PMIX_INFO))) { app 789 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v20/pack.c pmix_app_t *app; app 793 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v20/pack.c app = (pmix_app_t *) src; app 796 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v20/pack.c if (PMIX_SUCCESS != (ret = pmix20_bfrop_pack_string(regtypes, buffer, &app[i].cmd, 1, PMIX_STRING))) { app 800 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v20/pack.c nvals = pmix_argv_count(app[i].argv); app 805 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v20/pack.c if (PMIX_SUCCESS != (ret = pmix20_bfrop_pack_string(regtypes, buffer, &app[i].argv[j], 1, PMIX_STRING))) { app 810 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v20/pack.c nvals = pmix_argv_count(app[i].env); app 815 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v20/pack.c if (PMIX_SUCCESS != (ret = pmix20_bfrop_pack_string(regtypes, buffer, &app[i].env[j], 1, PMIX_STRING))) { app 820 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v20/pack.c if (PMIX_SUCCESS != (ret = pmix20_bfrop_pack_string(regtypes, buffer, &app[i].cwd, 1, PMIX_STRING))) { app 824 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v20/pack.c if (PMIX_SUCCESS != (ret = pmix20_bfrop_pack_int(regtypes, buffer, &app[i].maxprocs, 1, PMIX_INT))) { app 828 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v20/pack.c if (PMIX_SUCCESS != (ret = pmix20_bfrop_pack_sizet(regtypes, buffer, &app[i].ninfo, 1, PMIX_SIZE))) { app 831 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v20/pack.c if (0 < app[i].ninfo) { app 832 opal/mca/pmix/pmix4x/pmix/src/mca/bfrops/v20/pack.c if (PMIX_SUCCESS != (ret = pmix20_bfrop_pack_info(regtypes, buffer, app[i].info, app[i].ninfo, PMIX_INFO))) { app 561 opal/mca/pmix/pmix4x/pmix/src/tools/pps/pps.c pmix_app_context_t *app; app 601 opal/mca/pmix/pmix4x/pmix/src/tools/pps/pps.c app = (pmix_app_context_t*)job->apps->addr[i]; app 602 opal/mca/pmix/pmix4x/pmix/src/tools/pps/pps.c if( app->idx == vpid->app_idx ) { app 603 opal/mca/pmix/pmix4x/pmix/src/tools/pps/pps.c if( (int)strlen(app->app) > len_proc_name) app 604 opal/mca/pmix/pmix4x/pmix/src/tools/pps/pps.c len_proc_name = strlen(app->app); app 673 opal/mca/pmix/pmix4x/pmix/src/tools/pps/pps.c app = (pmix_app_context_t*)job->apps->addr[i]; app 674 opal/mca/pmix/pmix4x/pmix/src/tools/pps/pps.c if( app->idx == vpid->app_idx ) { app 675 opal/mca/pmix/pmix4x/pmix/src/tools/pps/pps.c printf("%*s | ", len_proc_name, app->app); app 811 opal/mca/pmix/pmix4x/pmix/src/tools/pps/pps.c pmix_app_context_t *app; app 842 opal/mca/pmix/pmix4x/pmix/src/tools/pps/pps.c app = (pmix_app_context_t*)pmix_pointer_array_get_item(jobs[i]->apps, proc->app_idx); app 843 opal/mca/pmix/pmix4x/pmix/src/tools/pps/pps.c if (NULL == app) { app 846 opal/mca/pmix/pmix4x/pmix/src/tools/pps/pps.c appname = pmix_basename(app->app); app 50 opal/mca/pmix/pmix4x/pmix/test/simple/simpdyn.c pmix_app_t *app; app 87 opal/mca/pmix/pmix4x/pmix/test/simple/simpdyn.c PMIX_APP_CREATE(app, 1); app 88 opal/mca/pmix/pmix4x/pmix/test/simple/simpdyn.c app->cmd = strdup("gumby"); app 89 opal/mca/pmix/pmix4x/pmix/test/simple/simpdyn.c app->maxprocs = 2; app 90 opal/mca/pmix/pmix4x/pmix/test/simple/simpdyn.c pmix_argv_append_nosize(&app->argv, "gumby"); app 91 opal/mca/pmix/pmix4x/pmix/test/simple/simpdyn.c pmix_argv_append_nosize(&app->argv, "-n"); app 92 opal/mca/pmix/pmix4x/pmix/test/simple/simpdyn.c pmix_argv_append_nosize(&app->argv, "2"); app 93 opal/mca/pmix/pmix4x/pmix/test/simple/simpdyn.c pmix_setenv("PMIX_ENV_VALUE", "3", true, &app->env); app 94 opal/mca/pmix/pmix4x/pmix/test/simple/simpdyn.c PMIX_INFO_CREATE(app->info, 2); app 95 opal/mca/pmix/pmix4x/pmix/test/simple/simpdyn.c (void)strncpy(app->info[0].key, "DARTH", PMIX_MAX_KEYLEN); app 96 opal/mca/pmix/pmix4x/pmix/test/simple/simpdyn.c app->info[0].value.type = PMIX_INT8; app 97 opal/mca/pmix/pmix4x/pmix/test/simple/simpdyn.c app->info[0].value.data.int8 = 12; app 98 opal/mca/pmix/pmix4x/pmix/test/simple/simpdyn.c (void)strncpy(app->info[1].key, "VADER", PMIX_MAX_KEYLEN); app 99 opal/mca/pmix/pmix4x/pmix/test/simple/simpdyn.c app->info[1].value.type = PMIX_DOUBLE; app 100 opal/mca/pmix/pmix4x/pmix/test/simple/simpdyn.c app->info[1].value.data.dval = 12.34; app 103 opal/mca/pmix/pmix4x/pmix/test/simple/simpdyn.c if (PMIX_SUCCESS != (rc = PMIx_Spawn(NULL, 0, app, 1, nsp2))) { app 107 opal/mca/pmix/pmix4x/pmix/test/simple/simpdyn.c PMIX_APP_FREE(app, 1); app 1140 opal/mca/pmix/pmix4x/pmix4x_client.c opal_pmix_app_t *app; app 1166 opal/mca/pmix/pmix4x/pmix4x_client.c OPAL_LIST_FOREACH(app, apps, opal_pmix_app_t) { app 1167 opal/mca/pmix/pmix4x/pmix4x_client.c papps[n].cmd = strdup(app->cmd); app 1168 opal/mca/pmix/pmix4x/pmix4x_client.c if (NULL != app->argv) { app 1169 opal/mca/pmix/pmix4x/pmix4x_client.c papps[n].argv = opal_argv_copy(app->argv); app 1171 opal/mca/pmix/pmix4x/pmix4x_client.c if (NULL != app->env) { app 1172 opal/mca/pmix/pmix4x/pmix4x_client.c papps[n].env = opal_argv_copy(app->env); app 1174 opal/mca/pmix/pmix4x/pmix4x_client.c if (NULL != app->cwd) { app 1175 opal/mca/pmix/pmix4x/pmix4x_client.c papps[n].cwd = strdup(app->cwd); app 1177 opal/mca/pmix/pmix4x/pmix4x_client.c papps[n].maxprocs = app->maxprocs; app 1178 opal/mca/pmix/pmix4x/pmix4x_client.c if (0 < (papps[n].ninfo = opal_list_get_size(&app->info))) { app 1181 opal/mca/pmix/pmix4x/pmix4x_client.c OPAL_LIST_FOREACH(ival, &app->info, opal_value_t) { app 1255 opal/mca/pmix/pmix4x/pmix4x_client.c opal_pmix_app_t *app; app 1282 opal/mca/pmix/pmix4x/pmix4x_client.c OPAL_LIST_FOREACH(app, apps, opal_pmix_app_t) { app 1283 opal/mca/pmix/pmix4x/pmix4x_client.c op->apps[n].cmd = strdup(app->cmd); app 1284 opal/mca/pmix/pmix4x/pmix4x_client.c if (NULL != app->argv) { app 1285 opal/mca/pmix/pmix4x/pmix4x_client.c op->apps[n].argv = opal_argv_copy(app->argv); app 1287 opal/mca/pmix/pmix4x/pmix4x_client.c if (NULL != app->env) { app 1288 opal/mca/pmix/pmix4x/pmix4x_client.c op->apps[n].env = opal_argv_copy(app->env); app 1290 opal/mca/pmix/pmix4x/pmix4x_client.c op->apps[n].maxprocs = app->maxprocs; app 1291 opal/mca/pmix/pmix4x/pmix4x_client.c if (0 < (op->apps[n].ninfo = opal_list_get_size(&app->info))) { app 1294 opal/mca/pmix/pmix4x/pmix4x_client.c OPAL_LIST_FOREACH(info, &app->info, opal_value_t) { app 644 opal/mca/pmix/pmix4x/pmix4x_server_north.c opal_pmix_app_t *app; app 677 opal/mca/pmix/pmix4x/pmix4x_server_north.c app = OBJ_NEW(opal_pmix_app_t); app 678 opal/mca/pmix/pmix4x/pmix4x_server_north.c opal_list_append(&opalcaddy->apps, &app->super); app 680 opal/mca/pmix/pmix4x/pmix4x_server_north.c app->cmd = strdup(apps[n].cmd); app 683 opal/mca/pmix/pmix4x/pmix4x_server_north.c app->argv = opal_argv_copy(apps[n].argv); app 686 opal/mca/pmix/pmix4x/pmix4x_server_north.c app->env = opal_argv_copy(apps[n].env); app 689 opal/mca/pmix/pmix4x/pmix4x_server_north.c app->cwd = strdup(apps[n].cwd); app 691 opal/mca/pmix/pmix4x/pmix4x_server_north.c app->maxprocs = apps[n].maxprocs; app 694 opal/mca/pmix/pmix4x/pmix4x_server_north.c opal_list_append(&app->info, &oinfo->super); app 248 orte/mca/errmgr/base/errmgr_base_fns.c free(new_app_context->app); app 249 orte/mca/errmgr/base/errmgr_base_fns.c new_app_context->app = NULL; app 283 orte/mca/errmgr/base/errmgr_base_fns.c free(new_app_context->app); app 284 orte/mca/errmgr/base/errmgr_base_fns.c new_app_context->app = NULL; app 305 orte/mca/errmgr/base/errmgr_base_fns.c new_app_context->app = strdup("opal-restart"); app 306 orte/mca/errmgr/base/errmgr_base_fns.c opal_argv_append(&argc, &(new_app_context->argv), new_app_context->app); app 107 orte/mca/ess/base/ess_base_std_orted.c orte_app_context_t *app; app 334 orte/mca/ess/base/ess_base_std_orted.c app = OBJ_NEW(orte_app_context_t); app 335 orte/mca/ess/base/ess_base_std_orted.c opal_pointer_array_set_item(jdata->apps, 0, app); app 138 orte/mca/ess/hnp/ess_hnp_module.c orte_app_context_t *app; app 432 orte/mca/ess/hnp/ess_hnp_module.c app = OBJ_NEW(orte_app_context_t); app 433 orte/mca/ess/hnp/ess_hnp_module.c opal_pointer_array_set_item(jdata->apps, 0, app); app 76 orte/mca/filem/base/base.h orte_app_context_t *app); app 212 orte/mca/filem/base/filem_base_fns.c orte_app_context_t *app) app 344 orte/mca/filem/filem.h orte_app_context_t *app); app 69 orte/mca/filem/raw/filem_raw_module.c orte_app_context_t *app); app 250 orte/mca/filem/raw/filem_raw_module.c orte_app_context_t *app; app 272 orte/mca/filem/raw/filem_raw_module.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, i))) { app 275 orte/mca/filem/raw/filem_raw_module.c if (orte_get_attribute(&app->attributes, ORTE_APP_PRELOAD_BIN, NULL, OPAL_BOOL)) { app 280 orte/mca/filem/raw/filem_raw_module.c app->app)); app 282 orte/mca/filem/raw/filem_raw_module.c fs->local_target = strdup(app->app); app 289 orte/mca/filem/raw/filem_raw_module.c cptr = opal_basename(app->app); app 290 orte/mca/filem/raw/filem_raw_module.c free(app->app); app 291 orte/mca/filem/raw/filem_raw_module.c opal_asprintf(&app->app, "./%s", cptr); app 292 orte/mca/filem/raw/filem_raw_module.c free(app->argv[0]); app 293 orte/mca/filem/raw/filem_raw_module.c app->argv[0] = strdup(app->app); app 294 orte/mca/filem/raw/filem_raw_module.c fs->remote_target = strdup(app->app); app 296 orte/mca/filem/raw/filem_raw_module.c if (orte_get_attribute(&app->attributes, ORTE_APP_PRELOAD_FILES, (void**)&filestring, OPAL_STRING)) { app 390 orte/mca/filem/raw/filem_raw_module.c orte_set_attribute(&app->attributes, ORTE_APP_PRELOAD_FILES, ORTE_ATTR_GLOBAL, filestring, OPAL_STRING); app 621 orte/mca/filem/raw/filem_raw_module.c orte_app_context_t *app) app 646 orte/mca/filem/raw/filem_raw_module.c if (orte_get_attribute(&app->attributes, ORTE_APP_PRELOAD_FILES, (void**)&filestring, OPAL_STRING)) { app 650 orte/mca/filem/raw/filem_raw_module.c if (orte_get_attribute(&app->attributes, ORTE_APP_PRELOAD_BIN, NULL, OPAL_BOOL)) { app 652 orte/mca/filem/raw/filem_raw_module.c bname = opal_basename(app->app); app 678 orte/mca/filem/raw/filem_raw_module.c if (proc->app_idx != app->idx) { app 683 orte/mca/filem/raw/filem_raw_module.c (int)app->idx)); app 361 orte/mca/odls/alps/odls_alps_module.c orte_process_info.nodename, cd->app->app); app 392 orte/mca/odls/alps/odls_alps_module.c orte_process_info.nodename, cd->app->app, app 399 orte/mca/odls/alps/odls_alps_module.c cd->argv[0] = strdup(cd->app->app); app 441 orte/mca/odls/alps/odls_alps_module.c opal_output(0, "%s STARTING %s", ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), cd->app->app); app 453 orte/mca/odls/alps/odls_alps_module.c orte_process_info.nodename, cd->app->app, strerror(errno)); app 510 orte/mca/odls/alps/odls_alps_module.c orte_process_info.nodename, cd->app, app 524 orte/mca/odls/alps/odls_alps_module.c orte_process_info.nodename, cd->app, app 538 orte/mca/odls/alps/odls_alps_module.c orte_process_info.nodename, cd->app, app 463 orte/mca/odls/base/odls_base_default_fns.c orte_app_context_t *app; app 747 orte/mca/odls/base/odls_base_default_fns.c app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, pptr->app_idx); app 748 orte/mca/odls/base/odls_base_default_fns.c ORTE_FLAG_SET(app, ORTE_APP_FLAG_USED_ON_NODE); app 824 orte/mca/odls/base/odls_base_default_fns.c static int setup_path(orte_app_context_t *app, char **wdir) app 829 orte/mca/odls/base/odls_base_default_fns.c if (!orte_get_attribute(&app->attributes, ORTE_APP_SSNDIR_CWD, NULL, OPAL_BOOL)) { app 834 orte/mca/odls/base/odls_base_default_fns.c if (ORTE_SUCCESS != (rc = orte_util_check_context_cwd(app, true))) { app 856 orte/mca/odls/base/odls_base_default_fns.c opal_setenv("PWD", dir, true, &app->env); app 858 orte/mca/odls/base/odls_base_default_fns.c opal_setenv(OPAL_MCA_PREFIX"initial_wdir", dir, true, &app->env); app 916 orte/mca/odls/base/odls_base_default_fns.c orte_app_context_t *app = cd->app; app 925 orte/mca/odls/base/odls_base_default_fns.c cd->env = opal_argv_copy(app->env); app 957 orte/mca/odls/base/odls_base_default_fns.c if (ORTE_SUCCESS != (rc = orte_schizo.setup_child(jobdat, child, app, &cd->env))) { app 982 orte/mca/odls/base/odls_base_default_fns.c for (i=0; NULL != app->argv[i]; i++) { app 983 orte/mca/odls/base/odls_base_default_fns.c opal_argv_append_nosize(&cd->argv, app->argv[i]); app 1000 orte/mca/odls/base/odls_base_default_fns.c cd->cmd = strdup(app->app); app 1001 orte/mca/odls/base/odls_base_default_fns.c cd->argv = opal_argv_copy(app->argv); app 1007 orte/mca/odls/base/odls_base_default_fns.c for (i=0; NULL != app->argv[i]; i++) { app 1008 orte/mca/odls/base/odls_base_default_fns.c opal_argv_append_nosize(&cd->argv, app->argv[i]); app 1019 orte/mca/odls/base/odls_base_default_fns.c cd->cmd = strdup(app->app); app 1020 orte/mca/odls/base/odls_base_default_fns.c cd->argv = opal_argv_copy(app->argv); app 1038 orte/mca/odls/base/odls_base_default_fns.c opal_dss.dump(orte_odls_base_framework.framework_output, app, ORTE_APP_CONTEXT); app 1060 orte/mca/odls/base/odls_base_default_fns.c orte_app_context_t *app; app 1176 orte/mca/odls/base/odls_base_default_fns.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jobdat->apps, j))) { app 1181 orte/mca/odls/base/odls_base_default_fns.c if (!ORTE_FLAG_TEST(app, ORTE_APP_FLAG_USED_ON_NODE)) { app 1189 orte/mca/odls/base/odls_base_default_fns.c if (ORTE_SUCCESS != (rc = orte_schizo.setup_fork(jobdat, app))) { app 1220 orte/mca/odls/base/odls_base_default_fns.c if (ORTE_SUCCESS != (rc = setup_path(app, &effective_dir))) { app 1247 orte/mca/odls/base/odls_base_default_fns.c if (ORTE_SUCCESS != (rc = orte_filem.link_local_files(jobdat, app))) { app 1263 orte/mca/odls/base/odls_base_default_fns.c for (argvptr = app->env; *argvptr != NULL; argvptr++) { app 1287 orte/mca/odls/base/odls_base_default_fns.c argvptr = app->env; app 1290 orte/mca/odls/base/odls_base_default_fns.c rc = orte_util_check_context_app(app, argvptr); app 1312 orte/mca/odls/base/odls_base_default_fns.c opal_setenv(OPAL_MCA_PREFIX"orte_launch", "1", true, &app->env); app 1317 orte/mca/odls/base/odls_base_default_fns.c orte_process_info.nodename, app, app 1413 orte/mca/odls/base/odls_base_default_fns.c cd->app = app; app 2031 orte/mca/odls/base/odls_base_default_fns.c orte_app_context_t *app; app 2067 orte/mca/odls/base/odls_base_default_fns.c app = (orte_app_context_t*)opal_pointer_array_get_item(jobdat->apps, child->app_idx); app 2070 orte/mca/odls/base/odls_base_default_fns.c if (ORTE_SUCCESS != (rc = orte_schizo.setup_child(jobdat, child, app, &app->env))) { app 2076 orte/mca/odls/base/odls_base_default_fns.c if (ORTE_SUCCESS != (rc = setup_path(app, &wdir))) { app 2091 orte/mca/odls/base/odls_base_default_fns.c cd->app = app; app 2130 orte/mca/odls/base/odls_base_default_fns.c ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), app->app)); app 103 orte/mca/odls/base/odls_private.h orte_app_context_t *app; app 372 orte/mca/odls/default/odls_default_module.c orte_process_info.nodename, cd->app->app); app 417 orte/mca/odls/default/odls_default_module.c cd->argv[0] = strdup(cd->app->app); app 460 orte/mca/odls/default/odls_default_module.c orte_process_info.nodename, dir, cd->app->app, strerror(errno)); app 517 orte/mca/odls/default/odls_default_module.c orte_process_info.nodename, cd->app->app, app 531 orte/mca/odls/default/odls_default_module.c orte_process_info.nodename, cd->app->app, app 545 orte/mca/odls/default/odls_default_module.c orte_process_info.nodename, cd->app->app, app 352 orte/mca/odls/pspawn/odls_pspawn.c rc = posix_spawn(&pid, cd->app->app, &factions, &attrs, cd->argv, cd->env); app 186 orte/mca/plm/alps/plm_alps_module.c orte_app_context_t *app; app 379 orte/mca/plm/alps/plm_alps_module.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(state->jdata->apps, i))) { app 382 orte/mca/plm/alps/plm_alps_module.c orte_get_attribute(&app->attributes, ORTE_APP_PREFIX_DIR, (void**)&app_prefix_dir, OPAL_STRING); app 348 orte/mca/plm/base/plm_base_launch_support.c orte_app_context_t *app; app 415 orte/mca/plm/base/plm_base_launch_support.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(caddy->jdata->apps, i))) { app 418 orte/mca/plm/base/plm_base_launch_support.c opal_setenv(OPAL_MCA_PREFIX"orte_precondition_transports", key, true, &app->env); app 442 orte/mca/plm/base/plm_base_launch_support.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(caddy->jdata->apps, i))) { app 445 orte/mca/plm/base/plm_base_launch_support.c if (!orte_get_attribute(&app->attributes, ORTE_APP_RECOV_DEF, NULL, OPAL_BOOL)) { app 446 orte/mca/plm/base/plm_base_launch_support.c orte_set_attribute(&app->attributes, ORTE_APP_MAX_RESTARTS, ORTE_ATTR_LOCAL, &orte_max_restarts, OPAL_INT32); app 1770 orte/mca/plm/base/plm_base_launch_support.c orte_app_context_t *app; app 1965 orte/mca/plm/base/plm_base_launch_support.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, i))) { app 1973 orte/mca/plm/base/plm_base_launch_support.c orte_get_attribute(&app->attributes, ORTE_APP_DASH_HOST, (void**)&hosts, OPAL_STRING)) { app 1983 orte/mca/plm/base/plm_base_launch_support.c } else if (orte_get_attribute(&app->attributes, ORTE_APP_HOSTFILE, (void**)&hosts, OPAL_STRING)) { app 2152 orte/mca/plm/base/plm_base_launch_support.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, i))) { app 2155 orte/mca/plm/base/plm_base_launch_support.c if (ORTE_SUCCESS != (rc = orte_rmaps_base_filter_nodes(app, &nodes, false)) && app 138 orte/mca/plm/base/plm_base_receive.c orte_app_context_t *app, *child_app; app 192 orte/mca/plm/base/plm_base_receive.c app = (orte_app_context_t*)opal_pointer_array_get_item(parent->apps, 0); app 195 orte/mca/plm/base/plm_base_receive.c if (orte_get_attribute(&app->attributes, ORTE_APP_PREFIX_DIR, (void**)&prefix_dir, OPAL_STRING) && app 209 orte/mca/plm/base/plm_base_receive.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, i))) { app 212 orte/mca/plm/base/plm_base_receive.c env = opal_environ_merge(orte_forwarded_envars, app->env); app 213 orte/mca/plm/base/plm_base_receive.c opal_argv_free(app->env); app 214 orte/mca/plm/base/plm_base_receive.c app->env = env; app 171 orte/mca/plm/lsf/plm_lsf_module.c orte_app_context_t *app; app 303 orte/mca/plm/lsf/plm_lsf_module.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, i))) { app 306 orte/mca/plm/lsf/plm_lsf_module.c if (orte_get_attribute(&app->attributes, ORTE_APP_PREFIX_DIR, (void**)&app_prefix_dir, OPAL_STRING) && app 1027 orte/mca/plm/rsh/plm_rsh_module.c orte_app_context_t *app; app 1135 orte/mca/plm/rsh/plm_rsh_module.c app = (orte_app_context_t*)opal_pointer_array_get_item(state->jdata->apps, 0); app 1136 orte/mca/plm/rsh/plm_rsh_module.c if (!orte_get_attribute(&app->attributes, ORTE_APP_PREFIX_DIR, (void**)&prefix_dir, OPAL_STRING)) { app 170 orte/mca/plm/slurm/plm_slurm_module.c orte_app_context_t *app; app 380 orte/mca/plm/slurm/plm_slurm_module.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(state->jdata->apps, n))) { app 384 orte/mca/plm/slurm/plm_slurm_module.c orte_get_attribute(&app->attributes, ORTE_APP_PREFIX_DIR, (void**)&app_prefix_dir, OPAL_STRING); app 171 orte/mca/plm/tm/plm_tm_module.c orte_app_context_t *app; app 314 orte/mca/plm/tm/plm_tm_module.c app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, 0); app 315 orte/mca/plm/tm/plm_tm_module.c orte_get_attribute(&app->attributes, ORTE_APP_PREFIX_DIR, (void**)&prefix_dir, OPAL_STRING); app 118 orte/mca/ras/base/ras_base_allocate.c orte_app_context_t *app; app 280 orte/mca/ras/base/ras_base_allocate.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, i))) { app 284 orte/mca/ras/base/ras_base_allocate.c orte_get_attribute(&app->attributes, ORTE_APP_DASH_HOST, (void**)&hosts, OPAL_STRING)) { app 340 orte/mca/ras/base/ras_base_allocate.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, i))) { app 343 orte/mca/ras/base/ras_base_allocate.c if (orte_get_attribute(&app->attributes, ORTE_APP_HOSTFILE, (void**)&hosts, OPAL_STRING)) { app 485 orte/mca/ras/base/ras_base_allocate.c orte_app_context_t *app; app 506 orte/mca/ras/base/ras_base_allocate.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, i))) { app 509 orte/mca/ras/base/ras_base_allocate.c if (orte_get_attribute(&app->attributes, ORTE_APP_ADD_HOSTFILE, (void**)&hosts, OPAL_STRING)) { app 522 orte/mca/ras/base/ras_base_allocate.c orte_set_attribute(&app->attributes, ORTE_APP_HOSTFILE, ORTE_ATTR_LOCAL, (void**)hosts, OPAL_STRING); app 523 orte/mca/ras/base/ras_base_allocate.c orte_remove_attribute(&app->attributes, ORTE_APP_ADD_HOSTFILE); app 538 orte/mca/ras/base/ras_base_allocate.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, i))) { app 541 orte/mca/ras/base/ras_base_allocate.c if (orte_get_attribute(&app->attributes, ORTE_APP_ADD_HOST, (void**)&hosts, OPAL_STRING)) { app 552 orte/mca/ras/base/ras_base_allocate.c orte_set_attribute(&app->attributes, ORTE_APP_DASH_HOST, ORTE_ATTR_LOCAL, hosts, OPAL_STRING); app 553 orte/mca/ras/base/ras_base_allocate.c orte_remove_attribute(&app->attributes, ORTE_APP_ADD_HOST); app 88 orte/mca/ras/ras.h orte_app_context_t *app); app 69 orte/mca/ras/slurm/ras_slurm_module.c orte_app_context_t *app); app 89 orte/mca/ras/slurm/ras_slurm_module.c static char* get_node_list(orte_app_context_t *app); app 364 orte/mca/ras/slurm/ras_slurm_module.c orte_app_context_t *app) app 788 orte/mca/ras/slurm/ras_slurm_module.c orte_app_context_t *app; app 877 orte/mca/ras/slurm/ras_slurm_module.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, idx))) { app 886 orte/mca/ras/slurm/ras_slurm_module.c orte_remove_attribute(&app->attributes, ORTE_APP_DASH_HOST); app 936 orte/mca/ras/slurm/ras_slurm_module.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, idx))) { app 943 orte/mca/ras/slurm/ras_slurm_module.c orte_set_attribute(&app->attributes, ORTE_APP_DASH_HOST, ORTE_ATTR_LOCAL, (void*)tpn, OPAL_STRING); app 991 orte/mca/ras/slurm/ras_slurm_module.c orte_app_context_t *app; app 1046 orte/mca/ras/slurm/ras_slurm_module.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, i))) { app 1050 orte/mca/ras/slurm/ras_slurm_module.c opal_asprintf(&tmp, ": app=%d", (int)app->idx); app 1054 orte/mca/ras/slurm/ras_slurm_module.c opal_asprintf(&tmp, "np=%d", app->num_procs); app 1058 orte/mca/ras/slurm/ras_slurm_module.c if (orte_get_attribute(&app->attributes, ORTE_APP_MIN_NODES, (void**)&i64ptr, OPAL_INT64)) { app 1066 orte/mca/ras/slurm/ras_slurm_module.c node_list = get_node_list(app); app 1074 orte/mca/ras/slurm/ras_slurm_module.c if (orte_get_attribute(&app->attributes, ORTE_APP_MANDATORY, NULL, OPAL_BOOL)) { app 1155 orte/mca/ras/slurm/ras_slurm_module.c static char* get_node_list(orte_app_context_t *app) app 1162 orte/mca/ras/slurm/ras_slurm_module.c if (!orte_get_attribute(&app->attributes, ORTE_APP_DASH_HOST, (void**)&dh, OPAL_STRING)) { app 123 orte/mca/rmaps/base/base.h ORTE_DECLSPEC int orte_rmaps_base_filter_nodes(orte_app_context_t *app, app 57 orte/mca/rmaps/base/rmaps_base_map_job.c orte_app_context_t *app; app 103 orte/mca/rmaps/base/rmaps_base_map_job.c if (NULL != (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, i))) { app 104 orte/mca/rmaps/base/rmaps_base_map_job.c if (0 == app->num_procs) { app 108 orte/mca/rmaps/base/rmaps_base_map_job.c orte_rmaps_base_get_target_nodes(&nodes, &slots, app, ORTE_MAPPING_BYNODE, true, true); app 119 orte/mca/rmaps/base/rmaps_base_map_job.c app->num_procs = slots; app 122 orte/mca/rmaps/base/rmaps_base_map_job.c nprocs += app->num_procs; app 58 orte/mca/rmaps/base/rmaps_base_ranking.c orte_app_context_t *app; app 91 orte/mca/rmaps/base/rmaps_base_ranking.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, n))) { app 96 orte/mca/rmaps/base/rmaps_base_ranking.c while (cnt < app->num_procs) { app 112 orte/mca/rmaps/base/rmaps_base_ranking.c for (i=0; i < num_objs && cnt < app->num_procs; i++) { app 120 orte/mca/rmaps/base/rmaps_base_ranking.c for (j=0; j < node->procs->size && cnt < app->num_procs; j++) { app 136 orte/mca/rmaps/base/rmaps_base_ranking.c if (proc->app_idx != app->idx) { app 156 orte/mca/rmaps/base/rmaps_base_ranking.c app->first_rank = proc->name.vpid; app 188 orte/mca/rmaps/base/rmaps_base_ranking.c orte_app_context_t *app; app 213 orte/mca/rmaps/base/rmaps_base_ranking.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, n))) { app 233 orte/mca/rmaps/base/rmaps_base_ranking.c for (i=0; i < num_objs && cnt < app->num_procs; i++) { app 241 orte/mca/rmaps/base/rmaps_base_ranking.c for (j=0; j < node->procs->size && cnt < app->num_procs; j++) { app 257 orte/mca/rmaps/base/rmaps_base_ranking.c if (proc->app_idx != app->idx) { app 277 orte/mca/rmaps/base/rmaps_base_ranking.c app->first_rank = proc->name.vpid; app 306 orte/mca/rmaps/base/rmaps_base_ranking.c orte_app_context_t *app; app 338 orte/mca/rmaps/base/rmaps_base_ranking.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, n))) { app 399 orte/mca/rmaps/base/rmaps_base_ranking.c while (cnt < app->num_procs && niters_of_i_without_assigning_a_proc <= num_objs) { app 407 orte/mca/rmaps/base/rmaps_base_ranking.c for (j=0; np < node->num_procs && j < node->procs->size && cnt < app->num_procs; j++) { app 427 orte/mca/rmaps/base/rmaps_base_ranking.c if (proc->app_idx != app->idx) { app 450 orte/mca/rmaps/base/rmaps_base_ranking.c app->first_rank = proc->name.vpid; app 488 orte/mca/rmaps/base/rmaps_base_ranking.c orte_app_context_t *app; app 626 orte/mca/rmaps/base/rmaps_base_ranking.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, n))) { app 631 orte/mca/rmaps/base/rmaps_base_ranking.c while (cnt < app->num_procs && one_found) { app 646 orte/mca/rmaps/base/rmaps_base_ranking.c if (proc->app_idx != app->idx) { app 672 orte/mca/rmaps/base/rmaps_base_ranking.c if (cnt < app->num_procs) { app 688 orte/mca/rmaps/base/rmaps_base_ranking.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, n))) { app 705 orte/mca/rmaps/base/rmaps_base_ranking.c if (proc->app_idx != app->idx) { app 745 orte/mca/rmaps/base/rmaps_base_ranking.c orte_app_context_t *app; app 818 orte/mca/rmaps/base/rmaps_base_ranking.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, i))) { app 827 orte/mca/rmaps/base/rmaps_base_ranking.c if (proc->app_idx != app->idx) { app 54 orte/mca/rmaps/base/rmaps_base_support_fns.c int orte_rmaps_base_filter_nodes(orte_app_context_t *app, app 61 orte/mca/rmaps/base/rmaps_base_support_fns.c if (orte_get_attribute(&app->attributes, ORTE_APP_HOSTFILE, (void**)&hosts, OPAL_STRING)) { app 73 orte/mca/rmaps/base/rmaps_base_support_fns.c true, app->app, "-hostfile", hosts); app 80 orte/mca/rmaps/base/rmaps_base_support_fns.c if (orte_get_attribute(&app->attributes, ORTE_APP_ADD_HOSTFILE, (void**)&hosts, OPAL_STRING)) { app 92 orte/mca/rmaps/base/rmaps_base_support_fns.c true, app->app, "-add-hostfile", hosts); app 100 orte/mca/rmaps/base/rmaps_base_support_fns.c orte_get_attribute(&app->attributes, ORTE_APP_DASH_HOST, (void**)&hosts, OPAL_STRING)) { app 109 orte/mca/rmaps/base/rmaps_base_support_fns.c true, app->app, "-host", hosts); app 116 orte/mca/rmaps/base/rmaps_base_support_fns.c if (orte_get_attribute(&app->attributes, ORTE_APP_ADD_HOST, (void**)&hosts, OPAL_STRING)) { app 125 orte/mca/rmaps/base/rmaps_base_support_fns.c true, app->app, "-add-host", hosts); app 140 orte/mca/rmaps/base/rmaps_base_support_fns.c orte_app_context_t *app, orte_mapping_policy_t policy, app 172 orte/mca/rmaps/base/rmaps_base_support_fns.c orte_get_attribute(&app->attributes, ORTE_APP_DASH_HOST, (void**)&hosts, OPAL_STRING)) { app 182 orte/mca/rmaps/base/rmaps_base_support_fns.c } else if (orte_get_attribute(&app->attributes, ORTE_APP_HOSTFILE, (void**)&hosts, OPAL_STRING)) { app 396 orte/mca/rmaps/base/rmaps_base_support_fns.c if (ORTE_SUCCESS != (rc = orte_rmaps_base_filter_nodes(app, allocated_nodes, true)) app 450 orte/mca/rmaps/base/rmaps_base_support_fns.c if (orte_get_attribute(&app->attributes, ORTE_APP_DASH_HOST, (void**)&hosts, OPAL_STRING)) { app 48 orte/mca/rmaps/base/rmaps_private.h orte_app_context_t *app, app 68 orte/mca/rmaps/base/rmaps_private.h ORTE_DECLSPEC int orte_rmaps_base_rearrange_map(orte_app_context_t *app, orte_job_map_t *map, opal_list_t *procs); app 60 orte/mca/rmaps/mindist/rmaps_mindist_module.c orte_app_context_t *app; app 148 orte/mca/rmaps/mindist/rmaps_mindist_module.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, i))) { app 159 orte/mca/rmaps/mindist/rmaps_mindist_module.c if (0 == app->num_procs && 1 < jdata->num_apps) { app 170 orte/mca/rmaps/mindist/rmaps_mindist_module.c if(ORTE_SUCCESS != (rc = orte_rmaps_base_get_target_nodes(&node_list, &num_slots, app, app 177 orte/mca/rmaps/mindist/rmaps_mindist_module.c if (num_slots < (int)app->num_procs) { app 180 orte/mca/rmaps/mindist/rmaps_mindist_module.c true, app->num_procs, app->app, orte_process_info.nodename); app 194 orte/mca/rmaps/mindist/rmaps_mindist_module.c if (0 == app->num_procs) { app 196 orte/mca/rmaps/mindist/rmaps_mindist_module.c app->num_procs = num_slots; app 205 orte/mca/rmaps/mindist/rmaps_mindist_module.c if (bynode || (app->num_procs > num_slots)) { app 209 orte/mca/rmaps/mindist/rmaps_mindist_module.c navg = ((int)app->num_procs - nprocs_mapped) / num_nodes; app 210 orte/mca/rmaps/mindist/rmaps_mindist_module.c nextra = app->num_procs - navg * num_nodes; app 216 orte/mca/rmaps/mindist/rmaps_mindist_module.c balance = (float)(((int)app->num_procs - nprocs_mapped) - (navg * num_nodes)) / (float)num_nodes; app 222 orte/mca/rmaps/mindist/rmaps_mindist_module.c nxtra_nodes = ((int)app->num_procs - nprocs_mapped) - ((navg + extra_procs_to_assign) * num_nodes); app 315 orte/mca/rmaps/mindist/rmaps_mindist_module.c num_procs_to_assign = ((int)app->num_procs - nprocs_mapped) > node->slots ? app 316 orte/mca/rmaps/mindist/rmaps_mindist_module.c node->slots : ((int)app->num_procs - nprocs_mapped); app 324 orte/mca/rmaps/mindist/rmaps_mindist_module.c true, app->num_procs, app->app); app 367 orte/mca/rmaps/mindist/rmaps_mindist_module.c for (k = 0; (k < required) && (nprocs_mapped < app->num_procs); k++) { app 376 orte/mca/rmaps/mindist/rmaps_mindist_module.c if ((nprocs_mapped == (int)app->num_procs) || ((int)num_procs_to_assign == j)) { app 414 orte/mca/rmaps/mindist/rmaps_mindist_module.c } while(bynode && nprocs_mapped < app->num_procs && 0 < num_nodes); app 420 orte/mca/rmaps/mindist/rmaps_mindist_module.c jdata->num_procs += app->num_procs; app 446 orte/mca/rmaps/mindist/rmaps_mindist_module.c orte_app_context_t *app; app 473 orte/mca/rmaps/mindist/rmaps_mindist_module.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, n))) { app 77 orte/mca/rmaps/ppr/rmaps_ppr.c orte_app_context_t *app; app 236 orte/mca/rmaps/ppr/rmaps_ppr.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, idx))) { app 244 orte/mca/rmaps/ppr/rmaps_ppr.c if (0 < app->num_procs) { app 245 orte/mca/rmaps/ppr/rmaps_ppr.c total_procs = app->num_procs; app 252 orte/mca/rmaps/ppr/rmaps_ppr.c if(ORTE_SUCCESS != (rc = orte_rmaps_base_get_target_nodes(&node_list, &num_slots, app, app 345 orte/mca/rmaps/ppr/rmaps_ppr.c true, node->num_procs, app->app); app 362 orte/mca/rmaps/ppr/rmaps_ppr.c true, app->num_procs, app->app); app 368 orte/mca/rmaps/ppr/rmaps_ppr.c true, app->num_procs, app->app); app 383 orte/mca/rmaps/ppr/rmaps_ppr.c if (0 == app->num_procs) { app 384 orte/mca/rmaps/ppr/rmaps_ppr.c app->num_procs = nprocs_mapped; app 389 orte/mca/rmaps/ppr/rmaps_ppr.c true, app->app, app->num_procs, jdata->map->ppr); app 398 orte/mca/rmaps/ppr/rmaps_ppr.c jdata->num_procs += app->num_procs; app 624 orte/mca/rmaps/ppr/rmaps_ppr.c orte_app_context_t *app; app 681 orte/mca/rmaps/ppr/rmaps_ppr.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, n))) { app 719 orte/mca/rmaps/ppr/rmaps_ppr.c for (j=0; j < node->procs->size && cnt < ppr && nprocs_mapped < app->num_procs; j++) { app 78 orte/mca/rmaps/rank_file/rmaps_rank_file.c orte_app_context_t *app=NULL; app 145 orte/mca/rmaps/rank_file/rmaps_rank_file.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, 0))) { app 156 orte/mca/rmaps/rank_file/rmaps_rank_file.c if (0 == app->num_procs && 1 < jdata->num_apps) { app 180 orte/mca/rmaps/rank_file/rmaps_rank_file.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, i))) { app 188 orte/mca/rmaps/rank_file/rmaps_rank_file.c if(ORTE_SUCCESS != (rc = orte_rmaps_base_get_target_nodes(&node_list, &num_slots, app, app 197 orte/mca/rmaps/rank_file/rmaps_rank_file.c if (0 == app->num_procs) { app 202 orte/mca/rmaps/rank_file/rmaps_rank_file.c app->num_procs = num_ranks; app 205 orte/mca/rmaps/rank_file/rmaps_rank_file.c app->num_procs = num_slots; app 208 orte/mca/rmaps/rank_file/rmaps_rank_file.c for (k=0; k < app->num_procs; k++) { app 304 orte/mca/rmaps/rank_file/rmaps_rank_file.c true, node->num_procs, app->app); app 358 orte/mca/rmaps/rank_file/rmaps_rank_file.c vpid_start += app->num_procs; app 59 orte/mca/rmaps/resilient/rmaps_resilient.c orte_app_context_t *app, app 69 orte/mca/rmaps/resilient/rmaps_resilient.c orte_app_context_t *app; app 153 orte/mca/rmaps/resilient/rmaps_resilient.c app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, proc->app_idx); app 154 orte/mca/rmaps/resilient/rmaps_resilient.c if( NULL == app ) { app 182 orte/mca/rmaps/resilient/rmaps_resilient.c app, app 237 orte/mca/rmaps/resilient/rmaps_resilient.c if (ORTE_SUCCESS != (rc = get_new_node(proc, app, jdata->map, &nd))) { app 475 orte/mca/rmaps/resilient/rmaps_resilient.c orte_app_context_t *app, app 499 orte/mca/rmaps/resilient/rmaps_resilient.c app, app 700 orte/mca/rmaps/resilient/rmaps_resilient.c orte_app_context_t *app; app 723 orte/mca/rmaps/resilient/rmaps_resilient.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, i))) { app 729 orte/mca/rmaps/resilient/rmaps_resilient.c if (0 == app->num_procs) { app 741 orte/mca/rmaps/resilient/rmaps_resilient.c if (ORTE_SUCCESS != (rc = orte_rmaps_base_get_target_nodes(&node_list, &num_slots, app, app 769 orte/mca/rmaps/resilient/rmaps_resilient.c for (j=0; j < app->num_procs; j++) { app 848 orte/mca/rmaps/resilient/rmaps_resilient.c if (NULL == orte_rmaps_base_setup_proc(jdata, nd, app->idx)) { app 856 orte/mca/rmaps/resilient/rmaps_resilient.c true, nd->num_procs, app->app); app 877 orte/mca/rmaps/resilient/rmaps_resilient.c jdata->num_procs += app->num_procs; app 48 orte/mca/rmaps/round_robin/rmaps_rr.c orte_app_context_t *app; app 100 orte/mca/rmaps/round_robin/rmaps_rr.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, i))) { app 111 orte/mca/rmaps/round_robin/rmaps_rr.c if (0 == app->num_procs && 1 < jdata->num_apps) { app 122 orte/mca/rmaps/round_robin/rmaps_rr.c if(ORTE_SUCCESS != (rc = orte_rmaps_base_get_target_nodes(&node_list, &num_slots, app, app 133 orte/mca/rmaps/round_robin/rmaps_rr.c if (0 == app->num_procs) { app 137 orte/mca/rmaps/round_robin/rmaps_rr.c app->num_procs = num_slots; app 141 orte/mca/rmaps/round_robin/rmaps_rr.c if (0 == app->num_procs) { app 142 orte/mca/rmaps/round_robin/rmaps_rr.c app->num_procs = 1; app 148 orte/mca/rmaps/round_robin/rmaps_rr.c rc = orte_rmaps_rr_bynode(jdata, app, &node_list, num_slots, app 149 orte/mca/rmaps/round_robin/rmaps_rr.c app->num_procs); app 151 orte/mca/rmaps/round_robin/rmaps_rr.c rc = orte_rmaps_rr_byslot(jdata, app, &node_list, num_slots, app 152 orte/mca/rmaps/round_robin/rmaps_rr.c app->num_procs); app 154 orte/mca/rmaps/round_robin/rmaps_rr.c rc = orte_rmaps_rr_byobj(jdata, app, &node_list, num_slots, app 155 orte/mca/rmaps/round_robin/rmaps_rr.c app->num_procs, HWLOC_OBJ_PU, 0); app 162 orte/mca/rmaps/round_robin/rmaps_rr.c rc = orte_rmaps_rr_byslot(jdata, app, &node_list, num_slots, app 163 orte/mca/rmaps/round_robin/rmaps_rr.c app->num_procs); app 166 orte/mca/rmaps/round_robin/rmaps_rr.c rc = orte_rmaps_rr_byobj(jdata, app, &node_list, num_slots, app 167 orte/mca/rmaps/round_robin/rmaps_rr.c app->num_procs, HWLOC_OBJ_CORE, 0); app 174 orte/mca/rmaps/round_robin/rmaps_rr.c rc = orte_rmaps_rr_byslot(jdata, app, &node_list, num_slots, app 175 orte/mca/rmaps/round_robin/rmaps_rr.c app->num_procs); app 179 orte/mca/rmaps/round_robin/rmaps_rr.c rc = orte_rmaps_rr_byobj(jdata, app, &node_list, num_slots, app->num_procs, app 187 orte/mca/rmaps/round_robin/rmaps_rr.c rc = orte_rmaps_rr_byslot(jdata, app, &node_list, num_slots, app 188 orte/mca/rmaps/round_robin/rmaps_rr.c app->num_procs); app 192 orte/mca/rmaps/round_robin/rmaps_rr.c rc = orte_rmaps_rr_byobj(jdata, app, &node_list, num_slots, app->num_procs, app 200 orte/mca/rmaps/round_robin/rmaps_rr.c rc = orte_rmaps_rr_byslot(jdata, app, &node_list, num_slots, app 201 orte/mca/rmaps/round_robin/rmaps_rr.c app->num_procs); app 205 orte/mca/rmaps/round_robin/rmaps_rr.c rc = orte_rmaps_rr_byobj(jdata, app, &node_list, num_slots, app->num_procs, app 213 orte/mca/rmaps/round_robin/rmaps_rr.c rc = orte_rmaps_rr_byslot(jdata, app, &node_list, num_slots, app 214 orte/mca/rmaps/round_robin/rmaps_rr.c app->num_procs); app 217 orte/mca/rmaps/round_robin/rmaps_rr.c rc = orte_rmaps_rr_byobj(jdata, app, &node_list, num_slots, app 218 orte/mca/rmaps/round_robin/rmaps_rr.c app->num_procs, HWLOC_OBJ_SOCKET, 0); app 225 orte/mca/rmaps/round_robin/rmaps_rr.c rc = orte_rmaps_rr_byslot(jdata, app, &node_list, num_slots, app 226 orte/mca/rmaps/round_robin/rmaps_rr.c app->num_procs); app 229 orte/mca/rmaps/round_robin/rmaps_rr.c rc = orte_rmaps_rr_byobj(jdata, app, &node_list, num_slots, app 230 orte/mca/rmaps/round_robin/rmaps_rr.c app->num_procs, HWLOC_OBJ_NODE, 0); app 237 orte/mca/rmaps/round_robin/rmaps_rr.c rc = orte_rmaps_rr_byslot(jdata, app, &node_list, num_slots, app 238 orte/mca/rmaps/round_robin/rmaps_rr.c app->num_procs); app 257 orte/mca/rmaps/round_robin/rmaps_rr.c jdata->num_procs += app->num_procs; app 41 orte/mca/rmaps/round_robin/rmaps_rr.h orte_app_context_t *app, app 46 orte/mca/rmaps/round_robin/rmaps_rr.h orte_app_context_t *app, app 51 orte/mca/rmaps/round_robin/rmaps_rr.h ORTE_MODULE_DECLSPEC int orte_rmaps_rr_byobj(orte_job_t *jdata, orte_app_context_t *app, app 91 orte/mca/rmaps/round_robin/rmaps_rr_assign.c orte_app_context_t *app; app 108 orte/mca/rmaps/round_robin/rmaps_rr_assign.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, n))) { app 149 orte/mca/rmaps/round_robin/rmaps_rr_assign.c if (proc->app_idx != app->idx) { app 41 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c orte_app_context_t *app, app 59 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (num_slots < (int)app->num_procs) { app 62 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c true, app->num_procs, app->app, orte_process_info.nodename); app 107 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c for (i=0; i < num_procs_to_assign && nprocs_mapped < app->num_procs; i++) { app 115 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL == (proc = orte_rmaps_base_setup_proc(jdata, node, app->idx))) { app 123 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (nprocs_mapped == app->num_procs) { app 136 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c balance = (float)((int)app->num_procs - nprocs_mapped) / (float)opal_list_get_size(node_list); app 140 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c nxtra_nodes = app->num_procs - nprocs_mapped - (extra_procs_to_assign * opal_list_get_size(node_list)); app 186 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c for (i=0; i < num_procs_to_assign && nprocs_mapped < app->num_procs; i++) { app 187 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL == (proc = orte_rmaps_base_setup_proc(jdata, node, app->idx))) { app 209 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c true, app->num_procs, app->app, orte_process_info.nodename); app 215 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c true, app->num_procs, app->app, orte_process_info.nodename); app 222 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (nprocs_mapped == app->num_procs) { app 230 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c orte_app_context_t *app, app 247 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c ORTE_JOBID_PRINT(jdata->jobid), (int)app->idx, app 251 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (num_slots < (int)app->num_procs) { app 254 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c true, app->num_procs, app->app, orte_process_info.nodename); app 272 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c navg = ((int)app->num_procs - nprocs_mapped) / nnodes; app 281 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c balance = (float)(((int)app->num_procs - nprocs_mapped) - (navg * nnodes)) / (float)nnodes; app 287 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c nxtra_nodes = ((int)app->num_procs - nprocs_mapped) - ((navg + extra_procs_to_assign) * nnodes); app 374 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c for (j=0; j < num_procs_to_assign && nprocs_mapped < app->num_procs; j++) { app 375 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL == (proc = orte_rmaps_base_setup_proc(jdata, node, app->idx))) { app 397 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c true, app->num_procs, app->app, orte_process_info.nodename); app 403 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c true, app->num_procs, app->app, orte_process_info.nodename); app 409 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (nprocs_mapped == app->num_procs) { app 414 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c } while (nprocs_mapped < app->num_procs && 0 < nnodes); app 417 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c while (nprocs_mapped < app->num_procs) { app 429 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL == (proc = orte_rmaps_base_setup_proc(jdata, node, app->idx))) { app 444 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (nprocs_mapped == app->num_procs) { app 455 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c orte_app_context_t *app, app 466 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c orte_app_context_t *app, app 496 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c return byobj_span(jdata, app, node_list, num_slots, app 507 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (num_slots < app->num_procs) { app 510 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c true, app->num_procs, app->app, orte_process_info.nodename); app 588 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c for (i=0; i < (int)nobjs && nmapped < nprocs && nprocs_mapped < (int)app->num_procs; i++) { app 602 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL == (proc = orte_rmaps_base_setup_proc(jdata, node, app->idx))) { app 609 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c } while (nmapped < nprocs && nprocs_mapped < (int)app->num_procs); app 627 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c true, app->num_procs, app->app, orte_process_info.nodename); app 633 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c true, app->num_procs, app->app, orte_process_info.nodename); app 639 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (nprocs_mapped == app->num_procs) { app 645 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c } while (add_one && nprocs_mapped < app->num_procs); app 647 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (nprocs_mapped < app->num_procs) { app 656 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c orte_app_context_t *app, app 676 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (num_slots < (int)app->num_procs) { app 679 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c true, app->num_procs, app->app, orte_process_info.nodename); app 704 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c navg = app->num_procs / nobjs; app 713 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (0 > (nxtra_objs = app->num_procs - (navg * nobjs))) { app 736 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c for (i=0; i < (int)nobjs && nprocs_mapped < (int)app->num_procs; i++) { app 767 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c for (j=0; j < nprocs && nprocs_mapped < app->num_procs; j++) { app 768 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL == (proc = orte_rmaps_base_setup_proc(jdata, node, app->idx))) { app 787 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (nprocs_mapped == app->num_procs) { app 95 orte/mca/rmaps/seq/rmaps_seq.c orte_app_context_t *app; app 236 orte/mca/rmaps/seq/rmaps_seq.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, i))) { app 241 orte/mca/rmaps/seq/rmaps_seq.c if (orte_get_attribute(&app->attributes, ORTE_APP_DASH_HOST, (void**)&hosts, OPAL_STRING)) { app 243 orte/mca/rmaps/seq/rmaps_seq.c "mca:rmaps:seq: using dash-host nodes on app %s", app->app); app 262 orte/mca/rmaps/seq/rmaps_seq.c } else if (orte_get_attribute(&app->attributes, ORTE_APP_HOSTFILE, (void**)&hosts, OPAL_STRING)) { app 269 orte/mca/rmaps/seq/rmaps_seq.c "mca:rmaps:seq: using hostfile %s nodes on app %s", hosts, app->app); app 319 orte/mca/rmaps/seq/rmaps_seq.c "mca:rmaps:seq: using default hostfile nodes on app %s", app->app); app 356 orte/mca/rmaps/seq/rmaps_seq.c if (0 == app->num_procs) { app 357 orte/mca/rmaps/seq/rmaps_seq.c app->num_procs = num_nodes; app 360 orte/mca/rmaps/seq/rmaps_seq.c ORTE_VPID_PRINT(app->num_procs), app->app); app 361 orte/mca/rmaps/seq/rmaps_seq.c } else if (num_nodes < app->num_procs) { app 363 orte/mca/rmaps/seq/rmaps_seq.c app->num_procs, num_nodes); app 372 orte/mca/rmaps/seq/rmaps_seq.c for (n=0; n < app->num_procs; n++) { app 406 orte/mca/rmaps/seq/rmaps_seq.c true, node->num_procs, app->app); app 423 orte/mca/rmaps/seq/rmaps_seq.c true, app->num_procs, app->app); app 429 orte/mca/rmaps/seq/rmaps_seq.c true, app->num_procs, app->app); app 439 orte/mca/rmaps/seq/rmaps_seq.c ORTE_VPID_PRINT(proc->name.vpid), sq->hostname, app->app); app 510 orte/mca/rmaps/seq/rmaps_seq.c jdata->num_procs += app->num_procs; app 291 orte/mca/rtc/hwloc/rtc_hwloc.c orte_process_info.nodename, context->app, app 315 orte/mca/rtc/hwloc/rtc_hwloc.c orte_process_info.nodename, context->app, msg, app 320 orte/mca/rtc/hwloc/rtc_hwloc.c orte_process_info.nodename, context->app, msg, app 352 orte/mca/rtc/hwloc/rtc_hwloc.c context->app, msg, app 357 orte/mca/rtc/hwloc/rtc_hwloc.c orte_process_info.nodename, context->app, msg, app 381 orte/mca/rtc/hwloc/rtc_hwloc.c orte_process_info.nodename, context->app, msg, app 386 orte/mca/rtc/hwloc/rtc_hwloc.c orte_process_info.nodename, context->app, msg, app 441 orte/mca/rtc/hwloc/rtc_hwloc.c orte_process_info.nodename, context->app, msg, app 446 orte/mca/rtc/hwloc/rtc_hwloc.c orte_process_info.nodename, context->app, msg, app 72 orte/mca/schizo/base/base.h ORTE_DECLSPEC int orte_schizo_base_setup_app(orte_app_context_t *app); app 77 orte/mca/schizo/base/base.h orte_app_context_t *app, app 94 orte/mca/schizo/base/schizo_base_stubs.c int orte_schizo_base_setup_app(orte_app_context_t *app) app 101 orte/mca/schizo/base/schizo_base_stubs.c rc = mod->module->setup_app(app); app 131 orte/mca/schizo/base/schizo_base_stubs.c orte_app_context_t *app, app 139 orte/mca/schizo/base/schizo_base_stubs.c rc = mod->module->setup_child(jdata, child, app, env); app 65 orte/mca/schizo/ompi/schizo_ompi.c orte_app_context_t *app, app 800 orte/mca/schizo/ompi/schizo_ompi.c orte_app_context_t *app) app 848 orte/mca/schizo/ompi/schizo_ompi.c if (NULL != app->env) { app 850 orte/mca/schizo/ompi/schizo_ompi.c char **tmp = app->env; app 851 orte/mca/schizo/ompi/schizo_ompi.c envcpy = opal_environ_merge(orte_launch_environ, app->env); app 858 orte/mca/schizo/ompi/schizo_ompi.c app->env = envcpy; app 871 orte/mca/schizo/ompi/schizo_ompi.c orte_get_attribute(&app->attributes, ORTE_APP_PREFIX_DIR, (void**)¶m, OPAL_STRING); app 878 orte/mca/schizo/ompi/schizo_ompi.c for (i = 0; NULL != param && NULL != app->env && NULL != app->env[i]; ++i) { app 882 orte/mca/schizo/ompi/schizo_ompi.c if (0 == strncmp("PATH=", app->env[i], 5)) { app 883 orte/mca/schizo/ompi/schizo_ompi.c opal_asprintf(&newenv, "%s/bin:%s", param, app->env[i] + 5); app 884 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("PATH", newenv, true, &app->env); app 889 orte/mca/schizo/ompi/schizo_ompi.c else if (0 == strncmp("LD_LIBRARY_PATH=", app->env[i], 16)) { app 890 orte/mca/schizo/ompi/schizo_ompi.c opal_asprintf(&newenv, "%s/lib:%s", param, app->env[i] + 16); app 891 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("LD_LIBRARY_PATH", newenv, true, &app->env); app 900 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_MCA_orte_local_daemon_uri", orte_process_info.my_daemon_uri, true, &app->env); app 906 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_MCA_orte_hnp_uri", orte_process_info.my_hnp_uri, true, &app->env); app 911 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_MCA_mpi_oversubscribe", "1", true, &app->env); app 913 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_MCA_mpi_oversubscribe", "0", true, &app->env); app 917 orte/mca/schizo/ompi/schizo_ompi.c opal_asprintf(¶m, "%ld", (long)app->idx); app 918 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_MCA_orte_app_num", param, true, &app->env); app 930 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_UNIVERSE_SIZE", param, true, &app->env); app 935 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_MCA_orte_num_nodes", param, true, &app->env); app 948 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_MCA_orte_cpu_type", htmp, true, &app->env); app 952 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_MCA_orte_cpu_model", htmp, true, &app->env); app 956 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_MCA_orte_cpu_type", orte_local_cpu_type, true, &app->env); app 959 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_MCA_orte_cpu_model", orte_local_cpu_model, true, &app->env); app 970 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_MCA_shmem_RUNTIME_QUERY_hint", param, true, &app->env); app 979 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_MCA_orte_bound_at_launch", "1", true, &app->env); app 985 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_MCA_ess", "^singleton", false, &app->env); app 989 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_MCA_pmix", "^s1,s2,cray", false, &app->env); app 994 orte/mca/schizo/ompi/schizo_ompi.c opal_unsetenv("OMPI_MCA_orte_ess_name", &app->env); app 997 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_MCA_orte_ess_num_procs", param, true, &app->env); app 1007 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_COMM_WORLD_SIZE", param, true, &app->env); app 1018 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_COMM_WORLD_LOCAL_SIZE", param, true, &app->env); app 1022 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_MCA_orte_tmpdir_base", orte_process_info.tmpdir_base, true, &app->env); app 1024 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_MCA_orte_top_session_dir", orte_process_info.top_session_dir, true, &app->env); app 1025 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_MCA_orte_jobfam_session_dir", orte_process_info.jobfam_session_dir, true, &app->env); app 1049 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_NUM_APP_CTX", num_app_ctx, true, &app->env); app 1050 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_FIRST_RANKS", firstrankstring, true, &app->env); app 1051 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv("OMPI_APP_CTX_NUM_PROCS", npstring, true, &app->env); app 1062 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv(attr->data.envar.envar, attr->data.envar.value, true, &app->env); app 1064 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv(attr->data.envar.envar, attr->data.envar.value, false, &app->env); app 1066 orte/mca/schizo/ompi/schizo_ompi.c opal_unsetenv(attr->data.string, &app->env); app 1070 orte/mca/schizo/ompi/schizo_ompi.c for (i=0; NULL != app->env[i]; i++) { app 1071 orte/mca/schizo/ompi/schizo_ompi.c saveptr = strchr(app->env[i], '='); // cannot be NULL app 1073 orte/mca/schizo/ompi/schizo_ompi.c if (0 == strcmp(app->env[i], attr->data.envar.envar)) { app 1080 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv(attr->data.envar.envar, p2, true, &app->env); app 1090 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv(attr->data.envar.envar, attr->data.envar.value, true, &app->env); app 1095 orte/mca/schizo/ompi/schizo_ompi.c for (i=0; NULL != app->env[i]; i++) { app 1096 orte/mca/schizo/ompi/schizo_ompi.c saveptr = strchr(app->env[i], '='); // cannot be NULL app 1098 orte/mca/schizo/ompi/schizo_ompi.c if (0 == strcmp(app->env[i], attr->data.envar.envar)) { app 1105 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv(attr->data.envar.envar, p2, true, &app->env); app 1115 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv(attr->data.envar.envar, attr->data.envar.value, true, &app->env); app 1121 orte/mca/schizo/ompi/schizo_ompi.c OPAL_LIST_FOREACH(attr, &app->attributes, orte_attribute_t) { app 1123 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv(attr->data.envar.envar, attr->data.envar.value, true, &app->env); app 1125 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv(attr->data.envar.envar, attr->data.envar.value, false, &app->env); app 1127 orte/mca/schizo/ompi/schizo_ompi.c opal_unsetenv(attr->data.string, &app->env); app 1131 orte/mca/schizo/ompi/schizo_ompi.c for (i=0; NULL != app->env[i]; i++) { app 1132 orte/mca/schizo/ompi/schizo_ompi.c saveptr = strchr(app->env[i], '='); // cannot be NULL app 1134 orte/mca/schizo/ompi/schizo_ompi.c if (0 == strcmp(app->env[i], attr->data.envar.envar)) { app 1141 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv(attr->data.envar.envar, p2, true, &app->env); app 1151 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv(attr->data.envar.envar, attr->data.envar.value, true, &app->env); app 1156 orte/mca/schizo/ompi/schizo_ompi.c for (i=0; NULL != app->env[i]; i++) { app 1157 orte/mca/schizo/ompi/schizo_ompi.c saveptr = strchr(app->env[i], '='); // cannot be NULL app 1159 orte/mca/schizo/ompi/schizo_ompi.c if (0 == strcmp(app->env[i], attr->data.envar.envar)) { app 1166 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv(attr->data.envar.envar, p2, true, &app->env); app 1176 orte/mca/schizo/ompi/schizo_ompi.c opal_setenv(attr->data.envar.envar, attr->data.envar.value, true, &app->env); app 1187 orte/mca/schizo/ompi/schizo_ompi.c orte_app_context_t *app, app 1317 orte/mca/schizo/ompi/schizo_ompi.c if (orte_get_attribute(&app->attributes, ORTE_APP_SSNDIR_CWD, NULL, OPAL_BOOL)) { app 1343 orte/mca/schizo/ompi/schizo_ompi.c } else if (NULL != app->cwd) { app 1345 orte/mca/schizo/ompi/schizo_ompi.c if (0 != chdir(app->cwd)) { app 80 orte/mca/schizo/schizo.h typedef int (*orte_schizo_base_module_setup_app_fn_t)(orte_app_context_t *app); app 91 orte/mca/schizo/schizo.h orte_app_context_t *app, app 43 orte/mca/snapc/base/base.h ORTE_DECLSPEC int orte_snapc_base_select(bool seed, bool app); app 98 orte/mca/snapc/base/base.h ORTE_DECLSPEC int orte_snapc_base_module_init(bool seed, bool app); app 286 orte/mca/snapc/base/snapc_base_fns.c int orte_snapc_base_module_init(bool seed, bool app) app 49 orte/mca/snapc/base/snapc_base_select.c int orte_snapc_base_select(bool seed, bool app) app 96 orte/mca/snapc/base/snapc_base_select.c if (OPAL_SUCCESS != orte_snapc.snapc_init(seed, app)) { app 118 orte/mca/snapc/full/snapc_full.h int orte_snapc_full_module_init(bool seed, bool app); app 150 orte/mca/snapc/full/snapc_full_module.c int orte_snapc_full_module_init(bool seed, bool app) app 155 orte/mca/snapc/full/snapc_full_module.c "snapc:full: module_init(%d, %d)", seed, app); app 174 orte/mca/snapc/full/snapc_full_module.c else if(!seed && !app) { app 194 orte/mca/snapc/full/snapc_full_module.c else if(app) { app 289 orte/mca/snapc/snapc.h (bool seed, bool app); app 68 orte/mca/sstore/central/sstore_central.h int orte_sstore_central_fetch_app_deps(orte_app_context_t *app); app 342 orte/mca/sstore/central/sstore_central_module.c int orte_sstore_central_fetch_app_deps(orte_app_context_t *app) app 335 orte/mca/sstore/sstore.h (orte_app_context_t *app); app 83 orte/mca/sstore/stage/sstore_stage.h int orte_sstore_stage_fetch_app_deps(orte_app_context_t *app); app 115 orte/mca/sstore/stage/sstore_stage.h int orte_sstore_stage_local_fetch_app_deps(orte_app_context_t *app); app 680 orte/mca/sstore/stage/sstore_stage_local.c int orte_sstore_stage_local_fetch_app_deps(orte_app_context_t *app) app 702 orte/mca/sstore/stage/sstore_stage_local.c orte_get_attribute(&app->attributes, ORTE_APP_SSTORE_LOAD, (void **)&sload, OPAL_STRING); app 704 orte/mca/sstore/stage/sstore_stage_local.c if(!ORTE_FLAG_TEST(app, ORTE_APP_FLAG_USED_ON_NODE) || NULL == sload) { app 707 orte/mca/sstore/stage/sstore_stage_local.c app->idx, (ORTE_FLAG_TEST(app, ORTE_APP_FLAG_USED_ON_NODE) ? "T" : "F"), app 708 orte/mca/sstore/stage/sstore_stage_local.c (int)app->num_procs, sload)); app 715 orte/mca/sstore/stage/sstore_stage_local.c app->idx, sload)); app 737 orte/mca/sstore/stage/sstore_stage_local.c app->idx, app 757 orte/mca/sstore/stage/sstore_stage_local.c if( app->idx == child->app_idx ) { app 769 orte/mca/sstore/stage/sstore_stage_local.c app->idx)); app 780 orte/mca/sstore/stage/sstore_stage_local.c app->idx, app 783 orte/mca/sstore/stage/sstore_stage_local.c opal_argv_append(&loc_argc, &(app->argv), "-c"); app 784 orte/mca/sstore/stage/sstore_stage_local.c opal_argv_append(&loc_argc, &(app->argv), app_info->local_cache_location); app 789 orte/mca/sstore/stage/sstore_stage_local.c app->idx, app 798 orte/mca/sstore/stage/sstore_stage_local.c app->idx)); app 814 orte/mca/sstore/stage/sstore_stage_local.c opal_argv_append(&loc_argc, &(app->argv), "-l"); app 815 orte/mca/sstore/stage/sstore_stage_local.c opal_argv_append(&loc_argc, &(app->argv), local_location); app 823 orte/mca/sstore/stage/sstore_stage_local.c opal_argv_append(&loc_argc, &(app->argv), "-d"); app 824 orte/mca/sstore/stage/sstore_stage_local.c opal_argv_append(&loc_argc, &(app->argv), req_snap_compress); app 827 orte/mca/sstore/stage/sstore_stage_local.c opal_argv_append(&loc_argc, &(app->argv), "-p"); app 828 orte/mca/sstore/stage/sstore_stage_local.c opal_argv_append(&loc_argc, &(app->argv), req_snap_postfix); app 834 orte/mca/sstore/stage/sstore_stage_local.c app->idx, app 337 orte/mca/sstore/stage/sstore_stage_module.c int orte_sstore_stage_fetch_app_deps(orte_app_context_t *app) app 343 orte/mca/sstore/stage/sstore_stage_module.c return orte_sstore_stage_local_fetch_app_deps(app); app 540 orte/orted/orted_main.c orte_app_context_t *app; app 559 orte/orted/orted_main.c app = OBJ_NEW(orte_app_context_t); app 560 orte/orted/orted_main.c app->app = strdup("singleton"); app 561 orte/orted/orted_main.c app->num_procs = 1; app 562 orte/orted/orted_main.c opal_pointer_array_add(jdata->apps, app); app 135 orte/orted/orted_submit.c orte_app_context_t **app, app 140 orte/orted/orted_submit.c static void set_classpath_jar_file(orte_app_context_t *app, int index, char *jarfile); app 753 orte/orted/orted_submit.c orte_app_context_t *app, *dapp; app 951 orte/orted/orted_submit.c if (NULL != (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, i))) { app 952 orte/orted/orted_submit.c orte_set_attribute(&app->attributes, ORTE_APP_MAX_RESTARTS, ORTE_ATTR_GLOBAL, &orte_max_restarts, OPAL_INT32); app 967 orte/orted/orted_submit.c if (NULL != (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, n))) { app 968 orte/orted/orted_submit.c opal_setenv("ORTE_TEST_DEBUGGER_ATTACH", "1", true, &app->env); app 970 orte/orted/orted_submit.c opal_setenv("ORTE_TEST_DEBUGGER_SLEEP", evar, true, &app->env); app 1070 orte/orted/orted_submit.c if (NULL != (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, 0)) && app 1071 orte/orted/orted_submit.c orte_get_attribute(&app->attributes, ORTE_APP_PREFIX_DIR, (void**)¶m, OPAL_STRING)) { app 1267 orte/orted/orted_submit.c orte_app_context_t *app; app 1289 orte/orted/orted_submit.c app = NULL; app 1290 orte/orted/orted_submit.c rc = create_app(temp_argc, temp_argv, jdata, &app, &made_app, &env); app 1299 orte/orted/orted_submit.c app->idx = app_num; app 1301 orte/orted/orted_submit.c opal_pointer_array_add(jdata->apps, app); app 1317 orte/orted/orted_submit.c app = NULL; app 1318 orte/orted/orted_submit.c rc = create_app(temp_argc, temp_argv, jdata, &app, &made_app, &env); app 1325 orte/orted/orted_submit.c app->idx = app_num; app 1327 orte/orted/orted_submit.c opal_pointer_array_add(jdata->apps, app); app 1344 orte/orted/orted_submit.c app = (orte_app_context_t *) app 1346 orte/orted/orted_submit.c if (NULL != app) { app 1348 orte/orted/orted_submit.c env = opal_environ_merge(global_mca_env, app->env); app 1349 orte/orted/orted_submit.c opal_argv_free(app->env); app 1350 orte/orted/orted_submit.c app->env = env; app 1374 orte/orted/orted_submit.c app = (orte_app_context_t *) app 1376 orte/orted/orted_submit.c if (NULL != app) { app 1377 orte/orted/orted_submit.c env = app->env; app 1448 orte/orted/orted_submit.c orte_app_context_t *app = NULL; app 1489 orte/orted/orted_submit.c app = OBJ_NEW(orte_app_context_t); app 1490 orte/orted/orted_submit.c opal_cmd_line_get_tail(orte_cmd_line, &count, &app->argv); app 1513 orte/orted/orted_submit.c app->env = opal_argv_copy(*app_env); app 1516 orte/orted/orted_submit.c environ, &app->env))) { app 1526 orte/orted/orted_submit.c app->cwd = strdup(orte_cmd_options.wdir); app 1535 orte/orted/orted_submit.c app->cwd = opal_os_path(false, cwd, orte_cmd_options.wdir, NULL); app 1537 orte/orted/orted_submit.c orte_set_attribute(&app->attributes, ORTE_APP_USER_CWD, ORTE_ATTR_GLOBAL, NULL, OPAL_BOOL); app 1539 orte/orted/orted_submit.c orte_set_attribute(&app->attributes, ORTE_APP_SSNDIR_CWD, ORTE_ATTR_GLOBAL, NULL, OPAL_BOOL); app 1540 orte/orted/orted_submit.c orte_set_attribute(&app->attributes, ORTE_APP_USER_CWD, ORTE_ATTR_GLOBAL, NULL, OPAL_BOOL); app 1547 orte/orted/orted_submit.c app->cwd = strdup(cwd); app 1614 orte/orted/orted_submit.c orte_set_attribute(&app->attributes, ORTE_APP_PREFIX_DIR, ORTE_ATTR_GLOBAL, param, OPAL_STRING); app 1622 orte/orted/orted_submit.c orte_set_attribute(&app->attributes, ORTE_APP_PSET_NAME, ORTE_ATTR_GLOBAL, app 1637 orte/orted/orted_submit.c orte_set_attribute(&app->attributes, ORTE_APP_HOSTFILE, ORTE_ATTR_GLOBAL, value, OPAL_STRING); app 1641 orte/orted/orted_submit.c if(1 < j || orte_get_attribute(&app->attributes, ORTE_APP_HOSTFILE, NULL, OPAL_STRING)) { app 1647 orte/orted/orted_submit.c orte_set_attribute(&app->attributes, ORTE_APP_HOSTFILE, ORTE_ATTR_GLOBAL, value, OPAL_STRING); app 1659 orte/orted/orted_submit.c orte_set_attribute(&app->attributes, ORTE_APP_DASH_HOST, ORTE_ATTR_GLOBAL, tval, OPAL_STRING); app 1663 orte/orted/orted_submit.c orte_set_attribute(&app->attributes, ORTE_APP_DASH_HOST, ORTE_ATTR_LOCAL, app 1670 orte/orted/orted_submit.c true, orte_basename, app->argv[0], app 1675 orte/orted/orted_submit.c app->num_procs = (orte_std_cntr_t)orte_cmd_options.num_procs; app 1683 orte/orted/orted_submit.c if (NULL == strstr(app->argv[0], "java")) { app 1685 orte/orted/orted_submit.c orte_set_attribute(&app->attributes, ORTE_APP_SSNDIR_CWD, ORTE_ATTR_GLOBAL, NULL, OPAL_BOOL); app 1686 orte/orted/orted_submit.c orte_set_attribute(&app->attributes, ORTE_APP_PRELOAD_BIN, ORTE_ATTR_GLOBAL, NULL, OPAL_BOOL); app 1688 orte/orted/orted_submit.c orte_set_attribute(&app->attributes, ORTE_APP_USER_CWD, ORTE_ATTR_GLOBAL, NULL, OPAL_BOOL); app 1692 orte/orted/orted_submit.c orte_set_attribute(&app->attributes, ORTE_APP_PRELOAD_FILES, ORTE_ATTR_GLOBAL, app 1701 orte/orted/orted_submit.c app->app = strdup(app->argv[0]); app 1702 orte/orted/orted_submit.c if (NULL == app->app) { app 1714 orte/orted/orted_submit.c appname = opal_basename(app->app); app 1718 orte/orted/orted_submit.c for (i=1; NULL != app->argv[i]; i++) { app 1719 orte/orted/orted_submit.c if (NULL != strstr(app->argv[i], "java.library.path")) { app 1722 orte/orted/orted_submit.c if (NULL == (dptr = strchr(app->argv[i], '='))) { app 1731 orte/orted/orted_submit.c if (NULL == strstr(app->argv[i], opal_install_dirs.libdir)) { app 1733 orte/orted/orted_submit.c if (':' == app->argv[i][strlen(app->argv[i]-1)]) { app 1738 orte/orted/orted_submit.c free(app->argv[i]); app 1739 orte/orted/orted_submit.c app->argv[i] = value; app 1747 orte/orted/orted_submit.c opal_argv_insert_element(&app->argv, 1, value); app 1753 orte/orted/orted_submit.c for (i=1; NULL != app->argv[i]; i++) { app 1754 orte/orted/orted_submit.c if (NULL != strstr(app->argv[i], "cp") || app 1755 orte/orted/orted_submit.c NULL != strstr(app->argv[i], "classpath")) { app 1761 orte/orted/orted_submit.c set_classpath_jar_file(app, i+1, "mpi.jar"); app 1767 orte/orted/orted_submit.c set_classpath_jar_file(app, i+1, "shmem.jar"); app 1771 orte/orted/orted_submit.c opal_asprintf(&value, "%s:%s", app->cwd, app->argv[i+1]); app 1772 orte/orted/orted_submit.c free(app->argv[i+1]); app 1773 orte/orted/orted_submit.c app->argv[i+1] = value; app 1784 orte/orted/orted_submit.c opal_argv_insert_element(&app->argv, 1, value); app 1788 orte/orted/orted_submit.c set_classpath_jar_file(app, 1, "mpi.jar"); app 1794 orte/orted/orted_submit.c set_classpath_jar_file(app, 1, "shmem.jar"); app 1798 orte/orted/orted_submit.c opal_asprintf(&value, "%s:%s", app->cwd, app->argv[1]); app 1799 orte/orted/orted_submit.c free(app->argv[1]); app 1800 orte/orted/orted_submit.c app->argv[1] = value; app 1801 orte/orted/orted_submit.c opal_argv_insert_element(&app->argv, 1, "-cp"); app 1813 orte/orted/orted_submit.c str = strdup(app->cwd); app 1830 orte/orted/orted_submit.c opal_argv_insert_element(&app->argv, 1, str); app 1832 orte/orted/orted_submit.c opal_argv_insert_element(&app->argv, 1, "-cp"); app 1836 orte/orted/orted_submit.c for (i=1; i < opal_argv_count(app->argv); i++) { app 1837 orte/orted/orted_submit.c if (NULL != strstr(app->argv[i], "java.library.path")) { app 1839 orte/orted/orted_submit.c } else if (NULL != strstr(app->argv[i], "cp") || app 1840 orte/orted/orted_submit.c NULL != strstr(app->argv[i], "classpath")) { app 1846 orte/orted/orted_submit.c opal_setenv("OMPI_COMMAND", app->argv[i], true, &app->env); app 1848 orte/orted/orted_submit.c if ((i+1) < opal_argv_count(app->argv)) { app 1849 orte/orted/orted_submit.c value = opal_argv_join(&app->argv[i+1], ' '); app 1850 orte/orted/orted_submit.c opal_setenv("OMPI_ARGV", value, true, &app->env); app 1857 orte/orted/orted_submit.c opal_setenv("OMPI_COMMAND", appname, true, &app->env); app 1858 orte/orted/orted_submit.c if (1 < opal_argv_count(app->argv)) { app 1859 orte/orted/orted_submit.c value = opal_argv_join(&app->argv[1], ' '); app 1860 orte/orted/orted_submit.c opal_setenv("OMPI_ARGV", value, true, &app->env); app 1865 orte/orted/orted_submit.c *app_ptr = app; app 1866 orte/orted/orted_submit.c app = NULL; app 1872 orte/orted/orted_submit.c if (NULL != app) { app 1873 orte/orted/orted_submit.c OBJ_RELEASE(app); app 1881 orte/orted/orted_submit.c static void set_classpath_jar_file(orte_app_context_t *app, int index, char *jarfile) app 1883 orte/orted/orted_submit.c if (NULL == strstr(app->argv[index], jarfile)) { app 1885 orte/orted/orted_submit.c char *fmt = ':' == app->argv[index][strlen(app->argv[index]-1)] app 1888 orte/orted/orted_submit.c opal_asprintf(&str, fmt, app->argv[index], opal_install_dirs.libdir, jarfile); app 1889 orte/orted/orted_submit.c free(app->argv[index]); app 1890 orte/orted/orted_submit.c app->argv[index] = str; app 1901 orte/orted/orted_submit.c orte_app_context_t *app; app 2008 orte/orted/orted_submit.c rc = create_app(argc, argv, jdata, &app, &made_app, &tmp_env); app 2018 orte/orted/orted_submit.c app->idx = app_num; app 2020 orte/orted/orted_submit.c opal_pointer_array_add(jdata->apps, app); app 2043 orte/orted/orted_submit.c orte_app_context_t *app; app 2091 orte/orted/orted_submit.c app = (orte_app_context_t*)opal_pointer_array_get_item(trk->jdata->apps, proc->app_idx); app 2094 orte/orted/orted_submit.c orte_print_aborted_job(trk->jdata, app, proc, node); app 2117 orte/orted/orted_submit.c orte_app_context_t *app; app 2162 orte/orted/orted_submit.c app = (orte_app_context_t*)opal_pointer_array_get_item(trk->jdata->apps, proc->app_idx); app 2165 orte/orted/orted_submit.c orte_print_aborted_job(trk->jdata, app, proc, node); app 2269 orte/orted/orted_submit.c orte_app_context_t *app; app 2328 orte/orted/orted_submit.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, i))) { app 2331 orte/orted/orted_submit.c opal_setenv(env_name, "1", true, &app->env); app 2442 orte/orted/orted_submit.c orte_app_context_t *app; app 2466 orte/orted/orted_submit.c app = OBJ_NEW(orte_app_context_t); app 2468 orte/orted/orted_submit.c app->app = strdup(orte_debugger_test_daemon); app 2470 orte/orted/orted_submit.c app->app = strdup((char*)MPIR_executable_path); app 2480 orte/orted/orted_submit.c app->cwd = strdup(cwd); app 2481 orte/orted/orted_submit.c orte_set_attribute(&app->attributes, ORTE_APP_USER_CWD, ORTE_ATTR_GLOBAL, &flag, OPAL_BOOL); app 2482 orte/orted/orted_submit.c opal_argv_append_nosize(&app->argv, app->app); app 2483 orte/orted/orted_submit.c build_debugger_args(app); app 2484 orte/orted/orted_submit.c opal_pointer_array_add(debugger->apps, app); app 2616 orte/orted/orted_submit.c if ( 0 == strncmp(appctx->app, OPAL_PATH_SEP, 1 )) { app 2618 orte/orted/orted_submit.c opal_os_path( false, appctx->app, NULL ); app 2621 orte/orted/orted_submit.c opal_os_path( false, appctx->cwd, appctx->app, NULL ); app 170 orte/orted/pmix/pmix_server_dyn.c orte_app_context_t *app; app 189 orte/orted/pmix/pmix_server_dyn.c app = OBJ_NEW(orte_app_context_t); app 190 orte/orted/pmix/pmix_server_dyn.c app->idx = opal_pointer_array_add(jdata->apps, app); app 193 orte/orted/pmix/pmix_server_dyn.c app->app = strdup(papp->cmd); app 200 orte/orted/pmix/pmix_server_dyn.c app->app = strdup(papp->argv[0]); app 203 orte/orted/pmix/pmix_server_dyn.c app->argv = opal_argv_copy(papp->argv); app 206 orte/orted/pmix/pmix_server_dyn.c app->env = opal_argv_copy(papp->env); app 209 orte/orted/pmix/pmix_server_dyn.c app->cwd = strdup(papp->cwd); app 211 orte/orted/pmix/pmix_server_dyn.c app->num_procs = papp->maxprocs; app 214 orte/orted/pmix/pmix_server_dyn.c orte_set_attribute(&app->attributes, ORTE_APP_DASH_HOST, app 217 orte/orted/pmix/pmix_server_dyn.c orte_set_attribute(&app->attributes, ORTE_APP_HOSTFILE, app 220 orte/orted/pmix/pmix_server_dyn.c orte_set_attribute(&app->attributes, ORTE_APP_ADD_HOSTFILE, app 223 orte/orted/pmix/pmix_server_dyn.c orte_set_attribute(&app->attributes, ORTE_APP_ADD_HOST, app 226 orte/orted/pmix/pmix_server_dyn.c orte_set_attribute(&app->attributes, ORTE_APP_PREFIX_DIR, app 231 orte/orted/pmix/pmix_server_dyn.c app->cwd = strdup(info->data.string); app 240 orte/orted/pmix/pmix_server_dyn.c app->cwd = opal_os_path(false, cwd, info->data.string, NULL); app 244 orte/orted/pmix/pmix_server_dyn.c orte_set_attribute(&app->attributes, ORTE_APP_PRELOAD_BIN, app 247 orte/orted/pmix/pmix_server_dyn.c orte_set_attribute(&app->attributes, ORTE_APP_PRELOAD_FILES, app 253 orte/orted/pmix/pmix_server_dyn.c orte_add_attribute(&app->attributes, ORTE_APP_SET_ENVAR, app 256 orte/orted/pmix/pmix_server_dyn.c orte_add_attribute(&app->attributes, ORTE_APP_ADD_ENVAR, app 259 orte/orted/pmix/pmix_server_dyn.c orte_add_attribute(&app->attributes, ORTE_APP_UNSET_ENVAR, app 262 orte/orted/pmix/pmix_server_dyn.c orte_add_attribute(&app->attributes, ORTE_APP_PREPEND_ENVAR, app 265 orte/orted/pmix/pmix_server_dyn.c orte_add_attribute(&app->attributes, ORTE_APP_APPEND_ENVAR, app 268 orte/orted/pmix/pmix_server_dyn.c orte_set_attribute(&app->attributes, ORTE_APP_PSET_NAME, app 400 orte/orted/pmix/pmix_server_dyn.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, i))) { app 403 orte/orted/pmix/pmix_server_dyn.c orte_set_attribute(&app->attributes, ORTE_APP_MAX_RESTARTS, app 491 orte/orted/pmix/pmix_server_gen.c orte_app_context_t *app; app 748 orte/orted/pmix/pmix_server_gen.c app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, proct->app_idx); app 749 orte/orted/pmix/pmix_server_gen.c if (NULL != app && NULL != app->app) { app 750 orte/orted/pmix/pmix_server_gen.c kv->data.pinfo.executable_name = strdup(app->app); app 798 orte/orted/pmix/pmix_server_gen.c app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, proct->app_idx); app 799 orte/orted/pmix/pmix_server_gen.c if (NULL != app && NULL != app->app) { app 800 orte/orted/pmix/pmix_server_gen.c kv->data.pinfo.executable_name = strdup(app->app); app 853 orte/orted/pmix/pmix_server_gen.c orte_app_context_t *app; app 943 orte/orted/pmix/pmix_server_gen.c app = OBJ_NEW(orte_app_context_t); app 944 orte/orted/pmix/pmix_server_gen.c app->app = strdup("tool"); app 945 orte/orted/pmix/pmix_server_gen.c app->num_procs = 1; app 946 orte/orted/pmix/pmix_server_gen.c opal_pointer_array_add(jdata->apps, app); app 69 orte/orted/pmix/pmix_server_register_fns.c orte_app_context_t *app; app 416 orte/orted/pmix/pmix_server_register_fns.c app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, pptr->app_idx); app 420 orte/orted/pmix/pmix_server_register_fns.c kv->data.name.vpid = app->first_rank; app 434 orte/orted/pmix/pmix_server_register_fns.c kv->data.uint32 = app->num_procs; app 437 orte/orted/pmix/pmix_server_register_fns.c app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, pptr->app_idx); app 439 orte/orted/pmix/pmix_server_register_fns.c if (orte_get_attribute(&app->attributes, ORTE_APP_PSET_NAME, (void**)&tmp, OPAL_STRING) && app 448 orte/orted/pmix/pmix_server_register_fns.c app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, 0); app 450 orte/orted/pmix/pmix_server_register_fns.c if (orte_get_attribute(&app->attributes, ORTE_APP_PSET_NAME, (void**)&tmp, OPAL_STRING) && app 110 orte/runtime/data_type_support/orte_dt_copy_fns.c if (NULL != src->app) { app 111 orte/runtime/data_type_support/orte_dt_copy_fns.c (*dest)->app = strdup(src->app); app 69 orte/runtime/data_type_support/orte_dt_packing_fns.c orte_app_context_t *app; app 162 orte/runtime/data_type_support/orte_dt_packing_fns.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jobs[i]->apps, j))) { app 165 orte/runtime/data_type_support/orte_dt_packing_fns.c if (ORTE_SUCCESS != (rc = opal_dss_pack_buffer(buffer, (void*)&app, 1, ORTE_APP_CONTEXT))) { app 447 orte/runtime/data_type_support/orte_dt_packing_fns.c (void*)(&(app_context[i]->app)), 1, OPAL_STRING))) { app 176 orte/runtime/data_type_support/orte_dt_print_fns.c orte_app_context_t *app; app 202 orte/runtime/data_type_support/orte_dt_print_fns.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(src->apps, i))) { app 205 orte/runtime/data_type_support/orte_dt_print_fns.c opal_dss.print(&tmp2, pfx, app, ORTE_APP_CONTEXT); app 573 orte/runtime/data_type_support/orte_dt_print_fns.c (NULL == src->app) ? "NULL" : src->app, app 162 orte/runtime/data_type_support/orte_dt_unpacking_fns.c orte_app_context_t *app; app 166 orte/runtime/data_type_support/orte_dt_unpacking_fns.c &app, &n, ORTE_APP_CONTEXT))) { app 170 orte/runtime/data_type_support/orte_dt_unpacking_fns.c opal_pointer_array_add(jobs[i]->apps, app); app 480 orte/runtime/data_type_support/orte_dt_unpacking_fns.c if (ORTE_SUCCESS != (rc = opal_dss_unpack_buffer(buffer, &(app_context[i]->app), app 554 orte/runtime/orte_globals.c app_context->app=NULL; app 575 orte/runtime/orte_globals.c if (NULL != app_context->app) { app 576 orte/runtime/orte_globals.c free (app_context->app); app 577 orte/runtime/orte_globals.c app_context->app = NULL; app 655 orte/runtime/orte_globals.c orte_app_context_t *app; app 673 orte/runtime/orte_globals.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(job->apps, n))) { app 676 orte/runtime/orte_globals.c OBJ_RELEASE(app); app 235 orte/runtime/orte_globals.h char *app; app 189 orte/runtime/orte_quit.c approc->app); app 193 orte/runtime/orte_quit.c orte_basename, approc->app, node->name, app 204 orte/runtime/orte_quit.c NULL, approc->app); app 218 orte/runtime/orte_quit.c "bind-to-core", approc->app); app 224 orte/runtime/orte_quit.c approc->app); app 234 orte/runtime/orte_quit.c "bind-to-socket", approc->app); app 240 orte/runtime/orte_quit.c approc->app); app 18 orte/test/system/orte_loop_spawn.c orte_app_context_t *app; app 33 orte/test/system/orte_loop_spawn.c app = OBJ_NEW(orte_app_context_t); app 34 orte/test/system/orte_loop_spawn.c app->app = strdup("hostname"); app 35 orte/test/system/orte_loop_spawn.c opal_argv_append_nosize(&app->argv, "hostname"); app 36 orte/test/system/orte_loop_spawn.c app->num_procs = 1; app 39 orte/test/system/orte_loop_spawn.c app->cwd = strdup(cwd); app 42 orte/test/system/orte_loop_spawn.c opal_pointer_array_add(jdata->apps, app); app 26 orte/test/system/orte_spawn.c orte_app_context_t *app; app 43 orte/test/system/orte_spawn.c app = OBJ_NEW(orte_app_context_t); app 44 orte/test/system/orte_spawn.c app->app = strdup("hostname"); app 45 orte/test/system/orte_spawn.c opal_argv_append_nosize(&app->argv, "hostname"); app 46 orte/test/system/orte_spawn.c app->num_procs = 3; app 49 orte/test/system/orte_spawn.c app->cwd = strdup(cwd); app 52 orte/test/system/orte_spawn.c orte_set_attribute(&app->attributes, ORTE_APP_DASH_HOST, ORTE_ATTR_GLOBAL, host_list, OPAL_STRING); app 56 orte/test/system/orte_spawn.c opal_pointer_array_add(jdata->apps, app); app 78 orte/test/system/orte_spawn.c for (i=0; i < app->num_procs; i++) { app 28 orte/test/system/orte_tool.c orte_app_context_t *app; app 63 orte/test/system/orte_tool.c app = OBJ_NEW(orte_app_context_t); app 65 orte/test/system/orte_tool.c opal_pointer_array_add(jdata->apps, app); app 69 orte/test/system/orte_tool.c app->app = strdup("hostname"); app 71 orte/test/system/orte_tool.c app->argv = (char**)malloc(2 * sizeof(char*)); app 72 orte/test/system/orte_tool.c app->argv[0] = strdup(app->app); app 74 orte/test/system/orte_tool.c app->num_procs = 1; app 77 orte/test/system/orte_tool.c app->cwd = strdup(cwd); app 17 orte/test/system/psm_keygen.c orte_app_context_t *app; app 26 orte/test/system/psm_keygen.c app = OBJ_NEW(orte_app_context_t); app 27 orte/test/system/psm_keygen.c opal_pointer_array_set_item(jdata->apps, 0, app); app 35 orte/test/system/psm_keygen.c for (i=0; NULL != app->env[i]; i++) { app 36 orte/test/system/psm_keygen.c if (0 == strncmp(OPAL_MCA_PREFIX"orte_precondition_transports", app->env[i], app 38 orte/test/system/psm_keygen.c fprintf(stderr, "%s\n", app->env[i]); app 133 orte/util/context_fns.c tmp = opal_basename(context->app); app 134 orte/util/context_fns.c if (strlen(tmp) == strlen(context->app)) { app 138 orte/util/context_fns.c tmp = opal_path_findv(context->app, X_OK, env, context->cwd); app 142 orte/util/context_fns.c free(context->app); app 143 orte/util/context_fns.c context->app = tmp; app 146 orte/util/context_fns.c if (0 != access(context->app, X_OK)) { app 138 orte/util/pre_condition_transports.c orte_app_context_t *app; app 178 orte/util/pre_condition_transports.c if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, n))) { app 181 orte/util/pre_condition_transports.c opal_setenv(cs_env, string_key, true, &app->env);