Eric, 

Error codes are **not** mandated to be consistent across ranks in the MPI 
standard. Although file errors are not expected to cause the program to abort, 
there is no special case for I/O in that regard in the MPI standard. The Open 
MPI implementation acts accordingly and will not automatically ‘reduce’ error 
codes.


> On Jun 30, 2021, at 23:53, Eric Chamberland via users 
> <users@lists.open-mpi.org> wrote:
> 
> Hi,
> 
> I have a simple question about error codes returned by MPI_File_*_all* and 
> MPI_File_open/close functions:
> 
> If an error is returned will it be the same for *all* processes? In other 
> worlds, are error codes communicated under the hood so we, end users, can 
> avoid to add "reduce" on those error codes?
> 
> Thanks,
> 
> Eric
> 
> -- 
> Eric Chamberland, ing., M. Ing
> Professionnel de recherche
> GIREF/Université Laval
> (418) 656-2131 poste 41 22 42
> 



Best Regards, 
Aurelien

--
Aurelien Bouteiller, Ph.D. 
Innovative Computing Laboratory; The University of Tennessee; 
1122 Volunteer Blvd.; Claxton suite 203; 37996, Knoxville, TN, USA
+1 865 974 9308 (p); +1 865 974 8296 (f); Claxton 316 (f2f)






Reply via email to