Fabricio, the fortran runtime might (or not) use buffering for I/O. as a consequence, data might be written immediatly to disk, or at a later time (e.g. the file is closed, the buffer is full or the buffer is flushed)
you might want to manually flush the file, or there might be an option not to use buffering when opening a file (sorry, i do not know them off hands) Cheers, Gilles On Fri, Jul 14, 2017 at 8:49 AM, fabricio <fcann...@gmail.com> wrote: > Hello there > > I'm facing a weird issue in a centos 7.3 x86 machine when remotely running a > program [https://www.myroms.org] from host1 to host2 and host3. > > When the program was compiled with intel ifort 17.0, output redirection > happens immediately and the file is constantly updated. > If the program is compiled with gnu gfortran 5.3.0, the file is not written > (zero bytes) until the end of the execution, as if some kind of buffering > was happening. > Openmpi version is the same, 1.10.7, and configure options are as below: > > intel: > --prefix /intel/path > --enable-shared > --enable-static > --enable-orterun-prefix-by-default > --with-slurm > --with-psm > --with-verbs=yes > --with-threads=posix > --with-hwloc=/hwloc/path > --disable-java > --disable-vt > > gnu: > --prefix /gnu/path > --enable-shared > --enable-static > --enable-orterun-prefix-by-default > --with-sge > --with-tm > --with-slurm > --with-valgrind > --with-psm > --with-verbs=yes > --with-threads=posix > --with-hwloc=/hwloc/path > --with-libevent=/libevent/path > --with-psm2 > --disable-java > --disable-vt > > > Does anything strikes as odd? Am I fumbling something? > > > TIA, > Fabricio > _______________________________________________ > users mailing list > users@lists.open-mpi.org > https://rfd.newmexicoconsortium.org/mailman/listinfo/users _______________________________________________ users mailing list users@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/users