simgrid::s4u::File* file_;\r
MPI_Info info_;\r
MPI_Offset shared_file_pointer_;\r
+ MPI_Win win_;\r
+ char* list_;\r
public:\r
File(MPI_Comm comm, char *filename, int amode, MPI_Info info);\r
~File();\r
int size();\r
int get_position(MPI_Offset* offset);\r
+ int get_position_shared(MPI_Offset* offset);\r
int flags();\r
int sync();\r
int seek(MPI_Offset offset, int whence);\r
+ int seek_shared(MPI_Offset offset, int whence);\r
+ int lock();\r
+ int unlock();\r
MPI_Info info();\r
void set_info( MPI_Info info);\r
static int read(MPI_File fh, void *buf, int count,MPI_Datatype datatype, MPI_Status *status);\r
+ static int read_shared(MPI_File fh, void *buf, int count,MPI_Datatype datatype, MPI_Status *status);\r
+ static int read_ordered(MPI_File fh, void *buf, int count,MPI_Datatype datatype, MPI_Status *status);\r
static int write(MPI_File fh, void *buf, int count,MPI_Datatype datatype, MPI_Status *status);\r
+ static int write_shared(MPI_File fh, void *buf, int count,MPI_Datatype datatype, MPI_Status *status);\r
+ static int write_ordered(MPI_File fh, void *buf, int count,MPI_Datatype datatype, MPI_Status *status);\r
template <int (*T)(MPI_File, void *, int, MPI_Datatype, MPI_Status *)> int op_all(void *buf, int count,MPI_Datatype datatype, MPI_Status *status);\r
static int close(MPI_File *fh);\r
static int del(char *filename, MPI_Info info);\r