Skip to content

Parallel posterior sampler

There are a number of users that are unable to use ps-tools, but can use parallel computing toolbox. This pull allows running posterior_sampler in parallel. This is trivial since a recent change removed the persisten variables from priodens:

  • Modified posterior_sampler_core.m this file allows running in parallel if a pool is found open. It does not open one by default. The file allows running both in serial or ps-tools and in parallel. It supports the same options as before.
  • Added +dynutil/multiWaitbar.m A waitbar to support the above. The current waitbar uses globals which are rather problematic when working with PCT. This makes it easier.
  • Added tests/estimation/pct A few tests to check that the values in parallel match the serial counterparts.

Locally estimation tests pass except for those that involve a .mat file which can't be read.

Merge request reports

Loading