
8 Jun
2010
8 Jun
'10
11:41 a.m.
Ok I'm new to mpi so maybe this is expected behaviour. But when using scatter, if number the of threads running is greater than number of elements in the array\vector sent to scatter, then there are the following issues 1) if the array contains a user-defined data then an out-of-bounds error will occur 2) otherwise (if is_mpi_datatype is true) the recieved data for threads that are "out-of-bound", will contain garbage and as such validity of the data cannot be tested. I assume this not correct behaviour? Raj