added GFORTRAN_UNBUFFERED_ALL to disable bufferring IO for gfortran.
authorGengbin Zheng <gzheng@illinois.edu>
Thu, 8 Nov 2007 19:33:07 +0000 (19:33 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Thu, 8 Nov 2007 19:33:07 +0000 (19:33 +0000)
src/arch/net/charmrun/charmrun.c

index 08d021e29b3fe57b4fe24f35fe5e9eb3b95445bf..92336cd2b851dde271d01536e735fcf57bcaa824 100644 (file)
@@ -2576,6 +2576,9 @@ void rsh_script(FILE *f, int nodeno, int rank0no, char **argv)
 #ifdef CMK_G95
   fprintf(f,"G95_UNBUFFERED_ALL=TRUE; export G95_UNBUFFERED_ALL\n");
 #endif
+#ifdef CMK_GFORTRAN
+  fprintf(f,"GFORTRAN_UNBUFFERED_ALL=YES; export GFORTRAN_UNBUFFERED_ALL\n");
+#endif
 #if CMK_USE_MX
   fprintf(f,"MX_MONOTHREAD=1; export MX_MONOTHREAD\n");
   /*fprintf(f,"MX_RCACHE=1; export MX_RCACHE\n");*/