Initialize the iov_count, this crashes static write/read in certain platforms while decoding datatype
This commit was SVN r27273.
Этот коммит содержится в:
родитель
8076cf8089
Коммит
6d9d0f2968
@ -78,7 +78,7 @@ mca_fcoll_static_file_read_all (mca_io_ompio_file_t *fh,
|
||||
MPI_Aint *memory_displacements=NULL;
|
||||
int bytes_to_read_in_cycle=0;
|
||||
size_t max_data=0, bytes_per_cycle=0;
|
||||
uint32_t iov_count, iov_index=0;
|
||||
uint32_t iov_count=0, iov_index=0;
|
||||
struct iovec *decoded_iov=NULL, *iov=NULL;
|
||||
local_io_array *local_iov_array=NULL, *global_iov_array=NULL;
|
||||
local_io_array *file_offsets_for_agg=NULL;
|
||||
|
@ -67,7 +67,7 @@ mca_fcoll_static_file_write_all (mca_io_ompio_file_t *fh,
|
||||
|
||||
size_t max_data = 0, bytes_per_cycle=0;
|
||||
struct iovec *iov=NULL, *decoded_iov=NULL;
|
||||
uint32_t iov_count, iov_index=0;
|
||||
uint32_t iov_count=0, iov_index=0;
|
||||
int i=0,j=0,l=0, temp_index;
|
||||
int ret=OMPI_SUCCESS, cycles, local_cycles, *bytes_per_process=NULL;
|
||||
int index, *disp_index=NULL, **blocklen_per_process=NULL;
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user