Changeset 5713

Show
Ignore:
Timestamp:
11/05/09 14:26:53 (3 weeks ago)
Author:
balaji
Message:

Memory allocation bug fix in the Hydra process binding code. Thanks to
Guillaume for catching it.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • mpich2/trunk/src/pm/hydra/tools/bind/plpa/bind_plpa.c

    r5712 r5713  
    106106            core->num_children = HYDT_bind_info.total_proc_units / total_cores; 
    107107            HYDU_MALLOC(core->children, struct HYDT_topo_obj *, 
    108                         sizeof(struct HYDT_topo_obj) * sock->num_children, status); 
     108                        sizeof(struct HYDT_topo_obj) * core->num_children, status); 
    109109            core->shared_memory_depth = NULL; 
    110110