gem / oq-engine

OpenQuake Engine: a software for Seismic Hazard and Risk Analysis
https://github.com/gem/oq-engine/#openquake-engine
GNU Affero General Public License v3.0
375 stars 272 forks source link

Parallelized "apply uncertainties" in the CompositeSourceModel #9687

Closed micheles closed 1 month ago

micheles commented 1 month ago

This is crucial in the New Zealand model, where "apply uncertainties" takes more 1 hour. Now it takes 9 minutes, which is better than nothing (it should take 30 seconds, but the unpickling of the returned source models is tough to avoid). The magic is all about the newly introduced shared memory feature. This PR is experimental and might go in the next release.