1 /**
2  * Private header file for comex groups backed by MPI_comm.
3  *
4  * The rest of the comex group functions are defined in the public comex.h.
5  *
6  * @author Jeff Daily
7  */
8 #ifndef _COMEX_GROUPS_H_
9 #define _COMEX_GROUPS_H_
10 
11 #include <mpi.h>
12 
13 #include "comex.h"
14 
15 typedef struct group_link {
16     struct group_link *next;
17     comex_group_t id;
18     MPI_Comm comm;
19     MPI_Group group;
20 } comex_igroup_t;
21 
22 extern void comex_group_init();
23 extern void comex_group_finalize();
24 extern comex_igroup_t* comex_get_igroup_from_group(comex_group_t group);
25 
26 #endif /* _COMEX_GROUPS_H_ */
27