[OMPI users] File seeking with shared filepointer issues

2011-06-23 Thread Christian Anonymous
I'm having some issues with MPI_File_seek_shared. Consider the following small test C++ program #include #include #define PATH "simdata.bin" using namespace std; int ThisTask; int main(int argc, char *argv[]) { MPI_Init(&argc,&argv); /* Initialize MPI */ MPI_Comm_rank(MPI_COMM_WORLD,&ThisT

Re: [OMPI users] File seeking with shared filepointer issues

2011-06-29 Thread Christian Anonymous
...although, as I type that out, that seems weird. A barrier should >> not (be guaranteed to) force the completion of collectives (file- >> based or otherwise). That could be a side-effect of linear message >> passing behind the scenes, but that seems like a weird interface. &g

Re: [OMPI users] File seeking with shared filepointer issues

2011-07-02 Thread Christian Anonymous
y to do this file size determination, if that's >really what you want, is to have rank >0 do the work and broadcast the result to everyone else. > >==rob > >> >> >> On Jun 23, 2011, at 10:04 AM, Christian Anonymous wrote: >> >> > I'm having