PPL Logo

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

??? More...

Go to the source code of this file.

Functions

static void ADIOI_Read_and_exch (ADIO_File fd, void *buf, MPI_Datatype datatype, int nprocs, int myrank, ADIOI_Access *others_req, ADIO_Offset *offset_list, ADIO_Offset *len_list, int contig_access_count, ADIO_Offset min_st_offset, ADIO_Offset fd_size, ADIO_Offset *fd_start, ADIO_Offset *fd_end, int *buf_idx, int *error_code)
static void ADIOI_R_Exchange_data (ADIO_File fd, void *buf, ADIOI_Flatlist_node *flat_buf, ADIO_Offset *offset_list, ADIO_Offset *len_list, int *send_size, int *recv_size, int *count, int *start_pos, int *partial_send, int *recd_from_proc, int nprocs, int myrank, int buftype_is_contig, int contig_access_count, ADIO_Offset min_st_offset, ADIO_Offset fd_size, ADIO_Offset *fd_start, ADIO_Offset *fd_end, ADIOI_Access *others_req, int iter, MPI_Aint buftype_extent, int *buf_idx)
static void ADIOI_R_Exchange_data_alltoallv (ADIO_File fd, void *buf, ADIOI_Flatlist_node *flat_buf, ADIO_Offset *offset_list, ADIO_Offset *len_list, int *send_size, int *recv_size, int *count, int *start_pos, int *partial_send, int *recd_from_proc, int nprocs, int myrank, int buftype_is_contig, int contig_access_count, ADIO_Offset min_st_offset, ADIO_Offset fd_size, ADIO_Offset *fd_start, ADIO_Offset *fd_end, ADIOI_Access *others_req, int iter, MPI_Aint buftype_extent, int *buf_idx)
static void ADIOI_Fill_user_buffer (ADIO_File fd, void *buf, ADIOI_Flatlist_node *flat_buf, char **recv_buf, ADIO_Offset *offset_list, ADIO_Offset *len_list, unsigned *recv_size, MPI_Request *requests, MPI_Status *statuses, int *recd_from_proc, int nprocs, int contig_access_count, ADIO_Offset min_st_offset, ADIO_Offset fd_size, ADIO_Offset *fd_start, ADIO_Offset *fd_end, MPI_Aint buftype_extent)
void ADIOI_Calc_my_off_len (ADIO_File fd, int bufcount, MPI_Datatype datatype, int file_ptr_type, ADIO_Offset offset, ADIO_Offset **offset_list_ptr, ADIO_Offset **len_list_ptr, ADIO_Offset *start_offset_ptr, ADIO_Offset *end_offset_ptr, int *contig_access_count_ptr)
static int ADIOI_too_much_memory_for_alltoallv (int nprocs, int *send_size, int *recv_size)
void ADIOI_BGL_ReadStridedColl (ADIO_File fd, void *buf, int count, MPI_Datatype datatype, int file_ptr_type, ADIO_Offset offset, ADIO_Status *status, int *error_code)


Detailed Description

???

Definition in file ad_bgl_rdcoll.c.


Function Documentation

static void ADIOI_Read_and_exch ( ADIO_File  fd,
void *  buf,
MPI_Datatype  datatype,
int  nprocs,
int  myrank,
ADIOI_Access others_req,
ADIO_Offset offset_list,
ADIO_Offset len_list,
int  contig_access_count,
ADIO_Offset  min_st_offset,
ADIO_Offset  fd_size,
ADIO_Offset fd_start,
ADIO_Offset fd_end,
int buf_idx,
int error_code 
) [static]

static void ADIOI_R_Exchange_data ( ADIO_File  fd,
void *  buf,
ADIOI_Flatlist_node flat_buf,
ADIO_Offset offset_list,
ADIO_Offset len_list,
int send_size,
int recv_size,
int count,
int start_pos,
int partial_send,
int recd_from_proc,
int  nprocs,
int  myrank,
int  buftype_is_contig,
int  contig_access_count,
ADIO_Offset  min_st_offset,
ADIO_Offset  fd_size,
ADIO_Offset fd_start,
ADIO_Offset fd_end,
ADIOI_Access others_req,
int  iter,
MPI_Aint  buftype_extent,
int buf_idx 
) [static]

Definition at line 736 of file ad_bgl_rdcoll.c.

References ADIOI_Fill_user_buffer(), ADIOI_FileD::comm, ADIOI_Access::lens, MPI_Alltoall, MPI_Irecv, MPI_Isend, MPI_Type_free, MPI_Type_hindexed, and MPI_Waitall.

Referenced by ADIOI_R_Exchange_data_alltoallv(), and ADIOI_Read_and_exch().

Here is the call graph for this function:

Here is the caller graph for this function:

static void ADIOI_R_Exchange_data_alltoallv ( ADIO_File  fd,
void *  buf,
ADIOI_Flatlist_node flat_buf,
ADIO_Offset offset_list,
ADIO_Offset len_list,
int send_size,
int recv_size,
int count,
int start_pos,
int partial_send,
int recd_from_proc,
int  nprocs,
int  myrank,
int  buftype_is_contig,
int  contig_access_count,
ADIO_Offset  min_st_offset,
ADIO_Offset  fd_size,
ADIO_Offset fd_start,
ADIO_Offset fd_end,
ADIOI_Access others_req,
int  iter,
MPI_Aint  buftype_extent,
int buf_idx 
) [static]

Definition at line 1029 of file ad_bgl_rdcoll.c.

References ADIOI_Fill_user_buffer(), ADIOI_R_Exchange_data(), ADIOI_too_much_memory_for_alltoallv(), ADIOI_FileD::comm, len, ADIOI_Access::lens, MPI_Allreduce, MPI_Alltoall, MPI_Alltoallv, rdispls, and sdispls.

Referenced by ADIOI_Read_and_exch().

Here is the call graph for this function:

Here is the caller graph for this function:

static void ADIOI_Fill_user_buffer ( ADIO_File  fd,
void *  buf,
ADIOI_Flatlist_node flat_buf,
char **  recv_buf,
ADIO_Offset offset_list,
ADIO_Offset len_list,
unsigned *  recv_size,
MPI_Request requests,
MPI_Status statuses,
int recd_from_proc,
int  nprocs,
int  contig_access_count,
ADIO_Offset  min_st_offset,
ADIO_Offset  fd_size,
ADIO_Offset fd_start,
ADIO_Offset fd_end,
MPI_Aint  buftype_extent 
) [static]

Definition at line 918 of file ad_bgl_rdcoll.c.

References ADIOI_BGL_Calc_aggregator(), ADIOI_Fl_node::blocklens, ADIOI_Fl_node::indices, len, p, and size.

Referenced by ADIOI_R_Exchange_data(), and ADIOI_R_Exchange_data_alltoallv().

Here is the call graph for this function:

Here is the caller graph for this function:

void ADIOI_Calc_my_off_len ( ADIO_File  fd,
int  bufcount,
MPI_Datatype  datatype,
int  file_ptr_type,
ADIO_Offset  offset,
ADIO_Offset **  offset_list_ptr,
ADIO_Offset **  len_list_ptr,
ADIO_Offset start_offset_ptr,
ADIO_Offset end_offset_ptr,
int contig_access_count_ptr 
)

static int ADIOI_too_much_memory_for_alltoallv ( int  nprocs,
int send_size,
int recv_size 
) [static]

Definition at line 1175 of file ad_bgl_rdcoll.c.

References int.

Referenced by ADIOI_R_Exchange_data_alltoallv().

Here is the caller graph for this function:

void ADIOI_BGL_ReadStridedColl ( ADIO_File  fd,
void *  buf,
int  count,
MPI_Datatype  datatype,
int  file_ptr_type,
ADIO_Offset  offset,
ADIO_Status *  status,
int error_code 
)


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