KMR
|
Workflow State (at-all-ranks). More...
Public Attributes | |
size_t | args_size |
MPI_Comm | base_comm |
struct kmr_spawn_hooks * | hooks |
int(* | kmr_spawn_hookup )(struct kmr_spawn_hooks *hooks) |
void(* | kmr_spawn_service )(struct kmr_spawn_hooks *hooks, int status) |
void(* | kmr_spawn_set_verbosity )(struct kmr_spawn_hooks *hooks, int level) |
int(* | kmr_spawn_setup )(struct kmr_spawn_hooks *hooks, MPI_Comm basecomm, int masterrank, int(*execfn)(struct kmr_spawn_hooks *, int, char **), int nsubworlds, MPI_Comm subworlds[], unsigned long colors[], size_t argssize) |
MPI_Comm | lane_comms [KMR_LANE_LEVELS] |
struct kmr_lane_no | lane_id_on_proc |
struct { | |
struct kmr_work_list history_head | |
struct kmr_work_list * history_insertion_tail | |
int idle_ranks | |
struct kmr_lane_state ** lane_of_workers | |
struct kmr_lane_state * list_of_all_lanes | |
_Bool record_history | |
union kmr_spawn_rpc * rpc_buffer | |
size_t rpc_size | |
struct kmr_lane_state * top_lane | |
} | master |
int | master_rank |
KMR * | mr |
int | nprocs |
int | rank |
Workflow State (at-all-ranks).
It is saved in KMR context as (mr->simple_workflow). The state on workers is only available during a setup. BASE_COMM, NPROCS, and RANK are of the copies of ones of the KMR context MR. BASE_COMM is a communicator of all ranks. LANE_COMMS holds the communicators associated with the lanes, which are passed by kmr_init_swf(). TOP_LANE is a superlane of all lanes. LIST_OF_ALL_LANES holds all lanes used for initialization and finalization.
Definition at line 163 of file kmrwfmap.c.