[cig-commits] r7848 - mc/3D/CitcomS/trunk/lib

tan2 at geodynamics.org tan2 at geodynamics.org
Mon Aug 20 11:11:09 PDT 2007


Author: tan2
Date: 2007-08-20 11:11:08 -0700 (Mon, 20 Aug 2007)
New Revision: 7848

Modified:
   mc/3D/CitcomS/trunk/lib/Instructions.c
Log:
Added #ifdef block around vtk_io in output_finalize()

Modified: mc/3D/CitcomS/trunk/lib/Instructions.c
===================================================================
--- mc/3D/CitcomS/trunk/lib/Instructions.c	2007-08-20 00:11:29 UTC (rev 7847)
+++ mc/3D/CitcomS/trunk/lib/Instructions.c	2007-08-20 18:11:08 UTC (rev 7848)
@@ -1294,10 +1294,11 @@
   if (E->fp_out)
     fclose(E->fp_out);
 
+#ifdef USE_GZDIR
   /*
-     remove VTK geo file in case we used that for IO 
+     remove VTK geo file in case we used that for IO
   */
-  if((E->output.gzdir.vtk_io != 1) && 
+  if((E->output.gzdir.vtk_io != 1) &&
      (strcmp(E->output.format, "ascii-gz") == 0)){
     if((E->output.gzdir.vtk_io == 3)||(E->parallel.me == 0)){
       /* delete the geo files */
@@ -1310,6 +1311,7 @@
       }
     }
   }
+#endif
 }
 
 



More information about the cig-commits mailing list