Re: [OMPI users] MPI_FILE_READ: wrong file-size does not raise an exception

2013-11-15 Thread Rob Latham
On 02/11/2013 09:51 AM, Stefan Mauerberger wrote: Hi Everyone! Playing around with MPI_FILE_READ() puzzles me a little. To catch all errors I set the error-handler - the one which is related to file I/O - to MPI_ERRORS_ARE_FATAL. However, when reading from a file which has not the necessary size

[OMPI users] MPI_FILE_READ: wrong file-size does not raise an exception

2013-02-11 Thread Stefan Mauerberger
Hi Everyone! Playing around with MPI_FILE_READ() puzzles me a little. To catch all errors I set the error-handler - the one which is related to file I/O - to MPI_ERRORS_ARE_FATAL. However, when reading from a file which has not the necessary size MPI_FILE_READ(...) returns 'MPI_SUCCESS: no errors