1
1

Remove unneeded field, and the two uses of it.

This commit was SVN r17757.
Этот коммит содержится в:
Tim Prins 2008-03-06 12:46:36 +00:00
родитель d56f19c77d
Коммит f61c2333c0
3 изменённых файлов: 1 добавлений и 4 удалений

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

@ -217,7 +217,7 @@ int orte_ras_base_allocate(orte_job_t *jdata)
* by -host across all app_contexts * by -host across all app_contexts
*/ */
for (i=0; i < jdata->num_apps; i++) { for (i=0; i < jdata->num_apps; i++) {
if (0 < apps[i]->num_map) { if (NULL != apps[i]->dash_host) {
if (ORTE_SUCCESS != (rc = orte_util_add_dash_host_nodes(&nodes, if (ORTE_SUCCESS != (rc = orte_util_add_dash_host_nodes(&nodes,
&override_oversubscribed, &override_oversubscribed,
apps[i]->dash_host))) { apps[i]->dash_host))) {

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

@ -298,7 +298,6 @@ int orte_dt_copy_app_context(orte_app_context_t **dest, orte_app_context_t *src,
(*dest)->add_hostfile = strdup(src->add_hostfile); (*dest)->add_hostfile = strdup(src->add_hostfile);
} }
(*dest)->num_map = src->num_map;
(*dest)->preload_binary = src->preload_binary; (*dest)->preload_binary = src->preload_binary;
if( NULL != src->preload_files) if( NULL != src->preload_files)

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

@ -84,8 +84,6 @@ typedef struct {
char *hostfile; char *hostfile;
/* Hostfile for adding hosts to an existing allocation */ /* Hostfile for adding hosts to an existing allocation */
char *add_hostfile; char *add_hostfile;
/** Length of the map_data array, not including the final NULL entry */
orte_std_cntr_t num_map;
/** argv of hosts passed in to -host */ /** argv of hosts passed in to -host */
char ** dash_host; char ** dash_host;
/** Prefix directory for this app (or NULL if no override necessary) */ /** Prefix directory for this app (or NULL if no override necessary) */