Home

Published

- 1 min read

MPI_file_open

img of MPI_file_open

The solution for this is noted below

MPI_file_open

Solution

   #include <mpi.h>
int MPI_File_open(MPI_Comm comm, const char *filename,
    int amode, MPI_Info info,
    MPI_File *fh)
 //MPI_File_open opens the file identified by the filename filename on all
  //processes in the comm communicator group.
  //MPI_File_open is a collective routine;
  //all processes must provide the same value for amode,
  //and all processes must provide filenames that reference the same file
  //which are textually identical

Try other methods by searching on the site. That is if this doesn’t work