MOSFiT icon indicating copy to clipboard operation
MOSFiT copied to clipboard

mosfit killed by OOM when doing final output and writes nothing to disk

Open himisawww opened this issue 1 year ago • 1 comments

2023-08-24 074728

I guess it is trying to allocate massive memory (O(iterations*walkers)?) when doing output.

This should be avoided.

Also, it says 'All walkers written' but nothing is on disk. (files are all 0 bytes!)

himisawww avatar Aug 24 '23 00:08 himisawww

There are two things you can do to try to avoid this:

  1. Use the -M flag (see docs)
  2. Use the dynesty sampler, rather than emcee (provides well sampled posteriors without the need to store the chain)

mnicholl avatar Aug 24 '23 08:08 mnicholl