I was beginning to learn mpi i/o for my molecular dynamics code. First, I tried to run this code:
http://www.mcs.anl.gov/research/projects/mpi/usingmpi2/examples/starting/io3f_f90.htm
After compiling and running, I got 'testfile'. But when I 'vim testfile', I see a lot of unrecognizable character such as '^A^@^@^@^B^@^@^@^C^@^@^@^D^@^@^@^E^@^@^@^F^@^@^@^G^@^'. And I can't open it in gedit either (it said the file is of unknown type)
Any idea what happened? I did not modify the code at all.
I used Open MPI 1.7 and ifort 13 on Ubuntu, the processor is intel i7 (4 cores/8 threads) on my laptop. I am sure that the MPI works. I used -np = 4 for this test.
Thanks