1
1

set the status field for collective read and write operations.

This commit was SVN r26786.
Этот коммит содержится в:
Edgar Gabriel 2012-07-12 10:26:27 +00:00
родитель b79a61a360
Коммит 92271c571d
2 изменённых файлов: 14 добавлений и 0 удалений

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

@ -255,6 +255,12 @@ mca_io_ompio_file_read_all (ompi_file_t *fh,
count, count,
datatype, datatype,
status); status);
if ( MPI_STATUS_IGNORE != status ) {
size_t size;
opal_datatype_type_size (&datatype->super, &size);
status->_ucount = count * size;
}
return ret; return ret;
} }

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

@ -250,6 +250,13 @@ mca_io_ompio_file_write_all (ompi_file_t *fh,
datatype, datatype,
status); status);
if ( MPI_STATUS_IGNORE != status ) {
size_t size;
opal_datatype_type_size (&datatype->super, &size);
status->_ucount = count * size;
}
return ret; return ret;
} }
@ -312,6 +319,7 @@ mca_io_ompio_file_write_at_all (ompi_file_t *fh,
count, count,
datatype, datatype,
status); status);
return ret; return ret;
} }