common/ompio: fix the fview based grouping options
a bug sneaked into constructing the list of aggregators processes when using the fileview based grouping options Signed-off-by: Edgar Gabriel <egabriel@central.uh.edu>
Этот коммит содержится в:
родитель
45b6e785aa
Коммит
fd8c5fba4e
@ -651,13 +651,16 @@ int mca_common_ompio_create_groups(ompio_file_t *fh,
|
|||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int found;
|
||||||
for ( i=0, j=0; i<fh->f_num_aggrs; i++ ) {
|
for ( i=0, j=0; i<fh->f_num_aggrs; i++ ) {
|
||||||
for ( ; j<fh->f_size; j++ ) {
|
found = 0;
|
||||||
|
do {
|
||||||
if ( 1 == tmp_final_aggrs[j] ) {
|
if ( 1 == tmp_final_aggrs[j] ) {
|
||||||
break;
|
fh->f_aggr_list[i] = j;
|
||||||
}
|
found=1;
|
||||||
fh->f_aggr_list[i] = tmp_final_aggrs[j];
|
|
||||||
}
|
}
|
||||||
|
j++;
|
||||||
|
} while ( !found && j < fh->f_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user