[petsc-dev] Question about Binary-IO in READ mode with POSIX APIs

Lisandro Dalcin dalcinl at gmail.com
Mon Mar 16 16:30:05 CDT 2020


On Mon, 16 Mar 2020 at 20:26, Zhang, Hong <hongzhang at anl.gov> wrote:

>
>
> I am a bit confused. Isn’t this required when one uses MPI-IO?
>

For MPI-IO, of course! Every process must call MPI_File_open().

I'm NOT talking/asking about the MPI-IO path. Our MPI-IO code is just fine,
no objections/concerns about it.



> But of course, when not using MPI-IO, only process zero should open the
> file.
>
>
That's what I was asking about. So it seems we all are agree about this.
I'll go ahead and submit a MR.

-- 
Lisandro Dalcin
============
Research Scientist
Extreme Computing Research Center (ECRC)
King Abdullah University of Science and Technology (KAUST)
http://ecrc.kaust.edu.sa/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20200317/fd0c2a6e/attachment-0001.html>


More information about the petsc-dev mailing list