#ifndef MAM_MANAGER_H #define MAM_MANAGER_H #include #include #include #include #include #include typedef struct { int numS, numT; int rank_state; MPI_Comm comm; } mam_user_reconf_t; int MAM_Init(int root, MPI_Comm *comm, char *name_exec, void (*user_function)(void *), void *user_args); int MAM_Finalize(); int MAM_Checkpoint(int *mam_state, int wait_completed, void (*user_function)(void *), void *user_args); void MAM_Resume_redistribution(int *mam_state); int MAM_Get_Reconf_Info(mam_user_reconf_t *reconf_info); int MAM_DMR_Is_zombie(); //Added for DMR void MAM_DMR_Update_nodelist(char *nodelist, int num_nodes); //Added for DMR void MAM_Data_add(void *data, size_t *index, size_t total_qty, MPI_Datatype type, int is_replicated, int is_constant); void MAM_Data_modify(void *data, size_t index, size_t total_qty, MPI_Datatype type, int is_replicated, int is_constant); void MAM_Data_get_entries(int is_replicated, int is_constant, size_t *entries); void MAM_Data_get_pointer(void **data, size_t index, size_t *total_qty, MPI_Datatype *type, int is_replicated, int is_constant); #endif