Skip to content
Snippets Groups Projects
Commit a1263370 authored by Danny Auble's avatar Danny Auble
Browse files

fix for compiling srun on a real bluegene system

parent 31d9e6ad
No related branches found
No related tags found
No related merge requests found
...@@ -42,11 +42,20 @@ ...@@ -42,11 +42,20 @@
* DO NOT change the name of this structure or its fields. The debugger knows * DO NOT change the name of this structure or its fields. The debugger knows
* them, and will be confused if you change them. * them, and will be confused if you change them.
*/ */
#ifdef HAVE_BG_FILES
/* On bluegene systems the below structure is defined here so as to
* not confict with allocate.c including this file we will just use the
* definition there instead of defining it here.
*/
# include "src/plugins/select/bluegene/wrap_rm_api.h"
#else
typedef struct { typedef struct {
char * host_name; /* Something we can pass to inet_addr */ char * host_name; /* Something we can pass to inet_addr */
char * executable_name; /* The name of the image */ char * executable_name; /* The name of the image */
int pid; /* The pid of the process */ int pid; /* The pid of the process */
} MPIR_PROCDESC; } MPIR_PROCDESC;
#endif
/* Array of procdescs for debugging purposes */ /* Array of procdescs for debugging purposes */
extern MPIR_PROCDESC *MPIR_proctable; extern MPIR_PROCDESC *MPIR_proctable;
......
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