Skip to content
Snippets Groups Projects
Commit ad5f4d47 authored by Mark Grondona's avatar Mark Grondona
Browse files

o revert change to MPIR_PROCDESC -- Etnus will fix bug in TV 6

parent 877e8efa
No related branches found
No related tags found
No related merge requests found
......@@ -42,14 +42,14 @@
* DO NOT change the name of this structure or its fields. The debugger knows
* them, and will be confused if you change them.
*/
struct MPIR_PROCDESC {
typedef struct {
char * host_name; /* Something we can pass to inet_addr */
char * executable_name; /* The name of the image */
int pid; /* The pid of the process */
};
} MPIR_PROCDESC;
/* Array of procdescs for debugging purposes */
extern struct MPIR_PROCDESC *MPIR_proctable;
extern MPIR_PROCDESC *MPIR_proctable;
extern int MPIR_proctable_size;
/* Various global variables which a debugger can use for
......
......@@ -129,7 +129,7 @@ _node_name_to_addr(const char *name, job_t *job, int *inx)
static void
_build_tv_list(job_t *job, char *host, int ntasks, uint32_t *pid)
{
struct MPIR_PROCDESC * tv_tasks;
MPIR_PROCDESC * tv_tasks;
int i, node_inx, task_id;
char *node_addr;
static int tasks_recorded = 0;
......@@ -140,7 +140,7 @@ _build_tv_list(job_t *job, char *host, int ntasks, uint32_t *pid)
if (MPIR_proctable_size == 0) {
MPIR_proctable_size = opt.nprocs;
MPIR_proctable = xmalloc(sizeof(struct MPIR_PROCDESC) * opt.nprocs);
MPIR_proctable = xmalloc(sizeof(MPIR_PROCDESC) * opt.nprocs);
}
for (i = 0; i < ntasks; i++) {
......
......@@ -59,7 +59,7 @@
/*
* Instantiate extern variables from attach.h
*/
struct MPIR_PROCDESC *MPIR_proctable;
MPIR_PROCDESC *MPIR_proctable;
int MPIR_proctable_size;
VOLATILE int MPIR_debug_state;
VOLATILE int MPIR_debug_gate;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment