[mpich-discuss] Problem with MPI_File_write_all in Fortran90?

Angel de Vicente angelv at iac.es
Mon Jul 23 17:58:55 CDT 2012


Hi,

this is the first time tham I'm using MPI_File_write_all with Fortran,
so perhaps I'm doing something really silly, but as far as I can tell
these two programs that I attach (in C and in Fortran 90) should behave
the same way.

angelv$ mpicc -o parallel_i_oc parallel_i_o.c
angelv$ mpif90 -o parallel_i_of parallel_i_o.f90 
angelv$ mpiexec -n 4 ./parallel_i_oc
angelv$ mpiexec -n 4 ./parallel_i_of
angelv$ ls -lth datafile*
-rw-r--r-- 1 angelv dialout 9.8T 2012-07-23 23:45 datafile_f
-rw-r--r-- 1 angelv dialout 118K 2012-07-23 23:45 datafile_c
angelv$ 

I don't even have 9.8T in this hard disk, so something funny is going
on. Any ideas?

This is with MPICH2 version 1.4.1p1

Thanks,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: parallel_i_o.c
Type: text/x-csrc
Size: 1269 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120723/0dcb6d5b/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parallel_i_o.f90
Type: application/octet-stream
Size: 1247 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120723/0dcb6d5b/attachment.obj>
-------------- next part --------------

-- 
?ngel de Vicente
http://www.iac.es/galeria/angelv/          

---------------------------------------------------------------------------------------------
ADVERTENCIA: Sobre la privacidad y cumplimiento de la Ley de Protecci?e Datos, acceda a http://www.iac.es/disclaimer.php
WARNING: For more information on privacy and fulfilment of the Law concerning the Protection of Data, consult http://www.iac.es/disclaimer.php?lang=en


More information about the mpich-discuss mailing list