[MPICH] Behavour if MPI_File_Open fails on some nodes
robl at mcs.anl.gov
Mon Aug 20 08:44:12 CDT 2007
On Mon, Aug 20, 2007 at 11:40:39AM +0100, James S Perrin wrote:
> If the file does not exist for one of the processes I'd expect either:
> 1. The specific process to return an ERROR that that file can't be opened
> 2. All processes to return an ERROR
> I assumed case 1) and I do an Allgather so that all the processes know
> if all the other processes were successful and to proceed accordingly.
> This seems to be behaviour I have with other MPI implementations and is
> only causing problems if the directory path to the file doesn't exist i.e.
In addition to Rajeev's comments, we treat errors as in case 2: an
error from any process should result in MPI_File_open returning the
apropriate error as part of the return code.
Mathematics and Computer Science Division A215 0178 EA2D B059 8CDF
Argonne National Lab, IL USA B29D F333 664A 4280 315B
More information about the mpich-discuss