MOSFiT
MOSFiT copied to clipboard
mosfit killed by OOM when doing final output and writes nothing to disk
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!)
There are two things you can do to try to avoid this:
- Use the -M flag (see docs)
- Use the dynesty sampler, rather than emcee (provides well sampled posteriors without the need to store the chain)