static int del(char *filename, MPI_Info info);\r
};\r
\r
+ /* Read_all, Write_all : loosely based on */\r
+ /* @article{Thakur:1996:ETM:245875.245879,*/\r
+ /* author = {Thakur, Rajeev and Choudhary, Alok},*/\r
+ /* title = {An Extended Two-phase Method for Accessing Sections of Out-of-core Arrays},*/\r
+ /* journal = {Sci. Program.},*/\r
+ /* issue_date = {Winter 1996},*/\r
+ /* pages = {301--317},*/\r
+ /* }*/ \r
template <int (*T)(MPI_File, void *, int, MPI_Datatype, MPI_Status *)>\r
int File::op_all(void *buf, int count, MPI_Datatype datatype, MPI_Status *status){\r
//get min and max offsets from everyone.\r
return MPI_SUCCESS;\r
}\r
\r
+ /*Ordered and Shared Versions, with RMA-based locks : Based on the model described in :*/\r
+ /* @InProceedings{10.1007/11557265_15,*/\r
+ /* author="Latham, Robert and Ross, Robert and Thakur, Rajeev and Toonen, Brian",*/ \r
+ /* title="Implementing MPI-IO Shared File Pointers Without File System Support",*/\r
+ /* booktitle="Recent Advances in Parallel Virtual Machine and Message Passing Interface",*/\r
+ /* year="2005",*/\r
+ /* publisher="Springer Berlin Heidelberg",*/\r
+ /* address="Berlin, Heidelberg",*/\r
+ /* pages="84--93"*/\r
+ /* }*/\r
int File::read_shared(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status){\r
fh->lock();\r
fh->seek(fh->shared_file_pointer_,MPI_SEEK_SET);\r