Skip to content

More work towards 32 bit distance matrices#11463

Merged
micheles merged 14 commits into
masterfrom
32bit
May 18, 2026
Merged

More work towards 32 bit distance matrices#11463
micheles merged 14 commits into
masterfrom
32bit

Conversation

@micheles
Copy link
Copy Markdown
Contributor

@micheles micheles commented May 14, 2026

And logging a warning when the spatial correlation matrices are degenerate. Unfortunely, the memory occupation is the same, but we are a bit faster. Here an example for JPNconditioned:

# before
| calc_7616, maxmem=5.8 GB     | time_sec | memory_mb | counts |
|------------------------------+----------+-----------+--------|
| total ebr_from_gmfs          | 340.5    | 495.8     | 8      |
| EventBasedRiskCalculator.run | 341.4    | 742.5     | 1      |
| computing risk               | 239.2    | 0.0       | 1_632  |
| total conditioned            | 221.4    | 125.3086  | 1      |
| computing cov_Y_Y            | 181.1    | 2_125     | 4      |
# after
| calc_7615, maxmem=5.8 GB     | time_sec | memory_mb | counts |
|------------------------------+----------+-----------+--------|
| total ebr_from_gmfs          | 334.2    | 501.0     | 8      |
| EventBasedRiskCalculator.run | 329.7    | 662.2     | 1      |
| computing risk               | 234.8    | 0.0       | 1_632  |
| total conditioned            | 213.1    | 69.9609   | 1      |
| computing cov_Y_Y            | 174.2385 | 2_125     | 4      |

@micheles micheles added this to the Engine 3.26.0 milestone May 14, 2026
@micheles micheles merged commit 555afbe into master May 18, 2026
4 checks passed
@micheles micheles deleted the 32bit branch May 18, 2026 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant