1
1
This commit was SVN r24514.
Этот коммит содержится в:
Ralph Castain 2011-03-11 20:38:37 +00:00
родитель 2a2319d23a
Коммит 2ccd514b9a
2 изменённых файлов: 17 добавлений и 10 удалений

Просмотреть файл

@ -542,7 +542,8 @@ int orte_global_comm(orte_process_name_t *recipient,
static void orte_app_context_construct(orte_app_context_t* app_context)
{
app_context->name = NULL;
app_context->name = NULL;
app_context->version = NULL;
app_context->idx=0;
app_context->app=NULL;
app_context->num_procs=0;
@ -573,9 +574,13 @@ static void orte_app_context_construct(orte_app_context_t* app_context)
static void orte_app_context_destructor(orte_app_context_t* app_context)
{
if (NULL != app_context->name) {
free(app_context->name);
}
if (NULL != app_context->name) {
free(app_context->name);
}
if (NULL != app_context->version) {
free(app_context->version);
}
if (NULL != app_context->app) {
free (app_context->app);

Просмотреть файл

@ -180,11 +180,13 @@ struct orte_job_map_t;
typedef struct {
/** Parent object */
opal_object_t super;
/** unique name for this application - has
* nothing to do with argv[0], but has meaning
* to the user, if provided
*/
char *name;
/** unique name for this application - has
* nothing to do with argv[0], but has meaning
* to the user, if provided
*/
char *name;
/* a version string */
char *version;
/** Unique index when multiple apps per job */
orte_app_idx_t idx;
/** Absolute pathname of argv[0] */
@ -216,7 +218,7 @@ typedef struct {
/** Preload the comma separated list of files to the remote machines cwd */
char * preload_files;
/** Destination directory for the preloaded files
* If NULL then the absolute and relative paths are obeyed */
* If NULL then the absolute and relative paths are obeyed */
char *preload_files_dest_dir;
/** Source directory for the preloaded files
* If NULL then the absolute and relative paths are obeyed */