Re: [OMPI users] opening a file with MPI-IO

2013-07-19 Thread Rob Latham
On Fri, May 17, 2013 at 11:00:36AM +0200, Peter van Hoof wrote: > Dear users, > > I have been banging my head against the wall for some time to find a > reliable and portable way to determine if a call to > MPI::File::Open() was successful or not. Sorry for the long delay in responding In C, we

Re: [OMPI users] opening a file with MPI-IO

2013-05-17 Thread Peter van Hoof
Hi Edgar, wow, lets try again in english :-) can you maybe detail more precisely what scenario you are particularly worried about? I would think that the return code of the operation is reliable on whether opening the file was successful or not (i.e. MPI_SUCCESS vs. anything else). If I open

Re: [OMPI users] opening a file with MPI-IO

2013-05-17 Thread Edgar Gabriel
wow, lets try again in english :-) can you maybe detail more precisely what scenario you are particularly worried about? I would think that the return code of the operation is reliable on whether opening the file was successful or not (i.e. MPI_SUCCESS vs. anything else). Edgar On 5/17/2013 7:55

Re: [OMPI users] opening a file with MPI-IO

2013-05-17 Thread Edgar Gabriel
can you maybe detail more precisely what scenario you are particularly worried about? I would think that the return code of the operation should be reliable on whether opening the file successful or (i.e. MPI_SUCCESS vs. anything else). Edgar On 5/17/2013 4:00 AM, Peter van Hoof wrote: > Dear use

[OMPI users] opening a file with MPI-IO

2013-05-17 Thread Peter van Hoof
Dear users, I have been banging my head against the wall for some time to find a reliable and portable way to determine if a call to MPI::File::Open() was successful or not. Let me give some background information first. We develop an open-source astrophysical modeling code called Cloudy. Th