1 /* Copyright (c) 2010-2019. The SimGrid Team.
\r
2 * All rights reserved. */
\r
4 /* This program is free software; you can redistribute it and/or modify it
\r
5 * under the terms of the license (GNU LGPL) which comes with this package. */
\r
7 #ifndef SMPI_FILE_HPP_INCLUDED
\r
8 #define SMPI_FILE_HPP_INCLUDED
\r
9 #include "simgrid/plugins/file_system.h"
\r
17 simgrid::s4u::File* file_;
\r
20 File(MPI_Comm comm, char *filename, int amode, MPI_Info info);
\r
25 int seek(MPI_Offset offset, int whence);
\r
26 int read(void *buf, int count,MPI_Datatype datatype, MPI_Status *status);
\r
27 static int close(MPI_File *fh);
\r
28 static int del(char *filename, MPI_Info info);
\r