[Mpi-forum] First reading: MPI_T / Tools Chapter
Adam T. Moody
moody20 at llnl.gov
Wed Mar 16 17:21:31 CDT 2011
My recommendation here made no sense
p 27, line 9-13
Change
"The functions will only write up to len elements into the
respective array. If the category contains more than len variables or
other categories respectively , the function returns an arbitrary
subset; if it contains less than len variables
or other categories respectively, all will be returned and the remaining
array entries will not be modified."
to
"Starting from array index 0, each function writes up to len
elements into the array. If the category contains more than len
elements, the function returns an arbitrary subset. If the category
contains less than len elements, the set of elements is returned in the
first len array entries, and the remaining array entries are not modified."
Here is a fixed version
"Starting from array index 0, each function writes up to len elements
into the array. If the category contains more than len elements, the
function returns an arbitrary subset of size len. Otherwise, the entire
set of elements is returned in the beginning entries of the array, and
any remaining array entries are not modified."
Also, do you want to specify anything about the order of items returned
by these calls: increasing, decreasing, random? We should probably say
something along those lines, even if the order is arbitrary.
-Adam
More information about the mpi-forum
mailing list