Closed LanaTodorovic93 closed 1 year ago
The same example successfully completed on OpenQuake version 3.17.2.
In addition, the log file displaying the nominal bias is not appearing in the calculation log.
"GSIM: %s, IMT: %s, Nominal bias mean: %.3f, Nominal bias stddev: %.3f"
I tried to reduce site_model.csv for debugging purposes. Reducing it to 500 lines, the error on Windows does not occur. Reducing it to 1000 lines, it still occurs: site_model.csv
The missing log line seems to be caused by multiprocessing. Running the calculation with OQ_DISTRIBUTE=no, the log is displayed correctly. Otherwise, all logs of level info are not shown and logs of levels warning or error are displayed without the proper format specified in the engine.
The difference between Linux and Windows is that at line https://github.com/gem/oq-engine/blob/master/openquake/commonlib/calc.py#L355 on Linux eids.dtype
is dtype('int64')
, whereas on Windows it is dtype('int32')
.
See here other things to improve in this calculator: https://github.com/gem/oq-engine/issues/8930
Hi! I am trying to run the scenario using the conditioned GMF calculator on Windows OS, however, the calculation fails on current master (154b59f643f3f53e81b7382fd0a164ac59337129). As per instructions here I am using python 3.10.0. The following error appears (traceback):
I am attaching an example.
share_PGA.zip