On Aug 30, 2012, at 5:05 AM, Ammar Ahmad Awan wrote:

> int atomicity;
> 
> // method 1
> printf("atomicity : %d", MPI_File_get_atomicity(fh,&atomicity));

I think you want:

int atomicity;
MPI_File_get_atomicity(fh, &atomicity);
printf("atomicity: %d\n", atomicity);

MPI_File is an opaque structure; you won't be able to access any of the fields 
inside of it directly.

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/


Reply via email to