1
1

Need not do aggregator selection for one process case

So adding a check for this corner case!

This commit was SVN r29622.
Этот коммит содержится в:
Vishwanath Venkatesan 2013-11-06 21:05:26 +00:00
родитель 5dc34fa2b6
Коммит d37a5faa20

Просмотреть файл

@ -909,11 +909,11 @@ int ompi_io_ompio_set_aggregator_props (mca_io_ompio_file_t *fh,
size_t max_bytes_per_proc = 0;
/*If only one process used, no need to do aggregator selection!*/
if (fh->f_size == 1){
num_aggregators = 1;
}
/*
OMPI_MPI_OFFSET_TYPE temp;
int global_flag, flag;
*/
fh->f_flags |= OMPIO_AGGREGATOR_IS_SET;
if (-1 == num_aggregators) {