Spawn_DataStructure.h 361 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

#ifndef MAM_SPAWN_DATASTRUCTURE_H
#define MAM_SPAWN_DATASTRUCTURE_H

#include <mpi.h>

/* --- SPAWN STRUCTURE --- */
typedef struct {
  int spawn_qty, initial_qty, target_qty;
  int already_created;
  int spawn_is_single, spawn_is_async, spawn_is_intercomm;
  MPI_Info mapping;
  int mapping_fill_method;

  MPI_Comm comm, returned_comm;
} Spawn_data;

#endif