PPL Logo

libs/ck-libs/ampi/romio/adio/ad_bgl/ad_bgl_aggrs.c File Reference

The externally used function from this file is is declared in ad_bgl_aggrs.h. More...

Go to the source code of this file.

Functions

static void ADIOI_BGL_compute_agg_ranklist_serial (ADIO_File fd, const ADIOI_BGL_ConfInfo_t *confInfo, ADIOI_BGL_ProcInfo_t *all_procInfo, int *aggrsInPset)
int ADIOI_BGL_gen_agg_ranklist (ADIO_File fd, int n_aggrs_per_pset)
static int ADIOI_BGL_select_agg_in_pset (const ADIOI_BGL_ConfInfo_t *confInfo, ADIOI_BGL_ProcInfo_t *pset_procInfo, int nCN_in_pset, int *tmp_ranklist)
static int ADIOI_BGL_compute_agg_ranklist_serial_do (const ADIOI_BGL_ConfInfo_t *confInfo, ADIOI_BGL_ProcInfo_t *all_procInfo, int *aggrsInPset, int *tmp_ranklist)
int ADIOI_BGL_Calc_aggregator (ADIO_File fd, ADIO_Offset off, ADIO_Offset min_off, ADIO_Offset *len, ADIO_Offset fd_size, ADIO_Offset *fd_start, ADIO_Offset *fd_end)
void ADIOI_BGL_GPFS_Calc_file_domains (ADIO_Offset *st_offsets, ADIO_Offset *end_offsets, int nprocs, int nprocs_for_coll, ADIO_Offset *min_st_offset_ptr, ADIO_Offset **fd_start_ptr, ADIO_Offset **fd_end_ptr, ADIO_Offset *fd_size_ptr, void *fs_ptr)
int ADIOI_BGL_Aggrs_index (ADIO_File fd, int myrank)
void ADIOI_BGL_Calc_my_req (ADIO_File fd, ADIO_Offset *offset_list, ADIO_Offset *len_list, int contig_access_count, ADIO_Offset min_st_offset, ADIO_Offset *fd_start, ADIO_Offset *fd_end, ADIO_Offset fd_size, int nprocs, int *count_my_req_procs_ptr, int **count_my_req_per_proc_ptr, ADIOI_Access **my_req_ptr, int **buf_idx_ptr)
void ADIOI_BGL_Calc_others_req (ADIO_File fd, int count_my_req_procs, int *count_my_req_per_proc, ADIOI_Access *my_req, int nprocs, int myrank, int *count_others_req_procs_ptr, ADIOI_Access **others_req_ptr)

Variables

static int aggrsInPsetSize = 0
static intaggrsInPset = NULL


Detailed Description

The externally used function from this file is is declared in ad_bgl_aggrs.h.

Definition in file ad_bgl_aggrs.c.


Function Documentation

static void ADIOI_BGL_compute_agg_ranklist_serial ( ADIO_File  fd,
const ADIOI_BGL_ConfInfo_t confInfo,
ADIOI_BGL_ProcInfo_t all_procInfo,
int aggrsInPset 
) [static]

int ADIOI_BGL_gen_agg_ranklist ( ADIO_File  fd,
int  n_aggrs_per_pset 
)

static int ADIOI_BGL_select_agg_in_pset ( const ADIOI_BGL_ConfInfo_t confInfo,
ADIOI_BGL_ProcInfo_t pset_procInfo,
int  nCN_in_pset,
int tmp_ranklist 
) [static]

static int ADIOI_BGL_compute_agg_ranklist_serial_do ( const ADIOI_BGL_ConfInfo_t confInfo,
ADIOI_BGL_ProcInfo_t all_procInfo,
int aggrsInPset,
int tmp_ranklist 
) [static]

Definition at line 178 of file ad_bgl_aggrs.c.

References ADIOI_BGL_ProcInfo_free(), ADIOI_BGL_ProcInfo_new_n(), ADIOI_BGL_select_agg_in_pset(), ADIOI_BGL_ConfInfo_t::nProcs, ADIOI_BGL_ProcInfo_t::psetNum, and ADIOI_BGL_ConfInfo_t::virtualPsetSize.

Referenced by ADIOI_BGL_compute_agg_ranklist_serial().

Here is the call graph for this function:

Here is the caller graph for this function:

int ADIOI_BGL_Calc_aggregator ( ADIO_File  fd,
ADIO_Offset  off,
ADIO_Offset  min_off,
ADIO_Offset len,
ADIO_Offset  fd_size,
ADIO_Offset fd_start,
ADIO_Offset fd_end 
)

void ADIOI_BGL_GPFS_Calc_file_domains ( ADIO_Offset st_offsets,
ADIO_Offset end_offsets,
int  nprocs,
int  nprocs_for_coll,
ADIO_Offset min_st_offset_ptr,
ADIO_Offset **  fd_start_ptr,
ADIO_Offset **  fd_end_ptr,
ADIO_Offset fd_size_ptr,
void *  fs_ptr 
)

Definition at line 432 of file ad_bgl_aggrs.c.

References myname, and offset.

Referenced by ADIOI_BGL_ReadStridedColl(), and ADIOI_BGL_WriteStridedColl().

Here is the caller graph for this function:

int ADIOI_BGL_Aggrs_index ( ADIO_File  fd,
int  myrank 
)

void ADIOI_BGL_Calc_my_req ( ADIO_File  fd,
ADIO_Offset offset_list,
ADIO_Offset len_list,
int  contig_access_count,
ADIO_Offset  min_st_offset,
ADIO_Offset fd_start,
ADIO_Offset fd_end,
ADIO_Offset  fd_size,
int  nprocs,
int count_my_req_procs_ptr,
int **  count_my_req_per_proc_ptr,
ADIOI_Access **  my_req_ptr,
int **  buf_idx_ptr 
)

Definition at line 585 of file ad_bgl_aggrs.c.

References ADIOI_BGL_Calc_aggregator(), count, ADIOI_Access::count, int, PUP::l, ADIOI_Access::lens, and ADIOI_Access::offsets.

Referenced by ADIOI_BGL_ReadStridedColl(), and ADIOI_BGL_WriteStridedColl().

Here is the call graph for this function:

Here is the caller graph for this function:

void ADIOI_BGL_Calc_others_req ( ADIO_File  fd,
int  count_my_req_procs,
int count_my_req_per_proc,
ADIOI_Access my_req,
int  nprocs,
int  myrank,
int count_others_req_procs_ptr,
ADIOI_Access **  others_req_ptr 
)


Variable Documentation

int aggrsInPsetSize = 0 [static]

Definition at line 30 of file ad_bgl_aggrs.c.

Referenced by ADIOI_BGL_gen_agg_ranklist().

int* aggrsInPset = NULL [static]

Definition at line 31 of file ad_bgl_aggrs.c.

Referenced by ADIOI_BGL_gen_agg_ranklist().


Generated on Mon Sep 21 08:04:20 2020 for Charm++ by  doxygen 1.5.5