seismology / mc_kernel

Calculate seismic sensitivity kernels using Axisem
GNU General Public License v3.0
24 stars 8 forks source link

Better control on memory consumption #33

Closed sstaehler closed 9 years ago

sstaehler commented 9 years ago

@auerl and @sstaehler reported that usage on HPC machines is difficult due to the limited memory per node (~1GB) on many systems. It would be necessary to find the main memory users and give the user better control over it.

Was already mentioned in #32. b88be9b reduced memory consumption drastically by not keeping the whole mesh in memory, but there are still issues.

Idea: Let the user set a maximum amount of available memory in the inparam file and calculate buffer sizes from that.

sstaehler commented 9 years ago

My impression is that the number of receivers/kernels does not affect memory consumption much.

For a test with a 20s mesh, the memory consumption was: 1 receiver, 20 kernels: 321 MB 30 receivers, 600 kernels: 337 MB

This might be different for higher frequencies, but the buffer size should have a stronger effect.

sstaehler commented 9 years ago

I guess that this is more or less fixed with d27977f3c954e65e9f1ff79ccc88dbd596ab2eca, see #36