Opened 8 years ago

Last modified 5 years ago

#1085 new bug

collective read past end of file

Reported by: robl Owned by:
Priority: minor Milestone: future
Component: romio Keywords:


pascal d. reported that mpi_get_count after a read past end of file reported the count of bytes requested, but should instead report the count of bytes actually read.

Attachments (1)

end_of_file.c (2.0 KB) - added by robl 8 years ago.
update to fix buffer checking.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 8 years ago by robl

I looked at this for a while and got close but not quite there.

the easy approach is to have every process report how many bytes actually read: to percolate back up the stack the underlying contiguous read request. that, however, does not play well with i/o aggregation. In particular, this test case has all processors reading from the same file and same offsets, so only one processor actually does the I/O

a real fix would have to report how many bytes were placed into memory.

Changed 8 years ago by robl

update to fix buffer checking.

comment:2 Changed 5 years ago by balaji

  • Owner robl deleted
Note: See TracTickets for help on using tickets.