Skip to content

Commit

Permalink
Regenerated the reports
Browse files Browse the repository at this point in the history
  • Loading branch information
micheles committed Jun 14, 2017
1 parent e200a20 commit 5256de5
Show file tree
Hide file tree
Showing 107 changed files with 1,834 additions and 1,397 deletions.
11 changes: 3 additions & 8 deletions openquake/calculators/reportwriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,8 @@ def __init__(self, dstore):
updated = str(time.ctime(mtime))
versions = sorted(dstore['/'].attrs.items())
self.text += '\n\n' + views.rst_table([[host, updated]] + versions)
# NB: in the future, the sitecol could be transferred as
# an array by leveraging the HDF5 serialization protocol;
# for the moment however the size of the
# data to transfer is given by the usual pickle
sitecol_size = humansize(len(parallel.Pickled(dstore['sitecol'])))
self.text += '\n\nnum_sites = %d, sitecol = %s' % (
len(dstore['sitecol']), sitecol_size)
self.text += '\n\nnum_sites = %d, num_imts = %d' % (
len(dstore['sitecol']), len(oq.imtls))

def add(self, name, obj=None):
"""Add the view named `name` to the report text"""
Expand All @@ -122,7 +117,7 @@ def make_report(self):
oq, ds = self.oq, self.dstore
for name in ('params', 'inputs'):
self.add(name)
if 'composite_source_model' in ds:
if 'csm_info' in ds:
self.add('csm_info')
self.add('required_params_per_trt')
self.add('rlzs_assoc', ds['csm_info'].get_rlzs_assoc())
Expand Down
35 changes: 17 additions & 18 deletions openquake/qa_tests_data/classical/case_1/report.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ Classical Hazard QA Test, Case 1
================================

================================================ ========================
tstation.gem.lan:/mnt/ssd/oqdata/calc_26082.hdf5 Tue Jun 6 14:58:48 2017
engine_version 2.5.0-gitb270b98
hazardlib_version 0.25.0-git6276f16
tstation.gem.lan:/mnt/ssd/oqdata/calc_29245.hdf5 Wed Jun 14 10:04:40 2017
engine_version 2.5.0-gite200a20
================================================ ========================

num_sites = 1, sitecol = 809 B
num_sites = 1, num_imts = 2

Parameters
----------
Expand Down Expand Up @@ -73,7 +72,7 @@ source_model.xml 0 Active Shallow Crust 1 1 1
Informational data
------------------
============================== ========================================================================
count_eff_ruptures.received tot 579 B, max_per_task 579 B
count_eff_ruptures.received max_per_task 579 B, tot 579 B
count_eff_ruptures.sent sources 1.14 KB, param 699 B, srcfilter 684 B, monitor 313 B, gsims 91 B
hazard.input_weight 0.100
hazard.n_imts 2 B
Expand All @@ -91,35 +90,35 @@ Slowest sources
====== ========= ============ ============ ========= ========= =========
grp_id source_id source_class num_ruptures calc_time num_sites num_split
====== ========= ============ ============ ========= ========= =========
0 1 PointSource 1 1.869E-04 1 1
0 1 PointSource 1 1.700E-04 1 1
====== ========= ============ ============ ========= ========= =========

Computation times by source typology
------------------------------------
============ ========= ======
source_class calc_time counts
============ ========= ======
PointSource 1.869E-04 1
PointSource 1.700E-04 1
============ ========= ======

Information about the tasks
---------------------------
================== ===== ====== ===== ===== =========
operation-duration mean stddev min max num_tasks
count_eff_ruptures 0.001 NaN 0.001 0.001 1
================== ===== ====== ===== ===== =========
================== ========= ====== ========= ========= =========
operation-duration mean stddev min max num_tasks
count_eff_ruptures 9.253E-04 NaN 9.253E-04 9.253E-04 1
================== ========= ====== ========= ========= =========

Slowest operations
------------------
============================== ========= ========= ======
operation time_sec memory_mb counts
============================== ========= ========= ======
store source_info 0.003 0.0 1
reading composite source model 0.001 0.0 1
total count_eff_ruptures 0.001 0.0 1
managing sources 8.399E-04 0.0 1
prefiltering source model 6.809E-04 0.0 1
reading site collection 3.409E-05 0.0 1
saving probability maps 2.694E-05 0.0 1
aggregate curves 1.860E-05 0.0 1
reading composite source model 0.002 0.0 1
managing sources 9.305E-04 0.0 1
total count_eff_ruptures 9.253E-04 0.0 1
prefiltering source model 3.366E-04 0.0 1
reading site collection 4.339E-05 0.0 1
saving probability maps 2.646E-05 0.0 1
aggregate curves 1.907E-05 0.0 1
============================== ========= ========= ======
31 changes: 15 additions & 16 deletions openquake/qa_tests_data/classical/case_10/report.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ Classical Hazard QA Test, Case 10
=================================

================================================ ========================
tstation.gem.lan:/mnt/ssd/oqdata/calc_26059.hdf5 Tue Jun 6 14:58:25 2017
engine_version 2.5.0-gitb270b98
hazardlib_version 0.25.0-git6276f16
tstation.gem.lan:/mnt/ssd/oqdata/calc_29222.hdf5 Wed Jun 14 10:04:15 2017
engine_version 2.5.0-gite200a20
================================================ ========================

num_sites = 1, sitecol = 809 B
num_sites = 1, num_imts = 1

Parameters
----------
Expand Down Expand Up @@ -105,36 +104,36 @@ Slowest sources
====== ========= ============ ============ ========= ========= =========
grp_id source_id source_class num_ruptures calc_time num_sites num_split
====== ========= ============ ============ ========= ========= =========
0 1 PointSource 3,000 1.967E-04 1 1
1 1 PointSource 3,000 1.655E-04 1 1
0 1 PointSource 3,000 2.005E-04 1 1
1 1 PointSource 3,000 1.922E-04 1 1
====== ========= ============ ============ ========= ========= =========

Computation times by source typology
------------------------------------
============ ========= ======
source_class calc_time counts
============ ========= ======
PointSource 3.622E-04 2
PointSource 3.927E-04 2
============ ========= ======

Information about the tasks
---------------------------
================== ========= ========= ========= ===== =========
operation-duration mean stddev min max num_tasks
count_eff_ruptures 9.891E-04 1.236E-04 9.017E-04 0.001 2
================== ========= ========= ========= ===== =========
================== ===== ========= ===== ===== =========
operation-duration mean stddev min max num_tasks
count_eff_ruptures 0.001 4.215E-05 0.001 0.001 2
================== ===== ========= ===== ===== =========

Slowest operations
------------------
============================== ========= ========= ======
operation time_sec memory_mb counts
============================== ========= ========= ======
reading composite source model 0.011 0.0 1
reading composite source model 0.012 0.0 1
prefiltering source model 0.010 0.0 1
store source_info 0.004 0.0 1
store source_info 0.008 0.0 1
managing sources 0.002 0.0 1
total count_eff_ruptures 0.002 0.0 2
aggregate curves 4.601E-05 0.0 2
reading site collection 3.886E-05 0.0 1
saving probability maps 3.171E-05 0.0 1
aggregate curves 8.535E-05 0.0 2
saving probability maps 5.269E-05 0.0 1
reading site collection 4.411E-05 0.0 1
============================== ========= ========= ======
29 changes: 14 additions & 15 deletions openquake/qa_tests_data/classical/case_11/report.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ Classical Hazard QA Test, Case 11
=================================

================================================ ========================
tstation.gem.lan:/mnt/ssd/oqdata/calc_26073.hdf5 Tue Jun 6 14:58:41 2017
engine_version 2.5.0-gitb270b98
hazardlib_version 0.25.0-git6276f16
tstation.gem.lan:/mnt/ssd/oqdata/calc_29236.hdf5 Wed Jun 14 10:04:33 2017
engine_version 2.5.0-gite200a20
================================================ ========================

num_sites = 1, sitecol = 809 B
num_sites = 1, num_imts = 1

Parameters
----------
Expand Down Expand Up @@ -110,37 +109,37 @@ Slowest sources
====== ========= ============ ============ ========= ========= =========
grp_id source_id source_class num_ruptures calc_time num_sites num_split
====== ========= ============ ============ ========= ========= =========
1 1 PointSource 3,000 1.867E-04 1 1
2 1 PointSource 2,500 1.702E-04 1 1
0 1 PointSource 3,500 1.493E-04 1 1
2 1 PointSource 2,500 1.926E-04 1 1
1 1 PointSource 3,000 1.698E-04 1 1
0 1 PointSource 3,500 1.624E-04 1 1
====== ========= ============ ============ ========= ========= =========

Computation times by source typology
------------------------------------
============ ========= ======
source_class calc_time counts
============ ========= ======
PointSource 5.062E-04 3
PointSource 5.248E-04 3
============ ========= ======

Information about the tasks
---------------------------
================== ========= ========= ========= ===== =========
operation-duration mean stddev min max num_tasks
count_eff_ruptures 9.427E-04 9.097E-05 8.390E-04 0.001 3
count_eff_ruptures 9.476E-04 8.415E-05 8.781E-04 0.001 3
================== ========= ========= ========= ===== =========

Slowest operations
------------------
============================== ========= ========= ======
operation time_sec memory_mb counts
============================== ========= ========= ======
reading composite source model 0.013 0.0 1
prefiltering source model 0.012 0.0 1
store source_info 0.003 0.0 1
reading composite source model 0.017 0.0 1
prefiltering source model 0.015 0.0 1
store source_info 0.004 0.0 1
managing sources 0.003 0.0 1
total count_eff_ruptures 0.003 0.0 3
aggregate curves 5.555E-05 0.0 3
reading site collection 3.195E-05 0.0 1
saving probability maps 2.503E-05 0.0 1
aggregate curves 6.723E-05 0.0 3
reading site collection 4.578E-05 0.0 1
saving probability maps 3.266E-05 0.0 1
============================== ========= ========= ======
33 changes: 16 additions & 17 deletions openquake/qa_tests_data/classical/case_12/report.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ Classical Hazard QA Test, Case 12
=================================

================================================ ========================
tstation.gem.lan:/mnt/ssd/oqdata/calc_26079.hdf5 Tue Jun 6 14:58:42 2017
engine_version 2.5.0-gitb270b98
hazardlib_version 0.25.0-git6276f16
tstation.gem.lan:/mnt/ssd/oqdata/calc_29242.hdf5 Wed Jun 14 10:04:35 2017
engine_version 2.5.0-gite200a20
================================================ ========================

num_sites = 1, sitecol = 809 B
num_sites = 1, num_imts = 1

Parameters
----------
Expand Down Expand Up @@ -102,36 +101,36 @@ Slowest sources
====== ========= ============ ============ ========= ========= =========
grp_id source_id source_class num_ruptures calc_time num_sites num_split
====== ========= ============ ============ ========= ========= =========
1 2 PointSource 1 1.590E-04 1 1
0 1 PointSource 1 1.588E-04 1 1
1 2 PointSource 1 1.934E-04 1 1
0 1 PointSource 1 1.068E-04 1 1
====== ========= ============ ============ ========= ========= =========

Computation times by source typology
------------------------------------
============ ========= ======
source_class calc_time counts
============ ========= ======
PointSource 3.178E-04 2
PointSource 3.002E-04 2
============ ========= ======

Information about the tasks
---------------------------
================== ========= ========= ========= ========= =========
operation-duration mean stddev min max num_tasks
count_eff_ruptures 8.692E-04 5.901E-06 8.650E-04 8.733E-04 2
================== ========= ========= ========= ========= =========
================== ========= ========= ========= ===== =========
operation-duration mean stddev min max num_tasks
count_eff_ruptures 8.222E-04 3.195E-04 5.963E-04 0.001 2
================== ========= ========= ========= ===== =========

Slowest operations
------------------
============================== ========= ========= ======
operation time_sec memory_mb counts
============================== ========= ========= ======
store source_info 0.004 0.0 1
store source_info 0.008 0.0 1
managing sources 0.003 0.0 1
reading composite source model 0.002 0.0 1
managing sources 0.002 0.0 1
total count_eff_ruptures 0.002 0.0 2
prefiltering source model 0.001 0.0 1
aggregate curves 4.745E-05 0.0 2
reading site collection 4.411E-05 0.0 1
saving probability maps 3.290E-05 0.0 1
prefiltering source model 6.709E-04 0.0 1
aggregate curves 8.297E-05 0.0 2
saving probability maps 5.388E-05 0.0 1
reading site collection 4.530E-05 0.0 1
============================== ========= ========= ======
Loading

0 comments on commit 5256de5

Please sign in to comment.