[cig-commits] r16982 - short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/strikeslipnog/figs
brad at geodynamics.org
brad at geodynamics.org
Thu Jun 10 17:41:18 PDT 2010
Author: brad
Date: 2010-06-10 17:41:18 -0700 (Thu, 10 Jun 2010)
New Revision: 16982
Modified:
short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/strikeslipnog/figs/parselogs.py
short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/strikeslipnog/figs/plot_scaling.py
short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/strikeslipnog/figs/runstats.py
Log:
Added current stats for v1.5.0.
Modified: short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/strikeslipnog/figs/parselogs.py
===================================================================
--- short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/strikeslipnog/figs/parselogs.py 2010-06-11 00:40:49 UTC (rev 16981)
+++ short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/strikeslipnog/figs/parselogs.py 2010-06-11 00:41:18 UTC (rev 16982)
@@ -6,45 +6,45 @@
"run_hex8_0500m_np1.log",
"run_hex8_0500m_np2.log",
"run_hex8_0500m_np4.log",
- "run_hex8_0500m_np8.log",
- "run_hex8_0500m_np16.log",
- ]
+]
+# "run_hex8_0500m_np8.log",
+# "run_hex8_0500m_np16.log",
+# ]
stats = []
for filename in files:
- fin = open("../logs/2008nov25/%s" % filename, "r")
+ fin = open("../logs/2010jun/viscoelastic/%s" % filename, "r")
lines = fin.readlines()
total = 0.0
compute = 0.0
- offset = 3
for line in lines:
- # Events
- indexBegin = 29
- indexEnd = 39
- record = "PyLith main"
- if line[offset:offset+len(record)] == record:
- total = float(line[offset+indexBegin:offset+indexEnd])
+ # Total
+ indexBegin = 22
+ indexEnd = 31
+ record = "Time (sec):"
+ if line[0:len(record)] == record:
+ total = float(line[indexBegin:indexEnd])
# Stages
indexBegin = 21
indexEnd = 31
- record = " 5: Reform Jacobian"
- if line[offset:offset+len(record)] == record:
+ record = " 3: Reform Jacobian:"
+ if line[0:len(record)] == record:
fields = line.split()
- compute += float(line[offset+indexBegin:offset+indexEnd])
+ compute += float(line[indexBegin:indexEnd])
- record = " 6: Reform Residual"
- if line[offset:offset+len(record)] == record:
+ record = " 4: Reform Residual"
+ if line[0:len(record)] == record:
fields = line.split()
- compute += float(line[offset+indexBegin:offset+indexEnd])
+ compute += float(line[indexBegin:indexEnd])
- record = " 7: Solve"
- if line[offset:offset+len(record)] == record:
+ record = " 5: Solve"
+ if line[0:len(record)] == record:
fields = line.split()
- compute += float(line[offset+indexBegin:offset+indexEnd])
+ compute += float(line[indexBegin:indexEnd])
stats.append({'filename': filename,
'total': total,
Modified: short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/strikeslipnog/figs/plot_scaling.py
===================================================================
--- short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/strikeslipnog/figs/plot_scaling.py 2010-06-11 00:40:49 UTC (rev 16981)
+++ short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/strikeslipnog/figs/plot_scaling.py 2010-06-11 00:41:18 UTC (rev 16982)
@@ -10,15 +10,15 @@
# ======================================================================
#
-plotSize = "poster"
+plotSize = "presentation"
color = "lightbg"
-fileSuffix = "eps"
+fileSuffix = "pdf"
# ======================================================================
import pylab
from mypylab.Figure import Figure
-from runstats import dataScaling_v1_4_2 as data
+from runstats import dataScaling_v1_5_0 as data
# ----------------------------------------------------------------------
class PlotScaling(Figure):
@@ -102,7 +102,7 @@
shadow=True,
loc='lower left')
pylab.text(3.8, 1.8e+3, 'Strong scaling',
- rotation=-50.0,
+ rotation=-45.0,
verticalalignment='top',
horizontalalignment='left',
color='ltred')
Modified: short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/strikeslipnog/figs/runstats.py
===================================================================
--- short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/strikeslipnog/figs/runstats.py 2010-06-11 00:40:49 UTC (rev 16981)
+++ short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/strikeslipnog/figs/runstats.py 2010-06-11 00:41:18 UTC (rev 16982)
@@ -455,3 +455,84 @@
'compute': 4.7358e+00 + 9.8182e+01 + 7.0615e+02},
],
}
+
+# ----------------------------------------------------------------------
+# Version 1.4.2 (August 2009)
+# ----------------------------------------------------------------------
+# Hydra (2.2 GHz Opteron)
+data_v1_5_0 = {
+ "Tet4 1000m": {
+ 'ncells': 79756,
+ 'nvertices': 15625,
+ 'nflops': 1.189e+09,
+ 'run_time': 2.271e+01,
+ 'error': 0,
+ 'niterations': 70,
+ 'memory': 186.25},
+
+ "Hex8 1000m": {
+ 'ncells': 13824,
+ 'nvertices': 15625,
+ 'nflops': 2.244e+09,
+ 'run_time': 1.174e+01,
+ 'error': 0,
+ 'niterations': 46,
+ 'memory': 157.62},
+
+ "Tet4 500m": {
+ 'ncells': 661929,
+ 'nvertices': 117649,
+ 'nflops': 1.505e+10,
+ 'run_time': 1.944e+02,
+ 'error': 0,
+ 'niterations': 124,
+ 'memory': 1259},
+
+ "Hex8 500m": {
+ 'ncells': 110592,
+ 'nvertices': 117649,
+ 'nflops': 2.482e+10,
+ 'run_time': 1.013e+02,
+ 'error': 0,
+ 'niterations': 89,
+ 'memory': 1003.89},
+
+
+ "Tet4 250m": {
+ 'ncells': 5244768,
+ 'nvertices': 912673,
+ 'nflops': 2.251e+11,
+ 'run_time': 0,
+ 'error': 0,
+ 'niterations': 248,
+ 'memory': 9810.49},
+
+ "Hex8 250m" : {
+ 'ncells': 884736,
+ 'nvertices': 912673,
+ 'nflops': 2.860e+11,
+ 'run_time': 1.055e+03,
+ 'error': 0,
+ 'niterations': 158,
+ 'memory': 7830.93}
+ }
+
+# Hydra (2.2 GHz Opteron)
+# compute is ReformJacobian + ReformResidual + Solve
+dataScaling_v1_5_0 = {
+ "Hex8":
+ [{'nprocs': 1, 'total': 3941.0, 'compute': 3641.41},
+ {'nprocs': 2, 'total': 3243.0, 'compute': 2990.53},
+ {'nprocs': 4, 'total': 2232.0, 'compute': 2021.825},
+# {'nprocs': 8, 'total': 0, 'compute': 0},
+# {'nprocs': 16, 'total': 0, 'compute': 0},
+ ],
+
+ "Tet4":
+ [{'nprocs': 1, 'total': 4926.0, 'compute': 4145.554},
+ {'nprocs': 2, 'total': 4914.0, 'compute': 4132.822},
+ {'nprocs': 4, 'total': 2899.0, 'compute': 2208.235},
+ {'nprocs': 8, 'total': 1797.0, 'compute': 1144.05},
+ {'nprocs': 16, 'total': 1368.0, 'compute': 732.32},
+ ],
+ }
More information about the CIG-COMMITS
mailing list