The OpenQuake engine version 2.1.1 ("Hugo Benioff") has been released

32 views
Skip to first unread message

Michele Simionato

unread,
Nov 2, 2016, 11:11:20 AM11/2/16
to OpenQuake Users
This is a bug fix release. It is meant for users running into errors like this one:

  File "/usr/lib/python2.7/dist-packages/openquake/commonlib/sourceconvert
er.py", line 216, in split_fault_source_by_magnitude
    min_mag=mag, bin_width=src.mfd.bin_width,
AttributeError: 'ArbitraryMFD' object has no attribute 'bin_width'

The bug only happens for source models with an ArbitraryMFD, and only in certain situations,
so unless you don't run into this error you do not need to upgrade. Thanks to Phil Cummins
for the bug report.

This release also fixes a bug  on 32 bit platforms, that manifests itself with this error message:

  File "/usr/lib/python2.7/dist-packages/openquake/hazardlib/site.py", line 478, in _extract_site_param
    return getattr(fsc.complete, name).take(fsc.indices)
TypeError: Cannot cast array data from dtype('int64') to dtype('int32') according to the rule 'safe'

If you are using a 64 bit platform you do not need to upgrade.

You can install/upgrade on all supported platforms (Linux and Windows) by following the
instructions given here:


That's all, please let us know if you have any trouble with the upgrade.


           Michele Simionato on behalf of the OpenQuake Team

Reply all
Reply to author
Forward
0 new messages