[Commits] [svn:einsteintoolkit] ADMMacros/trunk/src/ (Rev. 115)

knarf at cct.lsu.edu knarf at cct.lsu.edu
Fri Nov 23 14:49:32 CST 2012


User: knarf
Date: 2012/11/23 02:49 PM

Modified:
 /trunk/src/
  SetLocalSpatialOrder.c

Log:
 only output order for root processor, not on every

File Changes:

Directory: /trunk/src/
======================

File [modified]: SetLocalSpatialOrder.c
Delta lines: +3 -2
===================================================================
--- trunk/src/SetLocalSpatialOrder.c	2012-11-05 14:45:17 UTC (rev 114)
+++ trunk/src/SetLocalSpatialOrder.c	2012-11-23 20:49:32 UTC (rev 115)
@@ -65,8 +65,9 @@
 
   *local_spatial_order = spatial_order;
 
-  CCTK_VInfo(CCTK_THORNSTRING, "Spatial finite differencing order: %d",
-             (int)spatial_order);
+  if (CCTK_MyProc(cctkGH)==0)
+    CCTK_VInfo(CCTK_THORNSTRING, "Spatial finite differencing order: %d",
+               (int)spatial_order);
 
   return;
 }



More information about the Commits mailing list