[cig-commits] r14972 - short/3D/PyLith/benchmarks/trunk/quasistatic/strikeslipnog/figs

brad at geodynamics.org brad at geodynamics.org
Sun May 10 21:46:05 PDT 2009


Author: brad
Date: 2009-05-10 21:46:05 -0700 (Sun, 10 May 2009)
New Revision: 14972

Modified:
   short/3D/PyLith/benchmarks/trunk/quasistatic/strikeslipnog/figs/plot_scaling.py
   short/3D/PyLith/benchmarks/trunk/quasistatic/strikeslipnog/figs/plot_summary.py
   short/3D/PyLith/benchmarks/trunk/quasistatic/strikeslipnog/figs/runstats.py
Log:
Updated.

Modified: short/3D/PyLith/benchmarks/trunk/quasistatic/strikeslipnog/figs/plot_scaling.py
===================================================================
--- short/3D/PyLith/benchmarks/trunk/quasistatic/strikeslipnog/figs/plot_scaling.py	2009-05-10 23:42:46 UTC (rev 14971)
+++ short/3D/PyLith/benchmarks/trunk/quasistatic/strikeslipnog/figs/plot_scaling.py	2009-05-11 04:46:05 UTC (rev 14972)
@@ -18,7 +18,7 @@
 import pylab
 from mypylab.Figure import Figure
 
-from runstats import dataScaling_v1_3 as data
+from runstats import dataScaling_v1_4 as data
 
 # ----------------------------------------------------------------------
 class PlotScaling(Figure):
@@ -58,9 +58,11 @@
     self.open(self.width, self.height, margins=margins)
     self.axes(1, 1, 1, 1)
 
-    shapes = ["Tet4", "Hex8"]
-    colorShapes = {'Tet4': 'orange',
-                   'Hex8': 'blue'}
+    #shapes = ["Tet4", "Hex8"]
+    #colorShapes = {'Tet4': 'orange',
+    #               'Hex8': 'blue'}
+    shapes = ["Hex8"]
+    colorShapes = {'Hex8': 'blue'}
 
     handles = []
     labels = []
@@ -94,15 +96,19 @@
     pylab.xlabel("Number of Processors")
     pylab.ylabel("Runtime (s)")
     pylab.xlim(0.5, 32)
-    pylab.ylim(5.0e+0, 8.0e+2)
+    pylab.ylim(1.0e+2, 1.0e+4)
 
-    pylab.legend((handles[0][0], handles[1][0],
-                  handles[2][0], handles[3][0]),
+    #pylab.legend((handles[0][0], handles[1][0],
+    #              handles[2][0], handles[3][0]),
+    #             labels,
+    #             shadow=True,
+    #             loc='lower left')
+    pylab.legend((handles[0][0], handles[1][0]),
                  labels,
                  shadow=True,
                  loc='lower left')
-    pylab.text(4.5, 19, 'Strong scaling',
-               rotation=-35.0,
+    pylab.text(4.5, 1.8e+3, 'Strong scaling',
+               rotation=-38.0,
                verticalalignment='top',
                horizontalalignment='left',
                color='ltred')

Modified: short/3D/PyLith/benchmarks/trunk/quasistatic/strikeslipnog/figs/plot_summary.py
===================================================================
--- short/3D/PyLith/benchmarks/trunk/quasistatic/strikeslipnog/figs/plot_summary.py	2009-05-10 23:42:46 UTC (rev 14971)
+++ short/3D/PyLith/benchmarks/trunk/quasistatic/strikeslipnog/figs/plot_summary.py	2009-05-11 04:46:05 UTC (rev 14972)
@@ -39,7 +39,7 @@
 
         if plotSize == "poster":
             self.width = 8.75
-            self.height = 6.75
+            self.height = 4.5
             margins = [[0.5, 0.6, 0.1], [0.25, 0.55, 0.30]]
         elif plotSize == "presentation":
             self.width = 4.0
@@ -53,7 +53,7 @@
             raise ValueError("Unknown plotSize '%s'." % plotSize)
 
         self.open(self.width, self.height, margins=margins)
-        self.nrows = 3
+        self.nrows = 2
         self.ncols = 3
 
         self.resolutions = [1000, 500, 250]
@@ -78,18 +78,10 @@
                   'title': "Peak Memory Usage (MB)",
                   'log': True,
                   'range': (1e+1, 2e+4)},
-                 {'value': "niterations",
-                  'title': "# Iterations in Solve",
-                  'log': False,
-                  'range': None},
                  {'value': "run_time",
                   'title': "Run Time (s)",
                   'log': True,
                   'range': (1e+1, 3e+3)},
-                 {'value': "nflops",
-                  'title': "# FLOPS",
-                  'log': True,
-                  'range': (1e+8, 3e+11)},
                  {'value': "error",
                   'title': "Average Error (m)",
                   'log': True,

Modified: short/3D/PyLith/benchmarks/trunk/quasistatic/strikeslipnog/figs/runstats.py
===================================================================
--- short/3D/PyLith/benchmarks/trunk/quasistatic/strikeslipnog/figs/runstats.py	2009-05-10 23:42:46 UTC (rev 14971)
+++ short/3D/PyLith/benchmarks/trunk/quasistatic/strikeslipnog/figs/runstats.py	2009-05-11 04:46:05 UTC (rev 14972)
@@ -188,3 +188,88 @@
       {'nprocs': 16, 'total': 67.10, 'compute': 10.37},
       ]
     }
+
+# ----------------------------------------------------------------------
+# Version 1.4.0a
+# ----------------------------------------------------------------------
+# Hydra (2.2 GHz Opteron)
+data_v1_4 = {
+    "Tet4 1000m": {
+        'ncells': 79756,
+        'nvertices': 15625,
+        'nflops': 0,
+        'run_time': 0,
+        'error': 1.41e-03,
+        'niterations': 0,
+        'memory': 0},
+
+    "Hex8 1000m": {
+        'ncells': 13824,
+        'nvertices': 15625,
+        'nflops': 0,
+        'run_time': 0,
+        'error': 6.58e-04,
+        'niterations': 0,
+        'memory': 0},
+
+    "Tet4 500m": {
+        'ncells': 661929,
+        'nvertices': 117649,
+        'nflops': 0,
+        'run_time': 0,
+        'error': 4.79e-04,
+        'niterations': 0,
+        'memory': 0},
+
+    "Hex8 500m": {
+        'ncells': 110592,
+        'nvertices': 117649,
+        'nflops': 0,
+        'run_time': 0,
+        'error': 1.94e-04,
+        'niterations': 0,
+        'memory': 0},
+
+
+    "Tet4 250m": {
+        'ncells': 5244768,
+        'nvertices': 912673,
+        'nflops': 0,
+        'run_time': 0,
+        'error': 1.30e-04,
+        'niterations': 0,
+        'memory': 0},
+
+    "Hex8 250m" : {
+        'ncells': 884736,
+        'nvertices': 912673,
+        'nflops': 0,
+        'run_time': 0,
+        'error': 7.70e-05,
+        'niterations': 0,
+        'memory': 0}
+    }
+
+# Hydra (2.2 GHz Opteron)
+dataScaling_v1_4 = {
+#    "Tet4":
+#    [{'nprocs': 1, 'total': 223.92, 'compute': 78.27},
+#     {'nprocs': 2, 'total': 363.94, 'compute': 50.91},
+#     {'nprocs': 4, 'total': 274.45, 'compute': 28.98},
+#     {'nprocs': 8, 'total': 237.84, 'compute': 16.92},
+#     {'nprocs': 16, 'total': 220.18, 'compute': 11.60},
+#     ],
+    
+    "Hex8":
+     [{'nprocs': 1, 'total': 4.968e+03, 
+       'compute': 2.0475e+01 + 2.2342e+02 + 4.4633e+03},
+      {'nprocs': 2, 'total': 5.016e+03, 
+       'compute': 1.2321e+01 + 1.3460e+02 + 4.6152e+03},
+      {'nprocs': 4, 'total': 2.889e+03, 
+       'compute': 6.7043e+00 + 7.7384e+01 + 2.5752e+03},
+      {'nprocs': 8, 'total': 1.688e+03, 
+       'compute': 3.5514e+00 + 4.2006e+01 + 1.4234e+03},
+      {'nprocs': 16, 'total': 1.1075e+03 , 
+       'compute': 2.0657e+00 + 2.2895e+01 + 8.7341e+02},
+      ]
+    }



More information about the CIG-COMMITS mailing list