ASOFI3D uses int types everywhere, which does not allow seismogram files larger than 4(?) GB.
This occurs, at least I believe so, because on Intel Xeon machines ints are 32-bit, hence upper bound for int is 2 billion.
Possible solutions:
- Switch to using 64-bit integers using
stdint.h header and type int64_t.
How to reproduce:
- Prepare a config that induces very large seismograms: long time and large number of receivers
- Simulate
- Observe that the simulation crashes at some point.