Thank you very much for the explanation. Indeed, replacing Absolute error with relative error it works.
However, I still have an error message afterwards when I try to run a script with OQ v3.4.
I am copying below the message.
It seems that the source model is read well, but at the end there is a message "all the sources are filtered away!". What does it mean?
Thank you very much.
[support@mhvmxopenquake1 newOQ]$ oq engine --run job.ini
[2019-04-17 10:30:25,043 #31 INFO] support running /opt/newOQ/job.ini [--hc=None]
[2019-04-17 10:30:25,045 #31 INFO] Using engine version 3.4.0-1
[2019-04-17 10:30:25,750 #31 INFO] zipping the input files
[2019-04-17 10:30:25,762 #31 INFO] Reading the risk model if present
[2019-04-17 10:30:25,765 #31 INFO] Read 1 hazard sites
[2019-04-17 10:30:25,771 #31 INFO] Reading source IDs from source model UK_EC8
[2019-04-17 10:30:25,781 #31 INFO] Reading source IDs from source model Mmax12
[2019-04-17 10:30:25,783 #31 INFO] Reading source IDs from source model Mmax22
[2019-04-17 10:30:25,785 #31 INFO] Reading source IDs from source model Mmax32
[2019-04-17 10:30:25,787 #31 INFO] Reading source IDs from source model Mmax13
[2019-04-17 10:30:25,788 #31 INFO] Reading source IDs from source model Mmax23
[2019-04-17 10:30:25,799 #31 INFO] Read 1 TRTs from 1 model file(s)
[2019-04-17 10:30:25,801 #31 INFO] Potential number of logic tree paths = 6
[2019-04-17 10:30:25,803 #31 INFO] Reading the source model(s) in parallel
[2019-04-17 10:30:30,787 #31 INFO] Sent 2.1 KB of data in 6 read_source_models task(s)
[2019-04-17 10:30:30,806 #31 INFO] read_source_models 16% [of 6]
[2019-04-17 10:30:30,812 #31 INFO] read_source_models 33% [of 6]
[2019-04-17 10:30:30,829 #31 INFO] read_source_models 50% [of 6]
[2019-04-17 10:30:30,856 #31 INFO] read_source_models 66% [of 6]
[2019-04-17 10:30:30,951 #31 INFO] read_source_models 83% [of 6]
[2019-04-17 10:30:30,953 #31 INFO] read_source_models 100% [of 6]
[2019-04-17 10:30:30,955 #31 INFO] Received 136.03 KB from 6 read_source_models outputs in 5 seconds, biggest output=22.67 KB
[2019-04-17 10:30:34,989 #31 INFO] Processed source model 1 with 1 gsim path(s) and 23 sources
[2019-04-17 10:30:38,931 #31 INFO] Processed source model 2 with 1 gsim path(s) and 23 sources
[2019-04-17 10:30:42,970 #31 INFO] Processed source model 3 with 1 gsim path(s) and 23 sources
[2019-04-17 10:30:46,984 #31 INFO] Processed source model 4 with 1 gsim path(s) and 23 sources
[2019-04-17 10:30:50,970 #31 INFO] Processed source model 5 with 1 gsim path(s) and 23 sources
[2019-04-17 10:30:54,884 #31 INFO] Processed source model 6 with 1 gsim path(s) and 23 sources
[2019-04-17 10:30:54,887 #31 INFO] The composite source model has 25,567,808 ruptures
[2019-04-17 10:30:54,889 #31 INFO] /opt/newOQ/source_model.xml has been considered 6 times
[2019-04-17 10:30:54,891 #31 INFO] Applied 138 changes to the composite source model
[2019-04-17 10:30:54,999 #31 INFO] Splitting/filtering sources with RtreeFilter
[2019-04-17 10:31:02,097 #31 CRITICAL]
Traceback (most recent call last):
File "/opt/openquake/lib/python3.6/site-packages/openquake/calculators/base.py", line 270, in run
self.pre_execute()
File "/opt/openquake/lib/python3.6/site-packages/openquake/calculators/base.py", line 569, in pre_execute
self.read_inputs()
File "/opt/openquake/lib/python3.6/site-packages/openquake/calculators/base.py", line 503, in read_inputs
csm, srcfilter, split, self.monitor())
File "/opt/openquake/lib/python3.6/site-packages/openquake/calculators/base.py", line 180, in parallel_split_filter
raise RuntimeError('All sources were filtered away!')
RuntimeError: All sources were filtered away!
[2019-04-17 10:31:02,104 #31 CRITICAL] Traceback (most recent call last):
File "/opt/openquake/lib/python3.6/site-packages/openquake/engine/engine.py", line 310, in run_calc
close=False, **kw)
File "/opt/openquake/lib/python3.6/site-packages/openquake/calculators/base.py", line 270, in run
self.pre_execute()
File "/opt/openquake/lib/python3.6/site-packages/openquake/calculators/base.py", line 569, in pre_execute
self.read_inputs()
File "/opt/openquake/lib/python3.6/site-packages/openquake/calculators/base.py", line 503, in read_inputs
csm, srcfilter, split, self.monitor())
File "/opt/openquake/lib/python3.6/site-packages/openquake/calculators/base.py", line 180, in parallel_split_filter
raise RuntimeError('All sources were filtered away!')
RuntimeError: All sources were filtered away!
Traceback (most recent call last):
File "/usr/bin/oq", line 11, in <module>
load_entry_point('openquake.engine==3.4.0.post1', 'console_scripts', 'oq')()
File "/opt/openquake/lib/python3.6/site-packages/openquake/commands/__main__.py", line 50, in oq
parser.callfunc()
File "/opt/openquake/lib/python3.6/site-packages/openquake/baselib/sap.py", line 181, in callfunc
return self.func(**vars(namespace))
File "/opt/openquake/lib/python3.6/site-packages/openquake/baselib/sap.py", line 251, in main
return func(**kw)
File "/opt/openquake/lib/python3.6/site-packages/openquake/commands/engine.py", line 214, in engine
exports, reuse_hazard)
File "/opt/openquake/lib/python3.6/site-packages/openquake/commands/engine.py", line 125, in smart_run
hc_id = run_job(job_ini, log_level, log_file, exports, **kw)
File "/opt/openquake/lib/python3.6/site-packages/openquake/commands/engine.py", line 68, in run_job
eng.run_calc(job_id, oqparam, exports, **kw)
File "/opt/openquake/lib/python3.6/site-packages/openquake/engine/engine.py", line 310, in run_calc
close=False, **kw)
File "/opt/openquake/lib/python3.6/site-packages/openquake/calculators/base.py", line 270, in run
self.pre_execute()
File "/opt/openquake/lib/python3.6/site-packages/openquake/calculators/base.py", line 569, in pre_execute
self.read_inputs()
File "/opt/openquake/lib/python3.6/site-packages/openquake/calculators/base.py", line 503, in read_inputs
csm, srcfilter, split, self.monitor())
File "/opt/openquake/lib/python3.6/site-packages/openquake/calculators/base.py", line 180, in parallel_split_filter
raise RuntimeError('All sources were filtered away!')
RuntimeError: All sources were filtered away!